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

Rural Post - 4368 entries

Simple challenge to remove all but the post code on each line

  • Best score: 9
  • Best player score: 11
  • Position: #495 / 1072
  • Number of attempts: 2
prepend * to every non-blank line - 6208 entries

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

  • Best score: 10
  • Best player score: 18
  • Position: #1163 / 1517
  • Number of attempts: 1
One number per line - 18616 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 21
  • Position: #2558 / 3842
  • Number of attempts: 4
Split line with dots - 2125 entries

This line is too long, split it.

  • Best score: 15
  • Best player score: 25
  • Position: #534 / 630
  • Number of attempts: 5
Basic renumbering - 5587 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 17
  • Position: #605 / 1258
  • Number of attempts: 5
switch variable - 5036 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 15
  • Position: #1533 / 1736
  • Number of attempts: 2
ms
Twitter:

entered into 6 challenges

contributed 0 challenges