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

Just the middle - 11360 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 9
  • Position: #3367 / 4164
  • Number of attempts: 2
comments galore - 1001 entries

Basic comment reformatting

  • Best score: 10
  • Best player score: 10
  • Position: #27 / 419
  • Number of attempts: 2
Angular naming conventions - 302 entries

In angular, a directive name follows the camelCase convention. When the directive is used in an HTML template, the words are instead separated by a dash. Go from to the other the fastest!

  • Best score: 18
  • Best player score: 20
  • Position: #67 / 115
  • Number of attempts: 1
Replace and keep the case - 414 entries

Replace all instance of plugin and Plugin to device and Device.

  • Best score: 26
  • Best player score: 30
  • Position: #78 / 116
  • Number of attempts: 1
The name of the game - 650 entries

End up with the name of the game.

  • Best score: 11
  • Best player score: 11
  • Position: #39 / 356
  • Number of attempts: 2
Saving the hashes(#) - 1992 entries

The following file is copied from vimcasts.org(Its only for learning purpose,hope the site owner doesn't mind it), its probably the easiest of challenges.Our goal is to delete every line which doesn't contain a hash signs. The remaining hash signs with numbers are then sorted to get the final output.

  • Best score: 20
  • Best player score: 27
  • Position: #222 / 473
  • Number of attempts: 6
Thomas Lovén
Twitter:

entered into 6 challenges

contributed 0 challenges