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 - 26789 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: 27
  • Number of attempts: 3
I forgot quotes - 12707 entries

Oops.

  • Best score: 10
  • Best player score: 17
  • Number of attempts: 3
V to the i - 4104 entries

Input is 99 V's. Output is 100 i's.

  • Best score: 7
  • Best player score: 8
  • Number of attempts: 2
Vice versa - 6247 entries

Little role switching.

  • Best score: 12
  • Best player score: 19
  • Number of attempts: 1
Copy three lines - 2237 entries

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

  • Best score: 13
  • Best player score: 13
  • Number of attempts: 9
Every other line - 2232 entries

AaAaAaA

  • Best score: 12
  • Best player score: 16
  • Number of attempts: 2
Applying same text modification in several lines - 1989 entries

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

  • Best score: 13
  • Best player score: 16
  • Number of attempts: 3
dyson dark
Twitter:

entered into 7 challenges

contributed 0 challenges