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

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

  • Best score: 12
  • Best player score: 14
  • Position: #858 / 1550
  • Number of attempts: 4
Reformat a C golf submission - 536 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: 35
  • Position: #128 / 195
  • Number of attempts: 2
Reformat most common surnames - 593 entries

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

  • Best score: 23
  • Best player score: 30
  • Position: #105 / 187
  • Number of attempts: 4
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: #42 / 207
  • Number of attempts: 2
Change the content of a string - 1354 entries

This docstring is a complete lie. Fix it.

  • Best score: 22
  • Best player score: 24
  • Position: #280 / 522
  • Number of attempts: 1
Reconstruct the Sentence - 1160 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: 24
  • Position: #249 / 348
  • Number of attempts: 2
Simple text editing with Vim - 11657 entries

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

  • Best score: 13
  • Best player score: 18
  • Position: #2369 / 3418
  • Number of attempts: 2
Reformat/Refactor a Golfer Class - 6033 entries

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

  • Best score: 32
  • Best player score: 53
  • Position: #1301 / 1486
  • Number of attempts: 1
Cristi Balan
Twitter:

entered into 8 challenges

contributed 0 challenges