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

Just the middle - 10549 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 14
  • Number of attempts: 5
I forgot quotes - 14658 entries

Oops.

  • Best score: 10
  • Best player score: 28
  • Number of attempts: 2
Put the months in order - 765 entries

Our contractor thought that months should be in alphabetical order. Put them in calendar order please.

  • Best score: 20
  • Best player score: 45
  • Number of attempts: 2
Reformat/Refactor a Golfer Class - 5698 entries

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

  • Best score: 32
  • Best player score: 54
  • Number of attempts: 1
Capitalize the Names - 132 entries

I want to capitalize the names in quotes, but just the people's names, not the file names.

  • Best score: 21
  • Best player score: 84
  • Number of attempts: 1
Box it - 6516 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 31
  • Number of attempts: 2
Yo To Hello - 498 entries

Simply Turn Yo To Hello

  • Best score: 8
  • Best player score: 10
  • Number of attempts: 4
Add semicolons - 8474 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 17
  • Number of attempts: 3
One number per line - 16841 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 25
  • Number of attempts: 4
switch variable - 4696 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 11
  • Number of attempts: 6
Data reformat - 119 entries

Reformat this copy-paste data! #csv

  • Best score: 38
  • Best player score: 96
  • Number of attempts: 1
prepend * to every non-blank line - 3700 entries

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

  • Best score: 10
  • Best player score: 17
  • Number of attempts: 3
Michael V.
Twitter:

entered into 12 challenges

contributed 0 challenges