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

Swap values - 4703 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 150
  • Position: #1290 / 1291
  • Number of attempts: 1
One number per line - 18889 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 23
  • Position: #2833 / 3898
  • Number of attempts: 1
Split line with dots - 2174 entries

This line is too long, split it.

  • Best score: 15
  • Best player score: 21
  • Position: #397 / 638
  • Number of attempts: 1
Just the middle - 11590 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 9
  • Position: #3466 / 4246
  • Number of attempts: 2
Vice versa - 8011 entries

Little role switching.

  • Best score: 12
  • Best player score: 275
  • Position: #2152 / 2153
  • Number of attempts: 1
Fix the XML - 1050 entries

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

  • Best score: 18
  • Best player score: 43
  • Position: #281 / 291
  • Number of attempts: 1
I forgot quotes - 16179 entries

Oops.

  • Best score: 10
  • Best player score: 39
  • Position: #4185 / 4218
  • Number of attempts: 2
Count both ways - 1035 entries

Right AND down.

  • Best score: 13
  • Best player score: 270
  • Position: #358 / 358
  • Number of attempts: 1
A HAPPY NEW YEAR 2014 ! - 10748 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 17
  • Position: #3402 / 3711
  • Number of attempts: 1
Words in parens - 13032 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 50
  • Position: #3967 / 3986
  • Number of attempts: 1
Zhao Bin
Twitter:

entered into 10 challenges

contributed 0 challenges