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

Poorly indented Python comments - 1190 entries

Fix the alignment of some Python comments as quickly as possible.

  • Best score: 15
  • Best player score: 43
  • Position: #147 / 205
  • Number of attempts: 11
Put a newline after every 10 lines in vim - 1581 entries

Goal is to put a newline after every 10 lines in vim.

  • Best score: 10
  • Best player score: 10
  • Position: #30 / 527
  • Number of attempts: 5
hello-world-vimgolf - 2368 entries

Simple number generation

  • Best score: 10
  • Best player score: 10
  • Position: #247 / 671
  • Number of attempts: 9
swap number pairs - 2011 entries

Swap the numbers in a bunch of 2-element arrays.

  • Best score: 16
  • Best player score: 27
  • Position: #209 / 370
  • Number of attempts: 6
야호
Twitter:

entered into 4 challenges

contributed 0 challenges