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: 38
  • Position: #7057 / 7503
  • Number of attempts: 3
One number per line - 18889 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 17
  • Position: #1240 / 3898
  • Number of attempts: 13
Applying same text modification in several lines - 2927 entries

Remove identical text at the beginning of several lines and the closing parenthesis.

  • Best score: 12
  • Best player score: 22
  • Position: #746 / 865
  • Number of attempts: 8
Add semicolons - 10943 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 10
  • Position: #555 / 3093
  • Number of attempts: 6
Just the middle - 11590 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Position: #3075 / 4246
  • Number of attempts: 5
Collect List - 4332 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 15
  • Position: #747 / 1196
  • Number of attempts: 7
-a-b-c- - 3233 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 13
  • Position: #245 / 1143
  • Number of attempts: 10
Don't know what this is - 2044 entries

Replace contents of brackets with matching number of spaces. Don't ask what the format's supposed to be.

  • Best score: 11
  • Best player score: 11
  • Position: #104 / 591
  • Number of attempts: 9
hansim
Twitter:

entered into 8 challenges

contributed 0 challenges