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

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

  • Best score: 30
  • Best player score: 34
  • Position: #72 / 220
  • Number of attempts: 5
replacing each line of a block selection - 2883 entries

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

  • Best score: 18
  • Best player score: 21
  • Position: #292 / 756
  • Number of attempts: 5
Reverse and double space - 471 entries

Reverse the order of the given lines and double space everything

  • Best score: 14
  • Best player score: 17
  • Position: #106 / 190
  • Number of attempts: 1
constructor - 178 entries

coding a constructor for a simple class

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

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 12
  • Position: #683 / 1722
  • Number of attempts: 2
Ugly spreadsheet copy/paste to CSV - 952 entries

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

  • Best score: 19
  • Best player score: 33
  • Position: #89 / 183
  • Number of attempts: 4
Replacing some words - 418 entries

How fast could it be?

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

Insert blank lines to make it more organized and readable

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

entered into 8 challenges

contributed 0 challenges