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 - 26160 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: 14
  • Best player score: 26
  • Number of attempts: 5
I forgot quotes - 12364 entries

Oops.

  • Best score: 10
  • Best player score: 20
  • Number of attempts: 1
Applying same text modification in several lines - 1842 entries

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

  • Best score: 13
  • Best player score: 14
  • Number of attempts: 6
Rob Barry
Twitter:

Reporter, data journalism editor and codemonkey @WSJ, formerly @MiamiHerald. Contact: 212-416-4327 (voice) or 929-263-4290 (cell/Signal/text)

entered into 3 challenges

contributed 0 challenges