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

prepend * to every non-blank line - 6208 entries

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

  • Best score: 10
  • Best player score: 11
  • Position: #738 / 1517
  • Number of attempts: 9
One number per line - 18616 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 23
  • Position: #3109 / 3842
  • Number of attempts: 4
Box it - 7828 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 29
  • Position: #1282 / 1865
  • Number of attempts: 2
Whitespace, empty lines and tabs - 3340 entries

Convert tabs to spaces, strip empty lines and trailing whitespace.

  • Best score: 16
  • Best player score: 28
  • Position: #459 / 737
  • Number of attempts: 3
Simple text editing with Vim - 12290 entries

Make the pairs of lines match up by making each second line same as first

  • Best score: 13
  • Best player score: 25
  • Position: #3064 / 3581
  • Number of attempts: 1
Reformat/Refactor a Golfer Class - 6563 entries

A simple case of removing unneeded code and fixing broken indentation.

  • Best score: 32
  • Best player score: 41
  • Position: #895 / 1617
  • Number of attempts: 10
coffee-addict
Twitter:

競プロ

entered into 6 challenges

contributed 0 challenges