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

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

  • Best score: 30
  • Best player score: 32
  • Position: #47 / 217
  • Number of attempts: 6
Reverse and double space - 433 entries

Reverse the order of the given lines and double space everything

  • Best score: 14
  • Best player score: 16
  • Position: #80 / 179
  • Number of attempts: 5
switch variable - 4894 entries

how fast can you switch two variable ?

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

Numbers are fun!

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

Insert blank lines to make it more organized and readable

  • Best score: 13
  • Best player score: 15
  • Position: #217 / 615
  • Number of attempts: 4
Numbering a List - 1799 entries

Pretty simple, number the list.

  • Best score: 13
  • Best player score: 19
  • Position: #204 / 616
  • Number of attempts: 3
Whitespace, empty lines and tabs - 2831 entries

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

  • Best score: 16
  • Best player score: 17
  • Position: #33 / 644
  • Number of attempts: 8
Reformat/Refactor a Golfer Class - 5889 entries

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

  • Best score: 32
  • Best player score: 32
  • Position: #12 / 1456
  • Number of attempts: 8
VimGolfDzNrSQleot
Twitter:

entered into 8 challenges

contributed 0 challenges