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 - 33396 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: #6944 / 7367
  • Number of attempts: 3
One number per line - 18627 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 17
  • Position: #1226 / 3843
  • Number of attempts: 13
Applying same text modification in several lines - 2845 entries

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

  • Best score: 12
  • Best player score: 22
  • Position: #723 / 840
  • Number of attempts: 8
Add semicolons - 10795 entries

Simply add a semicolon at the end of each line

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

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Position: #3060 / 4164
  • Number of attempts: 5
Collect List - 4264 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 15
  • Position: #739 / 1186
  • Number of attempts: 7
-a-b-c- - 3176 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 13
  • Position: #245 / 1129
  • Number of attempts: 10
Don't know what this is - 1987 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 / 579
  • Number of attempts: 9
hansim
Twitter:

entered into 8 challenges

contributed 0 challenges