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

Simple, Practical, and Common - 32758 entries

Simple things we do all the time should be able to be done with very few keystrokes, but sometimes I find something I need to do makes me go, "There MUST be a better way." This challenge is just a simple movement and entering text at a certain place.

  • Best score: 22
  • Best player score: 29
  • Position: #4456 / 7239
  • Number of attempts: 6
One number per line - 18278 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 36
  • Position: #3657 / 3768
  • Number of attempts: 2
Just the middle - 11080 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Position: #497 / 4091
  • Number of attempts: 7
Vice versa - 7434 entries

Little role switching.

  • Best score: 12
  • Best player score: 12
  • Position: #100 / 2016
  • Number of attempts: 9
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: 19
  • Position: #51 / 108
  • Number of attempts: 2
Collect List - 4149 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 12
  • Position: #135 / 1160
  • Number of attempts: 7
Remove hard line breaks - 43 entries

Text files with Hard breaks are not good for e-readers. We need remove all hard line breaks and have long lines.

  • Best score: 10
  • Best player score: 51
  • Position: #26 / 26
  • Number of attempts: 1
A HAPPY NEW YEAR 2014 ! - 10511 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 11
  • Position: #855 / 3628
  • Number of attempts: 2
Words in parens - 12682 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 14
  • Position: #609 / 3905
  • Number of attempts: 6
Mike Krason
Twitter:

entered into 9 challenges

contributed 0 challenges