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 - 385 entries

List the first 100 prime numbers.

  • Best score: 34
  • Best player score: 112
  • Position: #85 / 107
  • Number of attempts: 2
Cartesian product - 266 entries

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

  • Best score: 24
  • Best player score: 38
  • Position: #77 / 99
  • Number of attempts: 2
A Simple One - 1067 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 / 671
  • Number of attempts: 1
Whitespace, empty lines and tabs - 3864 entries

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

  • Best score: 16
  • Best player score: 27
  • Position: #463 / 830
  • Number of attempts: 2
Flodder-challenge - 1407 entries

Replace the text the most efficient and win!

  • Best score: 27
  • Best player score: 36
  • Position: #176 / 359
  • Number of attempts: 2
Simple text editing with Vim - 13273 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 / 3811
  • Number of attempts: 10
Reformat/Refactor a Golfer Class - 7415 entries

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

  • Best score: 7
  • Best player score: 33
  • Position: #196 / 1825
  • Number of attempts: 12
Black Wolf
Twitter:

entered into 7 challenges

contributed 0 challenges