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

Basic renumbering - 5731 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 34
  • Position: #1240 / 1277
  • Number of attempts: 1
camel riding - 796 entries

add a prefix on some camelCase variables

  • Best score: 15
  • Best player score: 17
  • Position: #173 / 282
  • Number of attempts: 2
readability - 331 entries

Make the code readable by adding some spaces

  • Best score: 18
  • Best player score: 19
  • Position: #106 / 153
  • Number of attempts: 1
Space out the alphabet - 1690 entries

Put 3 spaces between adjacent letters.

  • Best score: 15
  • Best player score: 21
  • Position: #280 / 454
  • Number of attempts: 3
Mute the second method of this script - 460 entries

prepend a # infront of every line of the second method

  • Best score: 8
  • Best player score: 9
  • Position: #85 / 242
  • Number of attempts: 2
I forgot quotes - 16179 entries

Oops.

  • Best score: 10
  • Best player score: 17
  • Position: #2821 / 4218
  • Number of attempts: 2
-a-b-c- - 3233 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 15
  • Position: #561 / 1143
  • Number of attempts: 3
Count both ways - 1035 entries

Right AND down.

  • Best score: 13
  • Best player score: 14
  • Position: #77 / 358
  • Number of attempts: 4
Don't know what this is - 2044 entries

Replace contents of brackets with matching number of spaces. Don't ask what the format's supposed to be.

  • Best score: 11
  • Best player score: 12
  • Position: #188 / 591
  • Number of attempts: 5
quotes inside quotes - 3200 entries

taken from tip 85 of the very good book 'Practical Vim: Edit Text at the Speed of Thought' ! I'd be interested what people use :)

  • Best score: 14
  • Best player score: 34
  • Position: #1080 / 1091
  • Number of attempts: 1
Words in parens - 13032 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 19
  • Position: #3100 / 3986
  • Number of attempts: 1
Slurpie Chapdash
Twitter:

Twitterrrrr.......

entered into 11 challenges

contributed 0 challenges