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

Words in parens - 13005 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 21
  • Position: #3412 / 3979
  • Number of attempts: 1
Whitespace, empty lines and tabs - 3949 entries

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

  • Best score: 16
  • Best player score: 42
  • Position: #782 / 841
  • Number of attempts: 1
Simple text editing with Vim - 13419 entries

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

  • Best score: 13
  • Best player score: 26
  • Position: #3308 / 3846
  • Number of attempts: 2
Reformat/Refactor a Golfer Class - 7506 entries

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

  • Best score: 7
  • Best player score: 59
  • Position: #1649 / 1846
  • Number of attempts: 1
Fred
Twitter:

Husband.Father.CTO.Ruby.Rails

entered into 4 challenges

contributed 0 challenges