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: 32
  • Position: #5823 / 7490
  • Number of attempts: 3
One number per line - 18840 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 28
  • Position: #3557 / 3893
  • Number of attempts: 1
V to the i - 4833 entries

Input is 99 V's. Output is 100 i's.

  • Best score: 7
  • Best player score: 10
  • Position: #1773 / 1904
  • Number of attempts: 2
Search and Replace 0 - 5045 entries

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

  • Best score: 12
  • Best player score: 18
  • Position: #1399 / 1644
  • Number of attempts: 1
Just the middle - 11555 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 11
  • Position: #3953 / 4234
  • Number of attempts: 2
Vice versa - 7981 entries

Little role switching.

  • Best score: 12
  • Best player score: 17
  • Position: #1580 / 2147
  • Number of attempts: 1
I forgot quotes - 16127 entries

Oops.

  • Best score: 10
  • Best player score: 19
  • Position: #3488 / 4208
  • Number of attempts: 1
Patrick J McDonough
Twitter:

entered into 7 challenges

contributed 0 challenges