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

imports alignment (python) - 721 entries

Align as one import per line.

  • Best score: 17
  • Best player score: 20
  • Position: #85 / 202
  • Number of attempts: 2
Whitespace, empty lines and tabs - 4044 entries

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

  • Best score: 16
  • Best player score: 21
  • Position: #249 / 862
  • Number of attempts: 4
Simple text editing with Vim - 13626 entries

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

  • Best score: 13
  • Best player score: 14
  • Position: #958 / 3902
  • Number of attempts: 3
Reformat/Refactor a Golfer Class - 7681 entries

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

  • Best score: 7
  • Best player score: 37
  • Position: #544 / 1889
  • Number of attempts: 2
sol
Twitter:

entered into 4 challenges

contributed 0 challenges