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

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 9
  • Position: #3310 / 4093
  • Number of attempts: 2
comments galore - 962 entries

Basic comment reformatting

  • Best score: 10
  • Best player score: 10
  • Position: #27 / 407
  • Number of attempts: 2
Angular naming conventions - 279 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: #62 / 108
  • Number of attempts: 1
Replace and keep the case - 390 entries

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

  • Best score: 26
  • Best player score: 30
  • Position: #73 / 109
  • Number of attempts: 1
The name of the game - 614 entries

End up with the name of the game.

  • Best score: 11
  • Best player score: 11
  • Position: #39 / 334
  • Number of attempts: 2
Saving the hashes(#) - 1937 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: #216 / 462
  • Number of attempts: 6
Thomas Lovén
Twitter:

entered into 6 challenges

contributed 0 challenges