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

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

  • Best score: 30
  • Best player score: 34
  • Position: #74 / 225
  • Number of attempts: 5
replacing each line of a block selection - 2946 entries

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

  • Best score: 18
  • Best player score: 21
  • Position: #297 / 767
  • Number of attempts: 5
Reverse and double space - 489 entries

Reverse the order of the given lines and double space everything

  • Best score: 14
  • Best player score: 17
  • Position: #109 / 194
  • Number of attempts: 1
constructor - 180 entries

coding a constructor for a simple class

  • Best score: 59
  • Best player score: 67
  • Position: #9 / 58
  • Number of attempts: 8
switch variable - 5031 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 12
  • Position: #688 / 1735
  • Number of attempts: 2
Ugly spreadsheet copy/paste to CSV - 973 entries

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

  • Best score: 19
  • Best player score: 33
  • Position: #90 / 185
  • Number of attempts: 4
Replacing some words - 419 entries

How fast could it be?

  • Best score: 17
  • Best player score: 21
  • Position: #73 / 148
  • Number of attempts: 1
Make it more readable - 1952 entries

Insert blank lines to make it more organized and readable

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

entered into 8 challenges

contributed 0 challenges