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

Search and Replace 0 - 4091 entries

Replace every instance of 'aaa' with 'xaaax'.

  • Best score: 12
  • Best player score: 12
  • Number of attempts: 4
Simple, Practical, and Common - 24838 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: 27
  • Number of attempts: 5
That hyphen - 2178 entries

"vim vi improved"

  • Best score: 9
  • Best player score: 9
  • Number of attempts: 8
Flip the bit - 75 entries

Change the specific 0 to a 1.

  • Best score: 8
  • Best player score: 8
  • Number of attempts: 2
Tom Vyčítal
Twitter:

entered into 4 challenges

contributed 0 challenges