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

For all cases. - 108 entries

In this case... change it! :) Watch the line.

  • Best score: 8
  • Best player score: 8
  • Number of attempts: 2
Paragraph breaks - 431 entries

Swap the blank lines and the aaa lines.

  • Best score: 10
  • Best player score: 10
  • Number of attempts: 4
A Simple One - 854 entries

Here is a very simple one - just to illustrate/introduce a vim feature that some people seem to miss...

  • Best score: 9
  • Best player score: 9
  • Number of attempts: 2
Whitespace, empty lines and tabs - 2728 entries

Convert tabs to spaces, strip empty lines and trailing whitespace.

  • Best score: 16
  • Best player score: 22
  • Number of attempts: 7
camel riding - 731 entries

add a prefix on some camelCase variables

  • Best score: 15
  • Best player score: 25
  • Number of attempts: 3
The name of the game - 596 entries

End up with the name of the game.

  • Best score: 11
  • Best player score: 11
  • Number of attempts: 1
Make HTML List - 923 entries

Turn the comma separated list into an unordered html list.

  • Best score: 33
  • Best player score: 48
  • Number of attempts: 2
Vertical Limit - 2243 entries

transform a succession of one word lines to a an array of strings

  • Best score: 21
  • Best player score: 25
  • Number of attempts: 7
Vytautas Jakutis
Twitter:

entered into 8 challenges

contributed 0 challenges