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

Add fold markers to a .c file - 443 entries

Fold markers can make it easier to navigate source code. Add them to this .c file.

  • Best score: 30
  • Best player score: 44
  • Number of attempts: 2
Words in parens - 11284 entries

We should all ace this, right?

  • Best score: 14
  • Best player score: 22
  • Number of attempts: 1
Just the middle - 9554 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Number of attempts: 3
Swap values - 3701 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 13
  • Number of attempts: 5
-a-b-c- - 2670 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 16
  • Number of attempts: 1
I forgot quotes - 12483 entries

Oops.

  • Best score: 10
  • Best player score: 17
  • Number of attempts: 1
J. SUI
Twitter:

B-boy

entered into 6 challenges

contributed 0 challenges