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

Fix the shell script! - 1082 entries

Fix the shell script with the fewest keystrokes!

  • Best score: 26
  • Best player score: 42
  • Position: #191 / 281
  • Number of attempts: 1
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: 22
  • Position: #584 / 7276
  • Number of attempts: 7
One number per line - 18395 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 19
  • Position: #1612 / 3793
  • Number of attempts: 6
Every other line - 2829 entries

AaAaAaA

  • Best score: 12
  • Best player score: 17
  • Position: #446 / 686
  • Number of attempts: 5
Extract argument from function - 2218 entries

The aim is to see if you can do some refactoring very fast.

  • Best score: 13
  • Best player score: 15
  • Position: #435 / 729
  • Number of attempts: 2
Adam's challenge - 916 entries

Change both normal to bold and 4 by 2. Adam Wathan challenge this on twitter . He did it in 11 keystrokes on Sublime.

  • Best score: 18
  • Best player score: 22
  • Position: #159 / 257
  • Number of attempts: 1
Mirror Symmetry - 781 entries

Add backslashes.

  • Best score: 7
  • Best player score: 14
  • Position: #233 / 262
  • Number of attempts: 1
Don't know what this is - 1951 entries

Replace contents of brackets with matching number of spaces. Don't ask what the format's supposed to be.

  • Best score: 11
  • Best player score: 14
  • Position: #347 / 572
  • Number of attempts: 4
replacing each line of a block selection - 2816 entries

replace each line's ../assets/js with /javascripts

  • Best score: 18
  • Best player score: 25
  • Position: #521 / 736
  • Number of attempts: 3
Quatrix
Twitter:

מאה ארבעים תווים ושום צליל.

entered into 9 challenges

contributed 0 challenges