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

Copy punctuation - 502 entries

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

  • Best score: 19
  • Best player score: 30
  • Position: #32 / 126
  • Number of attempts: 2
Format a long line - 80 entries

Reformat long lines (gq), textwidth=78, no trailing spaces.

  • Best score: 17
  • Best player score: 30
  • Position: #17 / 26
  • Number of attempts: 1
Morse - 148 entries

Translate Morse code to Text

  • Best score: 31
  • Best player score: 196
  • Position: #31 / 33
  • Number of attempts: 1
New teacher - 1002 entries

Update the details of the new CS teacher.

  • Best score: 19
  • Best player score: 25
  • Position: #98 / 216
  • Number of attempts: 4
Replace word while reserving first letter case - 604 entries

Window -> Door window -> door Windows -> Windows windows -> windows

  • Best score: 24
  • Best player score: 34
  • Position: #63 / 118
  • Number of attempts: 4
Remove line numbers - 736 entries

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

  • Best score: 9
  • Best player score: 12
  • Position: #71 / 198
  • Number of attempts: 6
Paste a column after a column - 2540 entries

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

  • Best score: 14
  • Best player score: 19
  • Position: #288 / 554
  • Number of attempts: 2
Kristofers Solo
Github:

entered into 7 challenges

contributed 0 challenges