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

Search and Replace 0 - 5007 entries

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

  • Best score: 12
  • Best player score: 26
  • Position: #1587 / 1631
  • Number of attempts: 1
Reformat some Python - 627 entries

Fix some very bizarrely laid-out code.

  • Best score: 34
  • Best player score: 63
  • Position: #213 / 240
  • 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: 41
  • Position: #178 / 210
  • Number of attempts: 2
Sort and add attributes - 1505 entries

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

  • Best score: 33
  • Best player score: 42
  • Position: #555 / 583
  • Number of attempts: 1
Whitespace, empty lines and tabs - 3795 entries

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

  • Best score: 16
  • Best player score: 46
  • Position: #776 / 816
  • Number of attempts: 1
Flodder-challenge - 1369 entries

Replace the text the most efficient and win!

  • Best score: 27
  • Best player score: 151
  • Position: #350 / 352
  • Number of attempts: 1
Simple text editing with Vim - 13130 entries

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

  • Best score: 13
  • Best player score: 34
  • Position: #3532 / 3776
  • Number of attempts: 4
Michael Lustfield
Twitter:

I'm insane. I'm an Ubuntu Member and lead of the SD LoCo. I'm a heavy FOSS developer and Enthusiast.

entered into 7 challenges

contributed 0 challenges