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 - 32992 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: 22
  • Position: #227 / 7283
  • Number of attempts: 8
Just the middle - 11263 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Position: #496 / 4135
  • Number of attempts: 8
Vice versa - 7587 entries

Little role switching.

  • Best score: 12
  • Best player score: 12
  • Position: #99 / 2056
  • Number of attempts: 6
Angular naming conventions - 283 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: 18
  • Position: #19 / 110
  • Number of attempts: 10
Collect List - 4191 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 12
  • Position: #134 / 1170
  • Number of attempts: 10
Custom McCarthy sequence - 32 entries

Generate the first one hundred and twenty numbers (starting with n=1). See here for some inspiration: http://en.wikipedia.org/wiki/McCarthy_91_function

  • Best score: 15
  • Best player score: 19
  • Position: #8 / 13
  • Number of attempts: 3
Conway sequence - 23 entries

Generate the the first fifteen numbers. See here for more information: http://en.wikipedia.org/wiki/Look-and-say_sequence

  • Best score: 43
  • Best player score: 43
  • Position: #7 / 18
  • Number of attempts: 2
I forgot quotes - 15769 entries

Oops.

  • Best score: 10
  • Best player score: 10
  • Position: #309 / 4119
  • Number of attempts: 13
A HAPPY NEW YEAR 2014 ! - 10557 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 11
  • Position: #854 / 3643
  • Number of attempts: 4
Words in parens - 12769 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 14
  • Position: #616 / 3925
  • Number of attempts: 11
Tiny column alignment - 39 entries

Align using the four blocks, don't forget to lowercase and have fun!

  • Best score: 33
  • Best player score: 48
  • Position: #11 / 18
  • Number of attempts: 2
Kaue Silveira
Twitter:

Computer Science student, runner, musician and programmer.

entered into 11 challenges

contributed 0 challenges