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

V to the i - 4860 entries

Input is 99 V's. Output is 100 i's.

  • Best score: 7
  • Best player score: 7
  • Position: #86 / 1910
  • Number of attempts: 3
Search and Replace 0 - 5115 entries

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

  • Best score: 12
  • Best player score: 12
  • Position: #200 / 1667
  • Number of attempts: 3
-a-b-c- - 3233 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 15
  • Position: #469 / 1143
  • Number of attempts: 2
Where should I put the Newline? - 897 entries

Help me put the newline.

  • Best score: 7
  • Best player score: 8
  • Position: #313 / 445
  • Number of attempts: 1
Change the content of a string - 1766 entries

This docstring is a complete lie. Fix it.

  • Best score: 22
  • Best player score: 22
  • Position: #101 / 648
  • Number of attempts: 3
Simple text editing with Vim - 13526 entries

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

  • Best score: 13
  • Best player score: 14
  • Position: #1082 / 3879
  • Number of attempts: 7
Reformat/Refactor a Golfer Class - 7614 entries

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

  • Best score: 7
  • Best player score: 45
  • Position: #1211 / 1876
  • Number of attempts: 3
Martin Keogh
Twitter:

entered into 7 challenges

contributed 0 challenges