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

Words in parens - 11806 entries

We should all ace this, right?

  • Best score: 14
  • Best player score: 15
  • Number of attempts: 8
quotes inside quotes - 2909 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
  • Number of attempts: 4
Extract argument from function - 2106 entries

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

  • Best score: 13
  • Best player score: 13
  • Number of attempts: 4
That hyphen - 2326 entries

"vim vi improved"

  • Best score: 9
  • Best player score: 9
  • Number of attempts: 3
switch variable - 4541 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 12
  • Number of attempts: 5
Space out the alphabet - 1449 entries

Put 3 spaces between adjacent letters.

  • Best score: 15
  • Best player score: 23
  • Number of attempts: 1
Just the middle - 10110 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Number of attempts: 2
Collect List - 3793 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 12
  • Number of attempts: 7
Get Sharp
Twitter:

entered into 8 challenges

contributed 0 challenges