Real Vim ninjas count every keystroke - do you?

Pick a challenge, fire up Vim, and show us what you got.

Changelog, Rules & FAQ, updates: @vimgolf, RSS.

Your VimGolf key: please sign in

$ gem install vimgolf
$ vimgolf setup
$ vimgolf put [challenge ID]

Played Challenges

The Fibonacci Spacer - 52 entries

Split the words, remove punctuation and add spaces before each line following the Fibonacci sequence (0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89)

  • Best score: 25
  • Best player score: 73
  • Position: #16 / 19
  • Number of attempts: 1
Replace markdown sections with numbering - 144 entries

Replace each section and subsection with their respective numbers

  • Best score: 29
  • Best player score: 76
  • Position: #27 / 43
  • Number of attempts: 2
Fix the Scala Method - 106 entries

Fix the missing semicolons and the Int type, ensure the floating point division, and remove the unnecessary return.

  • Best score: 9
  • Best player score: 31
  • Position: #33 / 39
  • Number of attempts: 4
Change class fields from camel case to snake case - 277 entries

This is the reverse of the previous challenge: https://www.vimgolf.com/challenges/9v006705493c000000000513

  • Best score: 18
  • Best player score: 21
  • Position: #32 / 71
  • Number of attempts: 2
Change class fields from snake case to camel case - 150 entries

Change the class fields in this Scala class from snake case to camel case

  • Best score: 13
  • Best player score: 18
  • Position: #44 / 56
  • Number of attempts: 1
Reorganize Pokémon - 304 entries

Change the format of the each line and sort alphabetically.

  • Best score: 18
  • Best player score: 22
  • Position: #62 / 82
  • Number of attempts: 3
Fix timezone format - 225 entries

Add the missing T and Z in the datetime field. There should be a T instead of the space, and a Z at the end of the datetime. `2024-08-31 18:32:00;` -> `2024-08-31T18:32:00Z;`

  • Best score: 15
  • Best player score: 21
  • Position: #65 / 75
  • Number of attempts: 2
Copy punctuation - 488 entries

I want to copy the last line’s brackets, quotes, and commas to each line. How?

  • Best score: 19
  • Best player score: 35
  • Position: #60 / 122
  • Number of attempts: 5
Ivan Prikaznov
Github:

entered into 8 challenges

contributed 0 challenges