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 - 11792 entries

We should all ace this, right?

  • Best score: 14
  • Best player score: 19
  • Number of attempts: 4
V to the i - 4253 entries

Input is 99 V's. Output is 100 i's.

  • Best score: 7
  • Best player score: 7
  • Number of attempts: 8
Just the middle - 10097 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Number of attempts: 10
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: 15
  • Number of attempts: 7
I forgot quotes - 13727 entries

Oops.

  • Best score: 10
  • Best player score: 17
  • Number of attempts: 4
Stefan Larsson
Twitter:

entered into 5 challenges

contributed 0 challenges