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

Filename Flip - 197 entries

Rearrange the MP3 filenames so that the identifier comes before the name.

  • Best score: 15
  • Best player score: 20
  • Position: #40 / 71
  • Number of attempts: 3
Filling braces - 481 entries

Inspired by a question on CoDidact (https://software.codidact.com/posts/296501), I wondered if Vim could offer a satisfactory ‘solution’ to this problem.

  • Best score: 21
  • Best player score: 31
  • Position: #104 / 157
  • Number of attempts: 1
From brakets to parens - 1356 entries

This is one of the most common problem when you wrap an array for error handling. Vim is useful when you convert foo[i][j][k] into foo(i, j, k) for many times.

  • Best score: 24
  • Best player score: 25
  • Position: #70 / 309
  • Number of attempts: 9
Reorganize Pokémon - 902 entries

Change the format of the each line and sort alphabetically.

  • Best score: 18
  • Best player score: 23
  • Position: #170 / 251
  • Number of attempts: 2
Word completion - 329 entries

Try to complete these options within 20 keystrokes.

  • Best score: 20
  • Best player score: 122
  • Position: #67 / 87
  • Number of attempts: 2
months to html list items - 1161 entries

Turn the months into list items.

  • Best score: 22
  • Best player score: 27
  • Position: #192 / 314
  • Number of attempts: 1
V to the i - 4890 entries

Input is 99 V's. Output is 100 i's.

  • Best score: 7
  • Best player score: 7
  • Position: #811 / 1917
  • Number of attempts: 4
Add semicolons - 10966 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 10
  • Position: #781 / 3100
  • Number of attempts: 5
Join 'em - 261 entries

This shouldn't be too tough

  • Best score: 4
  • Best player score: 4
  • Position: #32 / 159
  • Number of attempts: 2
Where should I put the Newline? - 916 entries

Help me put the newline.

  • Best score: 7
  • Best player score: 7
  • Position: #229 / 453
  • Number of attempts: 3
The name of the game - 707 entries

End up with the name of the game.

  • Best score: 11
  • Best player score: 11
  • Position: #292 / 374
  • Number of attempts: 2
SFD-ROC: Pipe Dreams - 146 entries

Move the pipes so they match the output.

  • Best score: 12
  • Best player score: 14
  • Position: #20 / 51
  • Number of attempts: 7
The Cake is a Lie - 1422 entries

Correct the capitalization of each word

  • Best score: 8
  • Best player score: 11
  • Position: #479 / 546
  • Number of attempts: 2
hugotai0
Github:

entered into 13 challenges

contributed 0 challenges