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

Two become one - 675 entries

We have two c arrays and want to make one two dimensional out of it. Can we do that?

  • Best score: 25
  • Best player score: 30
  • Number of attempts: 3
Simple, Practical, and Common - 25356 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: 23
  • Number of attempts: 3
Angular naming conventions - 269 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: 22
  • Number of attempts: 1
One number per line - 13045 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 16
  • Number of attempts: 4
Just the middle - 9337 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Number of attempts: 2
Adam's challenge - 798 entries

Change both normal to bold and 4 by 2. Adam Wathan challenge this on twitter . He did it in 11 keystrokes on Sublime.

  • Best score: 18
  • Best player score: 19
  • Number of attempts: 3
I forgot quotes - 11966 entries

Oops.

  • Best score: 10
  • Best player score: 12
  • Number of attempts: 4
Words in parens - 11108 entries

We should all ace this, right?

  • Best score: 14
  • Best player score: 16
  • Number of attempts: 1
Vice versa - 5992 entries

Little role switching.

  • Best score: 12
  • Best player score: 16
  • Number of attempts: 1
QingyuZhao
Twitter:

entered into 9 challenges

contributed 0 challenges