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

Prime Numbers - 376 entries

List the first 100 prime numbers.

  • Best score: 34
  • Best player score: 112
  • Position: #84 / 106
  • Number of attempts: 2
Cartesian product - 259 entries

{1,2,3,4,5} X {1,2,3,4,5}

  • Best score: 24
  • Best player score: 38
  • Position: #75 / 97
  • Number of attempts: 2
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: #202 / 667
  • Number of attempts: 1
Whitespace, empty lines and tabs - 3744 entries

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

  • Best score: 16
  • Best player score: 27
  • Position: #450 / 804
  • Number of attempts: 2
Flodder-challenge - 1326 entries

Replace the text the most efficient and win!

  • Best score: 27
  • Best player score: 36
  • Position: #169 / 346
  • Number of attempts: 2
Simple text editing with Vim - 12994 entries

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

  • Best score: 13
  • Best player score: 13
  • Position: #11 / 3738
  • Number of attempts: 10
Reformat/Refactor a Golfer Class - 7157 entries

A simple case of removing unneeded code and fixing broken indentation.

  • Best score: 28
  • Best player score: 33
  • Position: #190 / 1755
  • Number of attempts: 12
Black Wolf
Twitter:

entered into 7 challenges

contributed 0 challenges