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

-a-b-c- - 2530 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 15
  • Number of attempts: 3
Basic renumbering - 4508 entries

Renumbering Basic.

  • Best score: 2
  • Best player score: 34
  • Number of attempts: 1
Count both ways - 859 entries

Right AND down.

  • Best score: 13
  • Best player score: 14
  • Number of attempts: 4
Mute the second method of this script - 404 entries

prepend a # infront of every line of the second method

  • Best score: 9
  • Best player score: 9
  • Number of attempts: 2
I forgot quotes - 11342 entries

Oops.

  • Best score: 10
  • Best player score: 17
  • Number of attempts: 2
quotes inside quotes - 2726 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: 2
  • Best player score: 34
  • Number of attempts: 1
camel riding - 680 entries

add a prefix on some camelCase variables

  • Best score: 15
  • Best player score: 17
  • Number of attempts: 2
Words in parens - 10831 entries

We should all ace this, right?

  • Best score: 14
  • Best player score: 19
  • Number of attempts: 1
Don't know what this is - 1711 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
  • Number of attempts: 5
readability - 285 entries

Make the code readable by adding some spaces

  • Best score: 18
  • Best player score: 19
  • Number of attempts: 1
Space out the alphabet - 1338 entries

Put 3 spaces between adjacent letters.

  • Best score: 15
  • Best player score: 21
  • Number of attempts: 3
Slurpie Chapdash
Twitter:

Twitterrrrr.......

entered into 11 challenges

contributed 0 challenges