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

Modernise and clean up some C++ code.

  • Best score: 34
  • Best player score: 35
  • Position: #65 / 238
  • Number of attempts: 16
swap number pairs - 1817 entries

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

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

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

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

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

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

Simply add a semicolon at the end of each line

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

Create a box around a line.

  • Best score: 21
  • Best player score: 23
  • Position: #793 / 1842
  • Number of attempts: 5
Just the middle - 11284 entries

Delete the instructions at the top and bottom.

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

entered into 7 challenges

contributed 0 challenges