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

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

  • Best score: 7
  • Best player score: 9
  • Position: #1580 / 1895
  • Number of attempts: 1
Search and Replace 0 - 4993 entries

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

  • Best score: 12
  • Best player score: 15
  • Position: #1118 / 1626
  • Number of attempts: 2
Just the middle - 11458 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 9
  • Position: #3262 / 4199
  • Number of attempts: 1
Mute the second method of this script - 455 entries

prepend a # infront of every line of the second method

  • Best score: 8
  • Best player score: 10
  • Position: #173 / 239
  • Number of attempts: 1
I forgot quotes - 15990 entries

Oops.

  • Best score: 10
  • Best player score: 16
  • Position: #2433 / 4182
  • Number of attempts: 1
-a-b-c- - 3216 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 16
  • Position: #785 / 1138
  • Number of attempts: 1
Count both ways - 1022 entries

Right AND down.

  • Best score: 13
  • Best player score: 17
  • Position: #300 / 354
  • Number of attempts: 1
Words in parens - 12939 entries

We should all ace this, right?

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

entered into 8 challenges

contributed 0 challenges