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

Replace word while reserving first letter case - 370 entries

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

  • Best score: 24
  • Best player score: 24
  • Position: #10 / 85
  • Number of attempts: 9
months to html list items - 551 entries

Turn the months into list items.

  • Best score: 22
  • Best player score: 24
  • Position: #48 / 154
  • Number of attempts: 4
Quicksort - 1558 entries

We need the numbers in the first row sorted as quickly as possible! Be careful not to disturb the data below the divider though: that must remain unchanged.

  • Best score: 6
  • Best player score: 6
  • Position: #96 / 343
  • Number of attempts: 8
Remove line numbers - 540 entries

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

  • Best score: 8
  • Best player score: 31
  • Position: #108 / 144
  • Number of attempts: 4
Find fix point of cos - 1125 entries

Write a function to find the fix point of cos. It is not a good code; It is just to use vim. Inspired by the excellent https://mvanier.livejournal.com/2897.html about the Y combinator.

  • Best score: 14
  • Best player score: 15
  • Position: #198 / 337
  • Number of attempts: 2
Easier Align - 344 entries

Align the columns of a markdown table

  • Best score: 51
  • Best player score: 62
  • Position: #16 / 89
  • Number of attempts: 24
Páll Pálsson
Twitter:

entered into 6 challenges

contributed 0 challenges