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

Inverting Lines - 1900 entries

A simple challenge to invert all lines, except the first.

  • Best score: 10
  • Best player score: 10
  • Position: #184 / 511
  • Number of attempts: 1
Make HTML List - 1061 entries

Turn the comma separated list into an unordered html list.

  • Best score: 33
  • Best player score: 49
  • Position: #195 / 274
  • Number of attempts: 3
Collect List - 4305 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 17
  • Position: #1012 / 1191
  • Number of attempts: 3
Word frequency alignment - 291 entries

You've got to align the second column, but the spacing is inconvenient and there are nasty tabs in the way. If you're a "real Vim ninja," this could be very quick indeed...

  • Best score: 5
  • Best player score: 5
  • Position: #117 / 161
  • Number of attempts: 2
Vertical Limit - 2551 entries

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

  • Best score: 21
  • Best player score: 29
  • Position: #651 / 756
  • Number of attempts: 3
A Simple One - 1057 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: #561 / 667
  • Number of attempts: 1
The Cake is a Lie - 1361 entries

Correct the capitalization of each word

  • Best score: 9
  • Best player score: 11
  • Position: #462 / 531
  • Number of attempts: 4
Make Fancy Header - 1059 entries

Make the header text stand out with surrounding asterisks

  • Best score: 15
  • Best player score: 26
  • Position: #314 / 345
  • Number of attempts: 4
Sort and add attributes - 1476 entries

Sort the states and add the attribute country to each record.

  • Best score: 33
  • Best player score: 39
  • Position: #520 / 574
  • Number of attempts: 1
Simple text editing with Vim - 12971 entries

Make the pairs of lines match up by making each second line same as first

  • Best score: 13
  • Best player score: 14
  • Position: #1951 / 3733
  • Number of attempts: 4
VimGolf878
Twitter:

entered into 10 challenges

contributed 0 challenges