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

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

  • Best score: 10
  • Best player score: 11
  • Position: #749 / 1537
  • Number of attempts: 9
One number per line - 18727 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 23
  • Position: #3122 / 3864
  • Number of attempts: 4
Box it - 7905 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 29
  • Position: #1289 / 1876
  • Number of attempts: 2
Whitespace, empty lines and tabs - 3665 entries

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

  • Best score: 16
  • Best player score: 28
  • Position: #490 / 787
  • Number of attempts: 3
Simple text editing with Vim - 12811 entries

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

  • Best score: 13
  • Best player score: 25
  • Position: #3155 / 3694
  • Number of attempts: 1
Reformat/Refactor a Golfer Class - 6982 entries

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

  • Best score: 28
  • Best player score: 41
  • Position: #927 / 1706
  • Number of attempts: 10
coffee-addict
Twitter:

競プロ

entered into 6 challenges

contributed 0 challenges