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

how fast can you switch two variable ?

  • Best score: 9
  • Best player score: 11
  • Position: #67 / 1767
  • 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 - 330 entries

Maybe a simple challenge.

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

Insert blank lines to make it more organized and readable

  • Best score: 13
  • Best player score: 17
  • Position: #442 / 659
  • Number of attempts: 3
Line Zipper - 481 entries

Zip/pair related lines.

  • Best score: 12
  • Best player score: 17
  • Position: #202 / 218
  • Number of attempts: 1
remove dupes from array - 1379 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: #147 / 342
  • 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 - 1970 entries

Pretty simple, number the list.

  • Best score: 13
  • Best player score: 23
  • Position: #465 / 662
  • Number of attempts: 1
Reverse and count - 502 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: #155 / 182
  • 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