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

coding a constructor for a simple class

  • Best score: 59
  • Best player score: 127
  • Position: #49 / 62
  • Number of attempts: 1
switch variable - 5128 entries

how fast can you switch two variable ?

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

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

  • Best score: 19
  • Best player score: 50
  • Position: #157 / 199
  • Number of attempts: 2
Replacing some words - 445 entries

How fast could it be?

  • Best score: 17
  • Best player score: 35
  • Position: #126 / 152
  • Number of attempts: 1
Sort the cardinal numbers - 328 entries

Maybe a simple challenge.

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

Insert blank lines to make it more organized and readable

  • Best score: 13
  • Best player score: 17
  • Position: #441 / 658
  • Number of attempts: 3
Line Zipper - 480 entries

Zip/pair related lines.

  • Best score: 12
  • Best player score: 17
  • Position: #201 / 217
  • Number of attempts: 1
remove dupes from array - 1377 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: #146 / 341
  • Number of attempts: 2
Sort entries based on date - 432 entries

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

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

Pretty simple, number the list.

  • Best score: 13
  • Best player score: 23
  • Position: #464 / 661
  • Number of attempts: 1
Reverse and count - 501 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: #154 / 181
  • 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