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

Modernise and clean up some C++ code.

  • Best score: 34
  • Best player score: 35
  • Position: #44 / 146
  • Number of attempts: 16
swap number pairs - 1254 entries

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

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

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

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

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

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

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 10
  • Position: #714 / 2966
  • Number of attempts: 8
Box it - 7657 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 23
  • Position: #785 / 1829
  • Number of attempts: 5
Just the middle - 11086 entries

Delete the instructions at the top and bottom.

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

entered into 7 challenges

contributed 0 challenges