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

Rural Post - 4602 entries

Simple challenge to remove all but the post code on each line

  • Best score: 9
  • Best player score: 14
  • Position: #722 / 1124
  • Number of attempts: 2
Data reformat - 321 entries

Reformat this copy-paste data! #csv

  • Best score: 36
  • Best player score: 96
  • Position: #59 / 68
  • Number of attempts: 1
Capitalize the Names - 435 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
  • Position: #98 / 102
  • Number of attempts: 1
Yo To Hello - 1156 entries

Simply Turn Yo To Hello

  • Best score: 8
  • Best player score: 10
  • Position: #63 / 537
  • Number of attempts: 4
prepend * to every non-blank line - 6395 entries

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

  • Best score: 10
  • Best player score: 17
  • Position: #1122 / 1562
  • Number of attempts: 3
One number per line - 18903 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 25
  • Position: #3396 / 3904
  • Number of attempts: 4
Add semicolons - 10956 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 17
  • Position: #2619 / 3098
  • Number of attempts: 3
Box it - 8003 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 31
  • Position: #1480 / 1901
  • Number of attempts: 2
Just the middle - 11616 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 14
  • Position: #4183 / 4255
  • Number of attempts: 5
Put the months in order - 1001 entries

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

  • Best score: 20
  • Best player score: 45
  • Position: #104 / 168
  • Number of attempts: 2
I forgot quotes - 16237 entries

Oops.

  • Best score: 10
  • Best player score: 28
  • Position: #4110 / 4224
  • Number of attempts: 2
switch variable - 5128 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 11
  • Position: #613 / 1764
  • Number of attempts: 6
Reformat/Refactor a Golfer Class - 7681 entries

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

  • Best score: 7
  • Best player score: 54
  • Position: #1598 / 1889
  • Number of attempts: 1
Michael V.
Twitter:

entered into 13 challenges

contributed 0 challenges