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

Extract argument from function - 2429 entries

The aim is to see if you can do some refactoring very fast.

  • Best score: 13
  • Best player score: 13
  • Position: #143 / 773
  • Number of attempts: 4
That hyphen - 2649 entries

"vim vi improved"

  • Best score: 9
  • Best player score: 9
  • Position: #96 / 712
  • Number of attempts: 3
Just the middle - 11620 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Position: #485 / 4258
  • Number of attempts: 2
Collect List - 4342 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 12
  • Position: #126 / 1200
  • Number of attempts: 7
Space out the alphabet - 1696 entries

Put 3 spaces between adjacent letters.

  • Best score: 15
  • Best player score: 23
  • Position: #364 / 458
  • Number of attempts: 1
quotes inside quotes - 3203 entries

taken from tip 85 of the very good book 'Practical Vim: Edit Text at the Speed of Thought' ! I'd be interested what people use :)

  • Best score: 14
  • Best player score: 14
  • Position: #214 / 1094
  • Number of attempts: 4
Words in parens - 13054 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 15
  • Position: #1515 / 3991
  • Number of attempts: 8
switch variable - 5128 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 12
  • Position: #885 / 1764
  • Number of attempts: 5
Get Sharp
Twitter:

entered into 8 challenges

contributed 0 challenges