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 - 32910 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: #231 / 7271
  • Number of attempts: 16
Just the middle - 11136 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Position: #501 / 4112
  • Number of attempts: 3
Make HTML List - 987 entries

Turn the comma separated list into an unordered html list.

  • Best score: 33
  • Best player score: 36
  • Position: #61 / 261
  • Number of attempts: 10
Vice versa - 7522 entries

Little role switching.

  • Best score: 12
  • Best player score: 12
  • Position: #103 / 2044
  • Number of attempts: 7
lipsum lines - 247 entries

Convert a quoted block of text into strings in a list.

  • Best score: 28
  • Best player score: 30
  • Position: #30 / 89
  • Number of attempts: 3
Angular naming conventions - 280 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: #20 / 109
  • Number of attempts: 4
Fix the XML - 958 entries

The challenge consists in having a valid xml from an incomplete source.

  • Best score: 18
  • Best player score: 18
  • Position: #27 / 279
  • Number of attempts: 10
I forgot quotes - 15740 entries

Oops.

  • Best score: 10
  • Best player score: 10
  • Position: #312 / 4115
  • Number of attempts: 7
switch variable - 4917 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 11
  • Position: #381 / 1701
  • Number of attempts: 4
Casey Pearring
Twitter:

entered into 9 challenges

contributed 0 challenges