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

Reformat/Refactor a Golfer Class - 5529 entries

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

  • Best score: 32
  • Best player score: 46
  • Number of attempts: 2
Simple, Practical, and Common - 25756 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
  • Number of attempts: 7
The holy-grail may help - 301 entries

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

  • Best score: 16
  • Best player score: 17
  • Number of attempts: 2
Just the middle - 9428 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Number of attempts: 3
Swap values - 3633 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 13
  • Number of attempts: 4
Paragraph breaks - 407 entries

Swap the blank lines and the aaa lines.

  • Best score: 10
  • Best player score: 11
  • Number of attempts: 2
Every other line - 2140 entries

AaAaAaA

  • Best score: 12
  • Best player score: 13
  • Number of attempts: 6
Patrick Davey
Twitter:

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

entered into 7 challenges

contributed 0 challenges