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

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

  • Best score: 10
  • Best player score: 11
  • Position: #752 / 1551
  • Number of attempts: 9
One number per line - 18801 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 23
  • Position: #3132 / 3882
  • Number of attempts: 4
Box it - 7954 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 29
  • Position: #1298 / 1886
  • Number of attempts: 2
Whitespace, empty lines and tabs - 3795 entries

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

  • Best score: 16
  • Best player score: 28
  • Position: #506 / 816
  • Number of attempts: 3
Simple text editing with Vim - 13143 entries

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

  • Best score: 13
  • Best player score: 25
  • Position: #3221 / 3777
  • Number of attempts: 1
Reformat/Refactor a Golfer Class - 7259 entries

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

  • Best score: 10
  • Best player score: 41
  • Position: #947 / 1791
  • Number of attempts: 10
coffee-addict
Twitter:

競プロ

entered into 6 challenges

contributed 0 challenges