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 - 32765 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: 32
  • Position: #5812 / 7241
  • Number of attempts: 5
One number per line - 18295 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 23
  • Position: #3000 / 3770
  • Number of attempts: 6
Applying same text modification in several lines - 2710 entries

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

  • Best score: 12
  • Best player score: 17
  • Position: #607 / 806
  • Number of attempts: 1
Add semicolons - 10467 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 27
  • Position: #2837 / 2966
  • Number of attempts: 2
multiple cursor alternative - 1441 entries

from: https://www.reddit.com/r/vim/comments/6w5pfa/crosspost_from_remacs_how_would_you_do_this_in_vim/

  • Best score: 19
  • Best player score: 30
  • Position: #329 / 368
  • Number of attempts: 2
Copy three lines - 2766 entries

If the site is up (by some miracle), make the text under every header identical.

  • Best score: 13
  • Best player score: 28
  • Position: #575 / 620
  • Number of attempts: 1
Line under headers - 1880 entries

Put a line under each header, and remove the other markdown formatting.

  • Best score: 24
  • Best player score: 49
  • Position: #438 / 465
  • Number of attempts: 3
Put the months in order - 915 entries

Our contractor thought that months should be in alphabetical order. Put them in calendar order please.

  • Best score: 20
  • Best player score: 76
  • Position: #154 / 155
  • Number of attempts: 2
I forgot quotes - 15666 entries

Oops.

  • Best score: 10
  • Best player score: 19
  • Position: #3459 / 4098
  • Number of attempts: 2
Bruno Machado
Twitter:

entered into 9 challenges

contributed 0 challenges