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 - 32962 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: 28
  • Position: #4026 / 7276
  • Number of attempts: 2
That hyphen - 2500 entries

"vim vi improved"

  • Best score: 9
  • Best player score: 13
  • Position: #505 / 683
  • Number of attempts: 2
Just the middle - 11141 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Position: #2009 / 4114
  • Number of attempts: 2
Vice versa - 7535 entries

Little role switching.

  • Best score: 12
  • Best player score: 15
  • Position: #973 / 2048
  • Number of attempts: 3
I forgot quotes - 15748 entries

Oops.

  • Best score: 10
  • Best player score: 19
  • Position: #3396 / 4116
  • Number of attempts: 1
Mess in revision history - 1143 entries

Help Joe clean up what Steve has cobbled.

  • Best score: 17
  • Best player score: 25
  • Position: #142 / 242
  • Number of attempts: 3
Letter case trickery - 1553 entries

This file is in a downright esoteric format, consisting of hexadecimal numbers, non-hexadecimal keywords, and "Z" indicating end-of-line. Make the hexadecimal numbers lowercase.

  • Best score: 9
  • Best player score: 10
  • Position: #132 / 500
  • Number of attempts: 4
Whitespace, empty lines and tabs - 3009 entries

Convert tabs to spaces, strip empty lines and trailing whitespace.

  • Best score: 16
  • Best player score: 24
  • Position: #314 / 667
  • Number of attempts: 3
Tarik Koc
Twitter:

entered into 8 challenges

contributed 0 challenges