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 - 33930 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: 34
  • Position: #6433 / 7490
  • Number of attempts: 13
Search and Replace 0 - 5045 entries

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

  • Best score: 12
  • Best player score: 12
  • Position: #570 / 1644
  • Number of attempts: 8
Python Hello World! Reformatting - 1011 entries

A novice Python using prints Hello World! and a pro shows him different way. Using vim to get into pro style from novice, win the challenge.

  • Best score: 39
  • Best player score: 51
  • Position: #362 / 387
  • Number of attempts: 1
Vice versa - 7981 entries

Little role switching.

  • Best score: 12
  • Best player score: 22
  • Position: #1950 / 2147
  • Number of attempts: 2
I forgot quotes - 16127 entries

Oops.

  • Best score: 10
  • Best player score: 20
  • Position: #3677 / 4208
  • Number of attempts: 15
Benjamin Kiefer
Twitter:

entered into 5 challenges

contributed 0 challenges