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

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

  • Best score: 12
  • Best player score: 14
  • Position: #861 / 1588
  • Number of attempts: 3
attr_aligner - 3444 entries

Two attr keywords. Two separate indentations. Align the colons.

  • Best score: 19
  • Best player score: 32
  • Position: #452 / 692
  • Number of attempts: 1
Words in parens - 12861 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 17
  • Position: #2551 / 3947
  • Number of attempts: 3
Simple text editing with Vim - 12330 entries

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

  • Best score: 13
  • Best player score: 14
  • Position: #711 / 3592
  • Number of attempts: 6
Reformat/Refactor a Golfer Class - 6616 entries

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

  • Best score: 32
  • Best player score: 36
  • Position: #391 / 1627
  • Number of attempts: 2
Kerry Buckley
Twitter:

Software geek

entered into 5 challenges

contributed 0 challenges