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

Modernise code - 1402 entries

Modernise and clean up some C++ code.

  • Best score: 34
  • Best player score: 35
  • Position: #77 / 324
  • Number of attempts: 16
swap number pairs - 2115 entries

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

  • Best score: 16
  • Best player score: 16
  • Position: #21 / 384
  • Number of attempts: 7
Rural Post - 4526 entries

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

  • Best score: 9
  • Best player score: 9
  • Position: #136 / 1107
  • Number of attempts: 7
prepend * to every non-blank line - 6337 entries

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

  • Best score: 10
  • Best player score: 10
  • Position: #393 / 1546
  • Number of attempts: 5
Add semicolons - 10881 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 10
  • Position: #713 / 3072
  • Number of attempts: 8
Box it - 7916 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 23
  • Position: #801 / 1881
  • Number of attempts: 5
Just the middle - 11484 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Position: #1467 / 4209
  • Number of attempts: 4
Sergei Blinov
Twitter:

entered into 7 challenges

contributed 0 challenges