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

Rural Post - 4072 entries

Simple challenge to remove all but the post code on each line

  • Best score: 9
  • Best player score: 12
  • Position: #477 / 1008
  • Number of attempts: 2
Simple, Practical, and Common - 32879 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: 23
  • Position: #2748 / 7266
  • Number of attempts: 11
prepend * to every non-blank line - 5946 entries

Prepend an asterisk to every non-blank line in the input file.

  • Best score: 10
  • Best player score: 11
  • Position: #690 / 1459
  • Number of attempts: 3
Add semicolons - 10527 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 11
  • Position: #1683 / 2986
  • Number of attempts: 5
I forgot quotes - 15710 entries

Oops.

  • Best score: 10
  • Best player score: 10
  • Position: #1113 / 4108
  • Number of attempts: 5
Words in parens - 12721 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 14
  • Position: #1141 / 3914
  • Number of attempts: 8
Adam Katz
Twitter:

entered into 6 challenges

contributed 0 challenges