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

Rural Post - 4379 entries

Simple challenge to remove all but the post code on each line

  • Best score: 9
  • Best player score: 14
  • Position: #674 / 1074
  • Number of attempts: 5
prepend * to every non-blank line - 6223 entries

Prepend an asterisk to every non-blank line in the input file.

  • Best score: 10
  • Best player score: 11
  • Position: #652 / 1519
  • Number of attempts: 3
Add semicolons - 10795 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 12
  • Position: #1908 / 3045
  • Number of attempts: 1
Reformat/Refactor a Golfer Class - 6603 entries

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

  • Best score: 32
  • Best player score: 119
  • Position: #1609 / 1621
  • Number of attempts: 1
Zigmas Bitinas
Twitter:

I code sometimes

entered into 4 challenges

contributed 0 challenges