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

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

  • Best score: 30
  • Best player score: 34
  • Position: #75 / 227
  • Number of attempts: 5
replacing each line of a block selection - 2966 entries

replace each line's ../assets/js with /javascripts

  • Best score: 18
  • Best player score: 21
  • Position: #300 / 772
  • Number of attempts: 5
Reverse and double space - 498 entries

Reverse the order of the given lines and double space everything

  • Best score: 14
  • Best player score: 17
  • Position: #111 / 197
  • Number of attempts: 1
constructor - 181 entries

coding a constructor for a simple class

  • Best score: 59
  • Best player score: 67
  • Position: #10 / 59
  • Number of attempts: 8
switch variable - 5045 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 12
  • Position: #691 / 1742
  • Number of attempts: 2
Ugly spreadsheet copy/paste to CSV - 978 entries

convert an ugly spreadsheet copy/paste into a CSV format.

  • Best score: 19
  • Best player score: 33
  • Position: #91 / 188
  • Number of attempts: 4
Replacing some words - 420 entries

How fast could it be?

  • Best score: 17
  • Best player score: 21
  • Position: #74 / 149
  • Number of attempts: 1
Make it more readable - 1955 entries

Insert blank lines to make it more organized and readable

  • Best score: 13
  • Best player score: 15
  • Position: #218 / 643
  • Number of attempts: 2
Henri Wiechers
Twitter:

entered into 8 challenges

contributed 0 challenges