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 4dab05bff1161c5a78000011

Sort the cardinal numbers

Maybe a simple challenge.

Start file
Zero
One
Two
Three
Four
Five
Six
Seventeen
Sixteen
Fifteen
Fourteen
Thirteen
Twelve
Eleven
Ten
Nine
Eight
Seven
Eighteen
Nineteen
Twenty
Twenty-one
End file
Zero
One
Two
Three
Four
Five
Six
Seven
Eight
Nine
Ten
Eleven
Twelve
Thirteen
Fourteen
Fifteen
Sixteen
Seventeen
Eighteen
Nineteen
Twenty
Twenty-one

View Diff

8,17d7
< Seventeen
< Sixteen
< Fifteen
< Fourteen
< Thirteen
< Twelve
< Eleven
< Ten
< Nine
< Eight
18a9,18
> Eight
> Nine
> Ten
> Eleven
> Twelve
> Thirteen
> Fourteen
> Fifteen
> Sixteen
> Seventeen

Solutions by @tomvonclef:

Unlock 5 remaining solutions by signing in and submitting your own entry
Created by: @h_east

138 active golfers, 268 entries

Solutions by @tomvonclef:
12
#18 - Tom von Clef / @tomvonclef

12/15/2011 at 10:37PM

12
#>18 - Tom von Clef / @tomvonclef

12/15/2011 at 10:38PM

14
#>95 - Tom von Clef / @tomvonclef

12/15/2011 at 10:30PM

16
#>124 - Tom von Clef / @tomvonclef

12/15/2011 at 10:38PM

60
#>135 - Tom von Clef / @tomvonclef

12/15/2011 at 10:24PM