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

Renumbering Basic.

  • Best score: 11
  • Best player score: 34
  • Position: #1244 / 1281
  • Number of attempts: 1
camel riding - 817 entries

add a prefix on some camelCase variables

  • Best score: 15
  • Best player score: 17
  • Position: #176 / 285
  • Number of attempts: 2
readability - 342 entries

Make the code readable by adding some spaces

  • Best score: 18
  • Best player score: 19
  • Position: #107 / 156
  • Number of attempts: 1
Space out the alphabet - 1696 entries

Put 3 spaces between adjacent letters.

  • Best score: 15
  • Best player score: 21
  • Position: #283 / 458
  • Number of attempts: 3
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: 9
  • Position: #85 / 246
  • Number of attempts: 2
I forgot quotes - 16239 entries

Oops.

  • Best score: 10
  • Best player score: 17
  • Position: #2827 / 4225
  • Number of attempts: 2
-a-b-c- - 3242 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 15
  • Position: #563 / 1147
  • Number of attempts: 3
Count both ways - 1053 entries

Right AND down.

  • Best score: 13
  • Best player score: 14
  • Position: #77 / 362
  • Number of attempts: 4
Don't know what this is - 2070 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: #189 / 596
  • Number of attempts: 5
quotes inside quotes - 3203 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: #1083 / 1094
  • Number of attempts: 1
Words in parens - 13054 entries

We should all ace this, right?

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

Twitterrrrr.......

entered into 11 challenges

contributed 0 challenges