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

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

  • Best score: 7
  • Best player score: 9
  • Position: #1596 / 1915
  • Number of attempts: 1
Search and Replace 0 - 5162 entries

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

  • Best score: 12
  • Best player score: 17
  • Position: #1330 / 1675
  • Number of attempts: 1
Mute the second method of this script - 465 entries

prepend a # infront of every line of the second method

  • Best score: 8
  • Best player score: 10
  • Position: #182 / 246
  • Number of attempts: 1
I forgot quotes - 16239 entries

Oops.

  • Best score: 10
  • Best player score: 15
  • Position: #2101 / 4225
  • Number of attempts: 3
Words in parens - 13054 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 21
  • Position: #3478 / 3991
  • Number of attempts: 1
Simple text editing with Vim - 13645 entries

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

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

entered into 6 challenges

contributed 0 challenges