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

Inverting Lines - 1959 entries

A simple challenge to invert all lines, except the first.

  • Best score: 10
  • Best player score: 10
  • Position: #31 / 525
  • Number of attempts: 3
Modernise code - 1437 entries

Modernise and clean up some C++ code.

  • Best score: 34
  • Best player score: 44
  • Position: #176 / 332
  • Number of attempts: 1
HS Final exam vimgolf - 936 entries

Change the initial file to a single line containing all names comma-separated with numbers inside parentheses.

  • Best score: 21
  • Best player score: 31
  • Position: #155 / 245
  • Number of attempts: 2
prepend * to every non-blank line - 6390 entries

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

  • Best score: 10
  • Best player score: 12
  • Position: #783 / 1560
  • Number of attempts: 1
Box it - 7999 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 30
  • Position: #1411 / 1899
  • Number of attempts: 1
Every other line - 2945 entries

AaAaAaA

  • Best score: 12
  • Best player score: 15
  • Position: #308 / 710
  • Number of attempts: 1
Paragraph breaks - 534 entries

Swap the blank lines and the aaa lines.

  • Best score: 10
  • Best player score: 13
  • Position: #99 / 170
  • Number of attempts: 2
-a-b-c- - 3237 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 15
  • Position: #644 / 1145
  • Number of attempts: 1
Shivam Sharma
Twitter:

entered into 8 challenges

contributed 0 challenges