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

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

  • Best score: 7
  • Best player score: 9
  • Position: #1605 / 1907
  • Number of attempts: 3
That hyphen - 2624 entries

"vim vi improved"

  • Best score: 9
  • Best player score: 9
  • Position: #66 / 708
  • Number of attempts: 6
Just the middle - 11572 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Position: #284 / 4240
  • Number of attempts: 4
camel riding - 796 entries

add a prefix on some camelCase variables

  • Best score: 15
  • Best player score: 18
  • Position: #220 / 282
  • Number of attempts: 4
readability - 331 entries

Make the code readable by adding some spaces

  • Best score: 18
  • Best player score: 19
  • Position: #113 / 153
  • Number of attempts: 2
I forgot quotes - 16176 entries

Oops.

  • Best score: 10
  • Best player score: 16
  • Position: #2486 / 4216
  • Number of attempts: 2
Ammar Najjar
Twitter:

entered into 6 challenges

contributed 0 challenges