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

Braces or Brackets? - 1138 entries

Someone forgot whether to use braces or brackets and you have to clean up their code!

  • Best score: 34
  • Best player score: 56
  • Position: #304 / 348
  • Number of attempts: 6
Whitespace, empty lines and tabs - 3927 entries

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

  • Best score: 16
  • Best player score: 84
  • Position: #828 / 838
  • Number of attempts: 1
Simple text editing with Vim - 13371 entries

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

  • Best score: 13
  • Best player score: 40
  • Position: #3667 / 3835
  • Number of attempts: 2
Reformat/Refactor a Golfer Class - 7480 entries

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

  • Best score: 7
  • Best player score: 56
  • Position: #1607 / 1841
  • Number of attempts: 2
Elizabeth
Github:

entered into 4 challenges

contributed 0 challenges