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

V to the i - 4866 entries

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

  • Best score: 7
  • Best player score: 9
  • Position: #1593 / 1913
  • Number of attempts: 1
Search and Replace 0 - 5124 entries

Replace every instance of 'aaa' with 'xaaax'.

  • Best score: 12
  • Best player score: 15
  • Position: #1148 / 1670
  • Number of attempts: 2
Just the middle - 11613 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 9
  • Position: #3299 / 4253
  • Number of attempts: 1
Mute the second method of this script - 461 entries

prepend a # infront of every line of the second method

  • Best score: 8
  • Best player score: 10
  • Position: #176 / 243
  • Number of attempts: 1
I forgot quotes - 16187 entries

Oops.

  • Best score: 10
  • Best player score: 16
  • Position: #2459 / 4222
  • Number of attempts: 1
-a-b-c- - 3237 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 16
  • Position: #790 / 1145
  • Number of attempts: 1
Count both ways - 1037 entries

Right AND down.

  • Best score: 13
  • Best player score: 17
  • Position: #304 / 359
  • Number of attempts: 1
Words in parens - 13034 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 17
  • Position: #2655 / 3988
  • Number of attempts: 1
YK
Twitter:

entered into 8 challenges

contributed 0 challenges