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

The best way to learn is to practice. Below, you will find some of the solutions other golfers have entered. To unlock higher ranked solutions, submit your own entry which does as well or better than the solutions you can currently see - climb the ladder!

Check out these helpful resources to improve your Vim skills... Game on.

Unlock 116 remaining solutions by signing in and submitting your own entry
#117 Robert Robotter / @robrob12 - Score: 99 - 07/19/11 @ 09:13
18Gdd7Gp18Gdd8Gp18Gdd9Gp18Gdd10Gp18:<Esc><Esc>18Gdd11Go<Esc>up18Gdd12Gp18Gdd13Gp18Gdd14Gp18Gdd15Gp18Gdd16Gp<Esc>:x<CR>

0 comments


Created by: @h_east

117 active golfers, 203 entries

Leaderboard (lowest score wins):
12
#1 - Tim Chase / @gumnos

04/19/2011 at 01:38AM

12
#2 - Wei Dai / @clvv42

04/19/2011 at 04:18AM

12
#3 - Stephen Morrow / @yawmark

04/19/2011 at 05:15PM

12
#4 - Terje Larsen / @terlars

04/19/2011 at 06:56PM

12
#5 - Oleg Roshupkin / @jjjahson

04/22/2011 at 09:32AM

12
#6 - Sergey Doroshenko / @dorserg

05/01/2011 at 05:03AM

12
#7 - Chad Ostrowski / @chadoh

05/06/2011 at 03:28PM

12
#8 - Utkarsh Kukreti / @utkarshkukreti

05/26/2011 at 11:40PM

12
#9 - Johan Sveholm / @rymdtjuren

06/22/2011 at 06:57AM

12
#10 - xaizek / @xaizek

07/17/2011 at 03:02PM

12
#11 - Hu Junfeng / @junfeng

08/04/2011 at 01:29PM

12
#12 - TchiKong / @tchikong

08/23/2011 at 06:22PM

12
#13 - Petro Verkhogliad / @vpetro

08/28/2011 at 08:00PM

12
#14 - Justin Love / @wondible

09/12/2011 at 06:10PM

12
#15 - nicolas bo / @thevegeta

11/05/2011 at 11:51AM

12
#16 - Gerred Dillon / @justicefries

11/16/2011 at 07:14AM

12
#17 - You-Siang Lin / @yslinnctu

11/29/2011 at 05:28AM

12
#18 - Tom von Clef / @tomvonclef

12/15/2011 at 10:37PM

12
#19 - Vasil Sakarov / @vsakarov

01/04/2012 at 08:23PM

12
#20 - Abdel Said / @abdelsaid

02/01/2012 at 09:17PM

12
#21 - Renat Aksitov / @Korvin79

02/08/2012 at 11:04PM

12
#22 - Jim Nanney / @jnanney

02/10/2012 at 03:51AM

12
#23 - Dan Huang / @yuzeh

02/16/2012 at 10:13PM

12
#24 - Sebastian Kusnier / @skusnier

05/09/2012 at 09:43PM

12
#25 - CyLiu / @CyLiu

05/15/2012 at 02:45PM

12
#26 - Urtica dioica / @udioica

05/27/2012 at 12:19PM

12
#27 - mwatkward / @AftrschoolSpe

07/02/2012 at 10:11PM

12
#28 - John Piasetzki / @jpiasetz

07/13/2012 at 06:10AM

12
#29 - wes / @_weslly

07/19/2012 at 01:35AM

12
#30 - Jordan Sitkin / @DustMason

07/29/2012 at 07:58PM