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 - 33842 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 / 7468
  • Number of attempts: 9
One number per line - 18826 entries

Just give me the numbers.

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

AaAaAaA

  • Best score: 12
  • Best player score: 13
  • Position: #112 / 707
  • Number of attempts: 6
Just the middle - 11534 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Position: #2284 / 4227
  • Number of attempts: 1
Vice versa - 7974 entries

Little role switching.

  • Best score: 12
  • Best player score: 16
  • Position: #1267 / 2146
  • Number of attempts: 1
I forgot quotes - 16089 entries

Oops.

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

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 11
  • Position: #440 / 1753
  • Number of attempts: 6
Braces or Brackets? - 1089 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: #254 / 338
  • Number of attempts: 1
David Fonseca
Twitter:

entered into 8 challenges

contributed 0 challenges