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 - 33970 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: #3264 / 7503
  • Number of attempts: 7
Swap values - 4703 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 13
  • Position: #578 / 1291
  • Number of attempts: 4
Every other line - 2945 entries

AaAaAaA

  • Best score: 12
  • Best player score: 13
  • Position: #98 / 710
  • Number of attempts: 6
Just the middle - 11590 entries

Delete the instructions at the top and bottom.

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

Swap the blank lines and the aaa lines.

  • Best score: 10
  • Best player score: 11
  • Position: #65 / 169
  • Number of attempts: 2
The holy-grail may help - 394 entries

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

  • Best score: 16
  • Best player score: 17
  • Position: #189 / 218
  • Number of attempts: 2
Reformat/Refactor a Golfer Class - 7616 entries

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

  • Best score: 7
  • Best player score: 46
  • Position: #1284 / 1877
  • 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