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

Modernise and clean up some C++ code.

  • Best score: 34
  • Best player score: 35
  • Number of attempts: 16
swap number pairs - 1037 entries

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

  • Best score: 16
  • Best player score: 16
  • Number of attempts: 7
Rural Post - 3616 entries

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

  • Best score: 9
  • Best player score: 9
  • Number of attempts: 7
prepend * to every non-blank line - 5701 entries

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

  • Best score: 10
  • Best player score: 10
  • Number of attempts: 5
Add semicolons - 10284 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 10
  • Number of attempts: 8
Box it - 7598 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 23
  • Number of attempts: 5
Just the middle - 11073 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Number of attempts: 4
Sergei Blinov
Twitter:

entered into 7 challenges

contributed 0 challenges