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

Flodder-challenge - 804 entries

Replace the text the most efficient and win!

  • Best score: 27
  • Best player score: 42
  • Number of attempts: 3
Reformat/Refactor a Golfer Class - 5420 entries

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

  • Best score: 32
  • Best player score: 56
  • Number of attempts: 1
Reformat most common surnames - 520 entries

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

  • Best score: 23
  • Best player score: 37
  • Number of attempts: 1
Change the content of a string - 1210 entries

This docstring is a complete lie. Fix it.

  • Best score: 22
  • Best player score: 30
  • Number of attempts: 1
Wrap the text of an email message to 79 characters - 481 entries

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

  • Best score: 5
  • Best player score: 8
  • Number of attempts: 1
Simple text editing with Vim - 10206 entries

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

  • Best score: 13
  • Best player score: 28
  • Number of attempts: 1
Reformat a C golf submission - 468 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: 23
  • Best player score: 51
  • Number of attempts: 1
Search and Replace 0 - 3963 entries

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

  • Best score: 12
  • Best player score: 12
  • Number of attempts: 1
Get rid of html tags - 311 entries

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

  • Best score: 15
  • Best player score: 18
  • Number of attempts: 2
Phil
Twitter:

entered into 9 challenges

contributed 0 challenges