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 - 32765 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 / 7241
  • Number of attempts: 8
Just the middle - 11086 entries

Delete the instructions at the top and bottom.

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

Little role switching.

  • Best score: 12
  • Best player score: 12
  • Position: #99 / 2019
  • Number of attempts: 6
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: 18
  • Position: #19 / 108
  • Number of attempts: 10
Collect List - 4155 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 12
  • Position: #134 / 1161
  • Number of attempts: 10
Custom McCarthy sequence - 31 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 / 12
  • Number of attempts: 3
Conway sequence - 22 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 / 17
  • Number of attempts: 2
I forgot quotes - 15666 entries

Oops.

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

A HAPPY NEW YEAR 2014 !

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

We should all ace this, right?

  • Best score: 13
  • Best player score: 14
  • Position: #608 / 3906
  • 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