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

Many duplicates - 1265 entries

Quick and easy

  • Best score: 7
  • Best player score: 8
  • Position: #147 / 416
  • Number of attempts: 3
simple replacements - 1662 entries

The goal is to see the replacement commands in action.

  • Best score: 19
  • Best player score: 23
  • Position: #198 / 371
  • Number of attempts: 5
Multiline to Single Line - 669 entries

Convert a multiline, indented file to a single line with no whitespace

  • Best score: 5
  • Best player score: 6
  • Position: #258 / 293
  • Number of attempts: 4
prepend * to every non-blank line - 6223 entries

Prepend an asterisk to every non-blank line in the input file.

  • Best score: 10
  • Best player score: 11
  • Position: #735 / 1519
  • Number of attempts: 3
Kenny
Twitter:

entered into 4 challenges

contributed 0 challenges