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 - 1465 entries

Quick and easy

  • Best score: 7
  • Best player score: 8
  • Position: #156 / 478
  • Number of attempts: 3
simple replacements - 1833 entries

The goal is to see the replacement commands in action.

  • Best score: 19
  • Best player score: 23
  • Position: #209 / 396
  • Number of attempts: 5
Multiline to Single Line - 747 entries

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

  • Best score: 5
  • Best player score: 6
  • Position: #274 / 318
  • Number of attempts: 4
prepend * to every non-blank line - 6366 entries

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

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

entered into 4 challenges

contributed 0 challenges