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

Wrap the text of an email message to 79 characters - 822 entries

You're replying to an email with silly long lines. Clean them up.

  • Best score: 5
  • Best player score: 5
  • Position: #137 / 429
  • Number of attempts: 1
SFD-ROC: The Quick Brown Fox - 200 entries

Someone has vandalized our text (again). Please fix to read: The Quick Brown Fox Jumps Over The Lazy Dog.

  • Best score: 24
  • Best player score: 28
  • Position: #59 / 107
  • Number of attempts: 1
Stairs Indenting - 479 entries

Indent each line with <line number> whitespaces.

  • Best score: 12
  • Best player score: 14
  • Position: #73 / 199
  • Number of attempts: 2
Vertical Limit - 2574 entries

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

  • Best score: 21
  • Best player score: 27
  • Position: #520 / 761
  • Number of attempts: 2
Remember FizzBuzz? - 745 entries

Output FizzBuzz to 100. Start with nothing.

  • Best score: 39
  • Best player score: 62
  • Position: #126 / 195
  • Number of attempts: 6
Sort and add attributes - 1507 entries

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

  • Best score: 33
  • Best player score: 33
  • Position: #123 / 584
  • Number of attempts: 3
Add fold markers to a .c file - 664 entries

Fold markers can make it easier to navigate source code. Add them to this .c file.

  • Best score: 30
  • Best player score: 36
  • Position: #112 / 191
  • Number of attempts: 3
Reconstruct the Sentence - 1651 entries

Get the sentence back in the proper order, remove duplicate lines, and then combine the separate lines into one.

  • Best score: 19
  • Best player score: 20
  • Position: #66 / 435
  • Number of attempts: 5
Braces or Brackets? - 1074 entries

Someone forgot whether to use braces or brackets and you have to clean up their code!

  • Best score: 34
  • Best player score: 47
  • Position: #188 / 332
  • Number of attempts: 4
Whitespace, empty lines and tabs - 3795 entries

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

  • Best score: 16
  • Best player score: 26
  • Position: #429 / 816
  • Number of attempts: 3
Flodder-challenge - 1369 entries

Replace the text the most efficient and win!

  • Best score: 27
  • Best player score: 34
  • Position: #133 / 352
  • Number of attempts: 4
Simple text editing with Vim - 13134 entries

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

  • Best score: 13
  • Best player score: 14
  • Position: #1019 / 3776
  • Number of attempts: 8
Reformat/Refactor a Golfer Class - 7252 entries

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

  • Best score: 10
  • Best player score: 36
  • Position: #442 / 1790
  • Number of attempts: 9
Mikko Loponen
Twitter:

entered into 13 challenges

contributed 0 challenges