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

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

  • Best score: 7
  • Best player score: 9
  • Position: #1548 / 1857
  • Number of attempts: 1
Search and Replace 0 - 4681 entries

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

  • Best score: 12
  • Best player score: 15
  • Position: #1058 / 1550
  • Number of attempts: 2
Just the middle - 11141 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 9
  • Position: #3195 / 4114
  • Number of attempts: 1
Mute the second method of this script - 439 entries

prepend a # infront of every line of the second method

  • Best score: 9
  • Best player score: 10
  • Position: #169 / 233
  • Number of attempts: 1
I forgot quotes - 15749 entries

Oops.

  • Best score: 10
  • Best player score: 16
  • Position: #2388 / 4117
  • Number of attempts: 1
-a-b-c- - 3122 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 16
  • Position: #766 / 1113
  • Number of attempts: 1
Count both ways - 962 entries

Right AND down.

  • Best score: 13
  • Best player score: 17
  • Position: #289 / 342
  • Number of attempts: 1
Words in parens - 12736 entries

We should all ace this, right?

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

entered into 8 challenges

contributed 0 challenges