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

swap number pairs - 1459 entries

Swap the numbers in a bunch of 2-element arrays.

  • Best score: 16
  • Best player score: 67
  • Position: #272 / 283
  • Number of attempts: 1
Rural Post - 4105 entries

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

  • Best score: 9
  • Best player score: 21
  • Position: #792 / 1015
  • Number of attempts: 2
prepend * to every non-blank line - 5959 entries

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

  • Best score: 10
  • Best player score: 15
  • Position: #935 / 1463
  • Number of attempts: 1
Add semicolons - 10539 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 15
  • Position: #2276 / 2988
  • Number of attempts: 1
Vice versa - 7519 entries

Little role switching.

  • Best score: 12
  • Best player score: 17
  • Position: #1632 / 2043
  • Number of attempts: 1
Simple text editing with Vim - 11619 entries

Make the pairs of lines match up by making each second line same as first

  • Best score: 13
  • Best player score: 13
  • Position: #650 / 3408
  • Number of attempts: 1
SpadeAcademic
Twitter:

entered into 6 challenges

contributed 0 challenges