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

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

  • Best score: 7
  • Best player score: 9
  • Position: #1587 / 1904
  • Number of attempts: 1
Search and Replace 0 - 5045 entries

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

  • Best score: 12
  • Best player score: 17
  • Position: #1305 / 1644
  • Number of attempts: 1
Mute the second method of this script - 456 entries

prepend a # infront of every line of the second method

  • Best score: 8
  • Best player score: 10
  • Position: #178 / 240
  • Number of attempts: 1
I forgot quotes - 16127 entries

Oops.

  • Best score: 10
  • Best player score: 15
  • Position: #2092 / 4208
  • Number of attempts: 3
Words in parens - 13005 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 21
  • Position: #3469 / 3979
  • Number of attempts: 1
Simple text editing with Vim - 13423 entries

Make the pairs of lines match up by making each second line same as first

  • Best score: 13
  • Best player score: 16
  • Position: #2315 / 3848
  • Number of attempts: 5
vimgolf
Twitter:

entered into 6 challenges

contributed 0 challenges