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

Exchanging Quotes - 859 entries

Sometimes you need to exchange a choice of quotes in some code.

  • Best score: 30
  • Best player score: 32
  • Position: #53 / 231
  • Number of attempts: 6
Reverse and double space - 500 entries

Reverse the order of the given lines and double space everything

  • Best score: 14
  • Best player score: 16
  • Position: #90 / 199
  • Number of attempts: 5
switch variable - 5085 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 11
  • Position: #103 / 1750
  • Number of attempts: 4
The meaning - 577 entries

Numbers are fun!

  • Best score: 5
  • Best player score: 5
  • Position: #71 / 364
  • Number of attempts: 3
Make it more readable - 2009 entries

Insert blank lines to make it more organized and readable

  • Best score: 13
  • Best player score: 15
  • Position: #234 / 652
  • Number of attempts: 4
Numbering a List - 1939 entries

Pretty simple, number the list.

  • Best score: 13
  • Best player score: 19
  • Position: #233 / 655
  • Number of attempts: 3
Whitespace, empty lines and tabs - 3795 entries

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

  • Best score: 16
  • Best player score: 17
  • Position: #62 / 816
  • Number of attempts: 8
Reformat/Refactor a Golfer Class - 7261 entries

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

  • Best score: 10
  • Best player score: 32
  • Position: #15 / 1792
  • Number of attempts: 8
VimGolfDzNrSQleot
Twitter:

entered into 8 challenges

contributed 0 challenges