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

List the first 100 prime numbers.

  • Best score: 34
  • Best player score: 112
  • Position: #86 / 108
  • Number of attempts: 2
Cartesian product - 274 entries

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

  • Best score: 24
  • Best player score: 38
  • Position: #78 / 101
  • Number of attempts: 2
A Simple One - 1079 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 / 677
  • Number of attempts: 1
Whitespace, empty lines and tabs - 4025 entries

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

  • Best score: 16
  • Best player score: 27
  • Position: #482 / 857
  • Number of attempts: 2
Flodder-challenge - 1490 entries

Replace the text the most efficient and win!

  • Best score: 27
  • Best player score: 36
  • Position: #186 / 377
  • Number of attempts: 2
Simple text editing with Vim - 13576 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 / 3892
  • Number of attempts: 10
Reformat/Refactor a Golfer Class - 7649 entries

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

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

entered into 7 challenges

contributed 0 challenges