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

Simple, Practical, and Common - 33988 entries

Simple things we do all the time should be able to be done with very few keystrokes, but sometimes I find something I need to do makes me go, "There MUST be a better way." This challenge is just a simple movement and entering text at a certain place.

  • Best score: 22
  • Best player score: 22
  • Position: #255 / 7509
  • Number of attempts: 13
Swap values - 4703 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 13
  • Position: #552 / 1291
  • Number of attempts: 4
One number per line - 18896 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 28
  • Position: #3564 / 3902
  • Number of attempts: 1
Just the middle - 11613 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Position: #2294 / 4253
  • Number of attempts: 4
Vice versa - 8011 entries

Little role switching.

  • Best score: 12
  • Best player score: 17
  • Position: #1539 / 2153
  • Number of attempts: 2
comments galore - 1079 entries

Basic comment reformatting

  • Best score: 10
  • Best player score: 10
  • Position: #47 / 431
  • Number of attempts: 3
Inner hyphens - 146 entries

Yet another hyphen challenge. Adding 5 hyphens to a file shouldn't be too hard.

  • Best score: 11
  • Best player score: 12
  • Position: #39 / 87
  • Number of attempts: 3
Count both ways - 1037 entries

Right AND down.

  • Best score: 13
  • Best player score: 15
  • Position: #113 / 359
  • Number of attempts: 3
lucas
Twitter:

entered into 8 challenges

contributed 0 challenges