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 142 remaining solutions by signing in and submitting your own entry
#143 abhijeet patil / @abhijeetptl5 - Score: 176 - 09/04/20 @ 09:29
7j<Down><Down><Down><Down><Down><Down><Down><Down><Down><Down>dd<Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up>p<Down><Down><Down><Down><Down><Down><Down><Down><Down><Down>dd<Up><Up><Up><Up><Up><Up><Up><Up><Up><Up>p<Down><Down><Down><Down><Down><Down><Down><Down><Down>dd<Up><Up><Up><Up><Up><Up><Up><Up><Up>p<Down><Down><Down><Down><Down><Down><Down><Down>dd<Up><Up><Up><Up><Up><Up><Up><Up>p<Down><Down><Down><Down><Down><Down><Down>dd<Up><Up><Up><Up><Up><Up><Up>p<Down><Down><Down><Down><Down>dd<Down>p<Up><Up>dd<Up><Up><Up><Up><Up>p<Down><Down><Down><Down><Down><Up>dd<Up><Up><Up><Up>p<Down><Down><Down><Down><Down>dd<Up><Up><Up><Up><Up><Up>p<Down><Down><Down><Down>dd<Up><Up><Up>p<Down><Down>dd<Up><Up>p<Down><Down><Down><Down><Down>ZZ

0 comments


Created by: @h_east

143 active golfers, 284 entries

Leaderboard (lowest score wins):
14
#91 - Matt Donahoe / @mdonahoe

10/22/2011 at 05:02AM

14
#92 - Thunderke / @Thunderke

11/02/2011 at 03:59PM

14
#93 - vimja / @vimja666

11/05/2011 at 05:52AM

14
#94 - William Dunand / @wdunand

11/07/2011 at 03:55AM

14
#95 - Matt Woelk / @MattWoelk

11/11/2011 at 11:04PM

14
#96 - Milan Dobrota / @milandobrota

11/20/2011 at 07:56AM

14
#97 - Gabriel Barta / @gbarta

12/04/2011 at 09:21AM

14
#98 - Mislav Marohnić / @mislav

12/06/2011 at 04:37PM

14
#99 - 0x5042 / @0x5042

12/25/2011 at 09:17AM

14
#100 - Christopher Brew / @Seph1rothVII

01/10/2012 at 09:13PM

14
#101 - Burkhard Zimmermann / @BurkZimm

01/19/2012 at 10:11PM

14
#102 - Lin Yangyang / @canoelyy

01/31/2012 at 06:21AM

14
#103 - Kurt Gaastra / @KGaastra

02/13/2012 at 03:28AM

14
#104 - João Veiga / @jcsvveiga

02/13/2012 at 09:45PM

14
#105 - Vicente Sánchez / @froysm

02/24/2012 at 05:47PM

14
#106 - Lukas / @cast3r

03/12/2012 at 11:15PM

14
#107 - Christian Helbling / @friendly_coder

03/24/2012 at 11:56PM

14
#108 - Chris Moylan / @chrismoylan

04/19/2012 at 01:59AM

14
#109 - ise0615 / @ise0615

05/04/2012 at 05:43PM

14
#110 - retired account / @retired10072015

08/20/2012 at 05:09PM

14
#111 - Nicolas Friedli / @NicolasFriedli

10/28/2012 at 02:36PM

14
#112 - Tyler / @tylerbindon

04/07/2013 at 04:15AM

14
#113 - Justin / @justinjaffray

04/26/2013 at 01:39PM

14
#114 - Chris Brown / @engineercyb

08/06/2013 at 11:26PM

14
#115 - James / @Dronak

09/03/2013 at 02:01AM

14
#116 - Marcin Szamotulski / @me_coot

10/12/2013 at 11:23PM

14
#117 - cj / @cj01101

11/21/2013 at 04:27AM

14
#118 - Tudor Barbu / @motanelu

01/09/2014 at 02:07PM

14
#119 - Joonas Pihlajamaa / @jokkebk

03/03/2014 at 01:30PM

14
#120 - Mark Inksa / @MInksaCS

05/13/2014 at 09:49PM