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

Multiline to Single Line - 410 entries

Convert a multiline, indented file to a single line with no whitespace

  • Best score: 5
  • Best player score: 5
  • Position: #2 / 196
  • Number of attempts: 1
prepend * to every non-blank line - 5851 entries

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

  • Best score: 10
  • Best player score: 11
  • Position: #561 / 1440
  • Number of attempts: 8
Add semicolons - 10480 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 13
  • Position: #1911 / 2972
  • Number of attempts: 1
Box it - 7667 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 41
  • Position: #1678 / 1831
  • Number of attempts: 1
Just the middle - 11102 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 14
  • Position: #4033 / 4100
  • Number of attempts: 1
Gabe Pohl-Zaretsky
Twitter:

entered into 5 challenges

contributed 0 challenges