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 - 33757 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: 25
  • Position: #3248 / 7450
  • Number of attempts: 7
Swap values - 4644 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 13
  • Position: #574 / 1275
  • Number of attempts: 4
Every other line - 2922 entries

AaAaAaA

  • Best score: 12
  • Best player score: 13
  • Position: #97 / 706
  • Number of attempts: 6
Just the middle - 11497 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Position: #723 / 4215
  • Number of attempts: 3
Paragraph breaks - 527 entries

Swap the blank lines and the aaa lines.

  • Best score: 10
  • Best player score: 11
  • Position: #64 / 168
  • Number of attempts: 2
The holy-grail may help - 389 entries

Can you find it in less than 20 strokes, Arthur?

  • Best score: 16
  • Best player score: 17
  • Position: #187 / 215
  • Number of attempts: 2
Reformat/Refactor a Golfer Class - 7229 entries

A simple case of removing unneeded code and fixing broken indentation.

  • Best score: 10
  • Best player score: 46
  • Position: #1235 / 1778
  • Number of attempts: 2
Patrick Davey
Twitter:

Programmer, Lover of all things outdoors, Sustainability & http://t.co/XtNkQTOEgg

entered into 7 challenges

contributed 0 challenges