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

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

  • Best score: 12
  • Best player score: 12
  • Position: #157 / 1541
  • Number of attempts: 4
Hatsuyume - 413 entries

http://en.wikipedia.org/wiki/Hatsuyume

  • Best score: 16
  • Best player score: 26
  • Position: #79 / 166
  • Number of attempts: 3
Context insensitive completion 0 - 468 entries

Buried in the lines you're not supposed to add is the line "Add this line!" Add that line to the top of the file.

  • Best score: 7
  • Best player score: 7
  • Position: #64 / 221
  • Number of attempts: 5
Reformat a C golf submission - 522 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: 25
  • Position: #7 / 193
  • Number of attempts: 14
Reformat most common surnames - 586 entries

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

  • Best score: 23
  • Best player score: 26
  • Position: #61 / 186
  • Number of attempts: 10
Get rid of html tags - 341 entries

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

  • Best score: 15
  • Best player score: 17
  • Position: #59 / 207
  • Number of attempts: 1
Change the content of a string - 1350 entries

This docstring is a complete lie. Fix it.

  • Best score: 22
  • Best player score: 23
  • Position: #225 / 521
  • Number of attempts: 5
Reconstruct the Sentence - 1151 entries

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

  • Best score: 20
  • Best player score: 21
  • Position: #158 / 347
  • Number of attempts: 4
Braces or Brackets? - 710 entries

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

  • Best score: 34
  • Best player score: 39
  • Position: #59 / 253
  • Number of attempts: 4
Whitespace, empty lines and tabs - 2979 entries

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

  • Best score: 16
  • Best player score: 22
  • Position: #232 / 663
  • Number of attempts: 6
Flodder-challenge - 901 entries

Replace the text the most efficient and win!

  • Best score: 27
  • Best player score: 36
  • Position: #139 / 270
  • Number of attempts: 4
Simple text editing with Vim - 11624 entries

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

  • Best score: 13
  • Best player score: 13
  • Position: #69 / 3410
  • Number of attempts: 6
drupalovereasy
Twitter:

entered into 12 challenges

contributed 0 challenges