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 - 34031 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: #653 / 7520
  • Number of attempts: 9
One number per line - 18907 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 14
  • Position: #105 / 3907
  • Number of attempts: 7
Every other line - 2952 entries

AaAaAaA

  • Best score: 7
  • Best player score: 13
  • Position: #114 / 713
  • Number of attempts: 6
Just the middle - 11636 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Position: #2294 / 4262
  • Number of attempts: 1
Vice versa - 8021 entries

Little role switching.

  • Best score: 12
  • Best player score: 16
  • Position: #1273 / 2158
  • Number of attempts: 1
I forgot quotes - 16255 entries

Oops.

  • Best score: 10
  • Best player score: 10
  • Position: #467 / 4229
  • Number of attempts: 7
switch variable - 5136 entries

how fast can you switch two variable ?

  • Best score: 9
  • Best player score: 11
  • Position: #441 / 1767
  • Number of attempts: 6
Braces or Brackets? - 1219 entries

Someone forgot whether to use braces or brackets and you have to clean up their code!

  • Best score: 34
  • Best player score: 51
  • Position: #276 / 367
  • Number of attempts: 1
David Fonseca
Twitter:

entered into 8 challenges

contributed 0 challenges