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

Rotating Philosophers Problem - 410 entries

Can you help the philosophers find a good place to sit before they get five forks and spaghetti?

  • Best score: 29
  • Best player score: 31
  • Position: #91 / 166
  • Number of attempts: 2
HTML to Haml - 881 entries

Help convert this HTML page to Haml.

  • Best score: 23
  • Best player score: 34
  • Position: #87 / 205
  • Number of attempts: 3
Reformat long lines - 361 entries

Rearrange this ruby method call to put each parameter on its own line. Could become a useful macro.

  • Best score: 15
  • Best player score: 21
  • Position: #92 / 135
  • Number of attempts: 2
Generate English Alphabets - 498 entries

Start with a, get up to z.

  • Best score: 19
  • Best player score: 26
  • Position: #145 / 208
  • Number of attempts: 1
Ruby 1.9 hashes - 1258 entries

Rubyists talk about being cutting edge but how many are using 1.9 in production? Time to convert those verbose 1.8 hashes in to symbolic, succinct 1.9 beauties!

  • Best score: 12
  • Best player score: 15
  • Position: #255 / 409
  • Number of attempts: 4
Shebangs for all - 2046 entries

We've all seen or used a shebang once or twice. Ditch the specific paths and leave just a dynamic Ruby and Python bath behind.

  • Best score: 11
  • Best player score: 12
  • Position: #89 / 522
  • Number of attempts: 7
A Simple One - 1064 entries

Here is a very simple one - just to illustrate/introduce a vim feature that some people seem to miss...

  • Best score: 9
  • Best player score: 13
  • Position: #619 / 670
  • Number of attempts: 2
82 bottles of beer on the wall - 313 entries

Take them down. (sorry, only 82 bottles because the problem size is limited!)

  • Best score: 106
  • Best player score: 133
  • Position: #85 / 146
  • Number of attempts: 1
Table Reshuffle - 450 entries

Fix the column order in this table... also append the new 'username' column.

  • Best score: 22
  • Best player score: 68
  • Position: #141 / 144
  • Number of attempts: 1
Ruby 1.9 compat - 640 entries

Remember when Ruby supported `when <expr> :`? Well, it doesn't in 1.9, so let's make sure we use `then`, without ruining our lovely new hash syntax!

  • Best score: 14
  • Best player score: 36
  • Position: #233 / 236
  • Number of attempts: 4
Hatsuyume - 548 entries

http://en.wikipedia.org/wiki/Hatsuyume

  • Best score: 15
  • Best player score: 24
  • Position: #65 / 189
  • Number of attempts: 4
The Cake is a Lie - 1374 entries

Correct the capitalization of each word

  • Best score: 9
  • Best player score: 10
  • Position: #313 / 534
  • Number of attempts: 3
Make Fancy Header - 1070 entries

Make the header text stand out with surrounding asterisks

  • Best score: 15
  • Best player score: 17
  • Position: #159 / 348
  • Number of attempts: 3
Reconstruct the Sentence - 1647 entries

Get the sentence back in the proper order, remove duplicate lines, and then combine the separate lines into one.

  • Best score: 19
  • Best player score: 28
  • Position: #387 / 433
  • Number of attempts: 1
Tien Le
Twitter:

Simplicity is the ultimate sophistication - Leonardo Da Vinci

entered into 14 challenges

contributed 0 challenges