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

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

  • Best score: 12
  • Best player score: 14
  • Position: #909 / 1627
  • Number of attempts: 4
Reformat a C golf submission - 604 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: #138 / 208
  • Number of attempts: 2
Reformat most common surnames - 740 entries

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

  • Best score: 23
  • Best player score: 30
  • Position: #122 / 214
  • Number of attempts: 4
Get rid of html tags - 405 entries

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

  • Best score: 12
  • Best player score: 17
  • Position: #55 / 234
  • Number of attempts: 2
Change the content of a string - 1588 entries

This docstring is a complete lie. Fix it.

  • Best score: 22
  • Best player score: 24
  • Position: #329 / 592
  • Number of attempts: 1
Reconstruct the Sentence - 1530 entries

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

  • Best score: 19
  • Best player score: 24
  • Position: #295 / 417
  • Number of attempts: 2
Simple text editing with Vim - 12856 entries

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

  • Best score: 13
  • Best player score: 18
  • Position: #2558 / 3707
  • Number of attempts: 2
Reformat/Refactor a Golfer Class - 7023 entries

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

  • Best score: 28
  • Best player score: 53
  • Position: #1458 / 1720
  • Number of attempts: 1
Cristi Balan
Twitter:

entered into 8 challenges

contributed 0 challenges