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

Renumbering Basic.

  • Best score: 11
  • Best player score: 34
  • Position: #1237 / 1274
  • Number of attempts: 1
camel riding - 793 entries

add a prefix on some camelCase variables

  • Best score: 15
  • Best player score: 17
  • Position: #172 / 281
  • Number of attempts: 2
readability - 327 entries

Make the code readable by adding some spaces

  • Best score: 18
  • Best player score: 19
  • Position: #105 / 152
  • Number of attempts: 1
Space out the alphabet - 1659 entries

Put 3 spaces between adjacent letters.

  • Best score: 15
  • Best player score: 21
  • Position: #276 / 446
  • Number of attempts: 3
Mute the second method of this script - 455 entries

prepend a # infront of every line of the second method

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

Oops.

  • Best score: 10
  • Best player score: 17
  • Position: #2809 / 4202
  • Number of attempts: 2
-a-b-c- - 3225 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 15
  • Position: #559 / 1140
  • Number of attempts: 3
Count both ways - 1022 entries

Right AND down.

  • Best score: 13
  • Best player score: 14
  • Position: #76 / 354
  • Number of attempts: 4
Don't know what this is - 2025 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: #186 / 587
  • Number of attempts: 5
quotes inside quotes - 3185 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: #1075 / 1086
  • Number of attempts: 1
Words in parens - 12992 entries

We should all ace this, right?

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

Twitterrrrr.......

entered into 11 challenges

contributed 0 challenges