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! - 2596 entries

Fix the shell script with the fewest keystrokes!

  • Best score: 26
  • Best player score: 42
  • Position: #425 / 603
  • Number of attempts: 1
Simple, Practical, and Common - 33742 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 / 7447
  • Number of attempts: 7
One number per line - 18776 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 19
  • Position: #1645 / 3875
  • Number of attempts: 6
Every other line - 2916 entries

AaAaAaA

  • Best score: 12
  • Best player score: 17
  • Position: #456 / 705
  • Number of attempts: 5
Extract argument from function - 2364 entries

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

  • Best score: 13
  • Best player score: 15
  • Position: #452 / 755
  • Number of attempts: 2
Adam's challenge - 992 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: #170 / 272
  • Number of attempts: 1
Mirror Symmetry - 822 entries

Add backslashes.

  • Best score: 7
  • Best player score: 14
  • Position: #240 / 269
  • Number of attempts: 1
Don't know what this is - 2024 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: #355 / 586
  • Number of attempts: 4
replacing each line of a block selection - 3001 entries

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

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

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

entered into 9 challenges

contributed 0 challenges