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

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

  • Best score: 5
  • Best player score: 8
  • Position: #409 / 452
  • Number of attempts: 1
Search and Replace 0 - 5161 entries

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

  • Best score: 12
  • Best player score: 12
  • Position: #1 / 1675
  • Number of attempts: 1
Reformat a C golf submission - 681 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: #215 / 222
  • Number of attempts: 1
Reformat most common surnames - 837 entries

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

  • Best score: 23
  • Best player score: 37
  • Position: #169 / 239
  • Number of attempts: 1
Get rid of html tags - 465 entries

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

  • Best score: 12
  • Best player score: 18
  • Position: #160 / 262
  • Number of attempts: 2
Change the content of a string - 1802 entries

This docstring is a complete lie. Fix it.

  • Best score: 22
  • Best player score: 30
  • Position: #585 / 656
  • Number of attempts: 1
Flodder-challenge - 1501 entries

Replace the text the most efficient and win!

  • Best score: 27
  • Best player score: 42
  • Position: #286 / 379
  • Number of attempts: 3
Simple text editing with Vim - 13644 entries

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

  • Best score: 13
  • Best player score: 28
  • Position: #3450 / 3906
  • Number of attempts: 1
Reformat/Refactor a Golfer Class - 7694 entries

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

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

entered into 9 challenges

contributed 0 challenges