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

Reformat most common surnames - 757 entries

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

  • Best score: 23
  • Best player score: 29
  • Position: #109 / 219
  • 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: #148 / 239
  • Number of attempts: 1
Change the content of a string - 1656 entries

This docstring is a complete lie. Fix it.

  • Best score: 22
  • Best player score: 24
  • Position: #340 / 611
  • 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: 33
  • Position: #116 / 121
  • 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: 28
  • Position: #481 / 816
  • Number of attempts: 1
Simple text editing with Vim - 13134 entries

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

  • Best score: 13
  • Best player score: 17
  • Position: #2363 / 3776
  • Number of attempts: 1
Reformat/Refactor a Golfer Class - 7252 entries

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

  • Best score: 10
  • Best player score: 38
  • Position: #600 / 1790
  • Number of attempts: 1
Samus_ Michael
Twitter:

entered into 7 challenges

contributed 0 challenges