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 - 4115 entries

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

  • Best score: 9
  • Best player score: 113
  • Position: #1006 / 1017
  • Number of attempts: 1
Simple, Practical, and Common - 32953 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: 59
  • Position: #7234 / 7275
  • Number of attempts: 1
prepend * to every non-blank line - 5977 entries

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

  • Best score: 10
  • Best player score: 50
  • Position: #1460 / 1468
  • Number of attempts: 3
Add semicolons - 10545 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 127
  • Position: #2986 / 2989
  • Number of attempts: 1
Words in parens - 12736 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 53
  • Position: #3902 / 3919
  • Number of attempts: 1
Simple text editing with Vim - 11657 entries

Make the pairs of lines match up by making each second line same as first

  • Best score: 13
  • Best player score: 411
  • Position: #3417 / 3418
  • Number of attempts: 1
e
Twitter:

entered into 6 challenges

contributed 0 challenges