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

Make HTML List - 987 entries

Turn the comma separated list into an unordered html list.

  • Best score: 33
  • Best player score: 48
  • Position: #162 / 261
  • Number of attempts: 2
For all cases. - 127 entries

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

  • Best score: 8
  • Best player score: 8
  • Position: #56 / 91
  • Number of attempts: 2
Paragraph breaks - 483 entries

Swap the blank lines and the aaa lines.

  • Best score: 10
  • Best player score: 10
  • Position: #33 / 160
  • Number of attempts: 4
camel riding - 745 entries

add a prefix on some camelCase variables

  • Best score: 15
  • Best player score: 25
  • Position: #258 / 267
  • Number of attempts: 3
The name of the game - 629 entries

End up with the name of the game.

  • Best score: 11
  • Best player score: 11
  • Position: #229 / 344
  • Number of attempts: 1
Vertical Limit - 2377 entries

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

  • Best score: 21
  • Best player score: 25
  • Position: #367 / 719
  • Number of attempts: 7
A Simple One - 934 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
  • Position: #469 / 617
  • Number of attempts: 2
Whitespace, empty lines and tabs - 3009 entries

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

  • Best score: 16
  • Best player score: 22
  • Position: #264 / 667
  • Number of attempts: 7
Vytautas Jakutis
Twitter:

entered into 8 challenges

contributed 0 challenges