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

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

  • Best score: 7
  • Best player score: 12
  • Position: #355 / 1680
  • Number of attempts: 3
That hyphen - 2650 entries

"vim vi improved"

  • Best score: 9
  • Best player score: 12
  • Position: #395 / 713
  • Number of attempts: 3
Refactor static member invocation - 235 entries

Someone used a static method. Refactor the method into a static import while fixing the assertion.

  • Best score: 28
  • Best player score: 29
  • Position: #20 / 68
  • Number of attempts: 5
Reformat/Refactor a Golfer Class - 7737 entries

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

  • Best score: 7
  • Best player score: 33
  • Position: #266 / 1901
  • Number of attempts: 3
Sergei Zhgirovski
Twitter:

entered into 4 challenges

contributed 0 challenges