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

Remove line numbers - 404 entries

From http://web.archive.org/web/20140831121704/http://dirac.org/linux/gdb/02a-Memory_Layout_And_The_Stack.php#investigatingthestackwithgdb.

  • Best score: 12
  • Best player score: 35
  • Position: #92 / 114
  • Number of attempts: 1
Easier Align - 257 entries

Align the columns of a markdown table

  • Best score: 57
  • Best player score: 239
  • Position: #51 / 81
  • Number of attempts: 1
Paste a column after a column - 2102 entries

This task is very common while using multi-cursor. What is the elegant vim way ?

  • Best score: 14
  • Best player score: 14
  • Position: #13 / 450
  • Number of attempts: 7
HS exam question - 1411 entries

Convert the data to a python dictionary

  • Best score: 47
  • Best player score: 77
  • Position: #226 / 381
  • Number of attempts: 2
Many duplicates - 1188 entries

Quick and easy

  • Best score: 7
  • Best player score: 8
  • Position: #205 / 386
  • Number of attempts: 3
Modernise code - 1308 entries

Modernise and clean up some C++ code.

  • Best score: 34
  • Best player score: 49
  • Position: #210 / 302
  • Number of attempts: 2
Replace pattern with 1, 2, 3, ... on each line - 1083 entries

For each line replace a search pattern (in this case $) with numbers starting at 1 and then increasing by 1 for each replaced match. a$b$c$ -> a0b1c2

  • Best score: 21
  • Best player score: 21
  • Position: #44 / 221
  • Number of attempts: 5
d44d3w
Twitter:

entered into 7 challenges

contributed 0 challenges