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

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

  • Best score: 5
  • Best player score: 8
  • Position: #394 / 437
  • Number of attempts: 1
Search and Replace 0 - 5031 entries

Replace every instance of 'aaa' with 'xaaax'.

  • Best score: 12
  • Best player score: 12
  • Position: #1 / 1638
  • Number of attempts: 1
Reformat a C golf submission - 614 entries

Take this C golf submission (for the "tiny but standards-compliant Hello World program" category, naturally), and turn it into formatted C code.

  • Best score: 22
  • Best player score: 51
  • Position: #204 / 210
  • Number of attempts: 1
Reformat most common surnames - 782 entries

Reformat copy-pasted table into a list of the most common surnames

  • Best score: 23
  • Best player score: 37
  • Position: #158 / 227
  • Number of attempts: 1
Get rid of html tags - 427 entries

Want to read more about Vim's background? Then get rid of those html tags...

  • Best score: 12
  • Best player score: 18
  • Position: #147 / 247
  • Number of attempts: 2
Change the content of a string - 1711 entries

This docstring is a complete lie. Fix it.

  • Best score: 22
  • Best player score: 30
  • Position: #564 / 629
  • Number of attempts: 1
Flodder-challenge - 1416 entries

Replace the text the most efficient and win!

  • Best score: 27
  • Best player score: 42
  • Position: #270 / 360
  • Number of attempts: 3
Simple text editing with Vim - 13274 entries

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

  • Best score: 13
  • Best player score: 28
  • Position: #3374 / 3811
  • Number of attempts: 1
Reformat/Refactor a Golfer Class - 7415 entries

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

  • Best score: 7
  • Best player score: 56
  • Position: #1578 / 1825
  • Number of attempts: 1
Phil
Twitter:

entered into 9 challenges

contributed 0 challenges