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

constructor - 180 entries

coding a constructor for a simple class

  • Best score: 59
  • Best player score: 127
  • Position: #47 / 58
  • Number of attempts: 1
switch variable - 5036 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 11
  • Position: #66 / 1736
  • Number of attempts: 3
Ugly spreadsheet copy/paste to CSV - 973 entries

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

  • Best score: 19
  • Best player score: 50
  • Position: #146 / 185
  • Number of attempts: 2
Replacing some words - 419 entries

How fast could it be?

  • Best score: 17
  • Best player score: 35
  • Position: #123 / 148
  • Number of attempts: 1
Sort the cardinal numbers - 293 entries

Maybe a simple challenge.

  • Best score: 12
  • Best player score: 12
  • Position: #23 / 146
  • Number of attempts: 2
Make it more readable - 1952 entries

Insert blank lines to make it more organized and readable

  • Best score: 13
  • Best player score: 17
  • Position: #429 / 640
  • Number of attempts: 3
Line Zipper - 450 entries

Zip/pair related lines.

  • Best score: 12
  • Best player score: 17
  • Position: #194 / 210
  • Number of attempts: 1
remove dupes from array - 1336 entries

given a random string that contains a ruby-esque array, make sure that there are no duplicate elements

  • Best score: 17
  • Best player score: 21
  • Position: #141 / 331
  • Number of attempts: 2
Sort entries based on date - 363 entries

Sort some entries in a Ledger-file based on date.

  • Best score: 11
  • Best player score: 11
  • Position: #22 / 114
  • Number of attempts: 6
Numbering a List - 1859 entries

Pretty simple, number the list.

  • Best score: 13
  • Best player score: 23
  • Position: #447 / 639
  • Number of attempts: 1
Reverse and count - 456 entries

Someone typed things upside down and now a Vim ninja needs to reverse the lines and count how many there are.

  • Best score: 18
  • Best player score: 33
  • Position: #148 / 172
  • Number of attempts: 1
Dan Huang
Twitter:

@stanford math '12, formerly one of the @terns, amateur chef, occasional musician. soon to be an engineer @twitter.

entered into 11 challenges

contributed 0 challenges