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: 17
  • Position: #1253 / 1631
  • Number of attempts: 1
Reverse characters in a line - 778 entries

You have everything you need, just not in the right order. Mastermind would give you 26 white pegs.

  • Best score: 12
  • Best player score: 21
  • Position: #212 / 268
  • Number of attempts: 1
Reformat most common surnames - 755 entries

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

  • Best score: 23
  • Best player score: 34
  • Position: #144 / 217
  • Number of attempts: 1
Get rid of html tags - 415 entries

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

  • Best score: 12
  • Best player score: 19
  • Position: #146 / 239
  • Number of attempts: 1
Deleting folded text - 386 entries

The text below contains three folds. Delete them (and the text inside them). For example: 123 456 /*{{{*/ 789 /*}}}*/ 012 Should become: 123 012 Also, add `aoeuaoeu` to make sure small solutions don't get flagged as cheating.

  • Best score: 17
  • Best player score: 23
  • Position: #91 / 121
  • Number of attempts: 2
Whitespace, empty lines and tabs - 3793 entries

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

  • Best score: 16
  • Best player score: 32
  • Position: #587 / 814
  • Number of attempts: 1
Christopher Suter
Twitter:

entered into 6 challenges

contributed 0 challenges