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 129 remaining solutions by signing in and submitting your own entry
#130 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

130 active golfers, 234 entries

Leaderboard (lowest score wins):
14
#91 - 0x5042 / @0x5042

12/25/2011 at 09:17AM

14
#92 - Christopher Brew / @Seph1rothVII

01/10/2012 at 09:13PM

14
#93 - Burkhard Zimmermann / @BurkZimm

01/19/2012 at 10:11PM

14
#94 - Lin Yangyang / @canoelyy

01/31/2012 at 06:21AM

14
#95 - Kurt Gaastra / @KGaastra

02/13/2012 at 03:28AM

14
#96 - João Veiga / @jcsvveiga

02/13/2012 at 09:45PM

14
#97 - Vicente Sánchez / @froysm

02/24/2012 at 05:47PM

14
#98 - Lukas / @cast3r

03/12/2012 at 11:15PM

14
#99 - Christian Helbling / @friendly_coder

03/24/2012 at 11:56PM

14
#100 - Chris Moylan / @chrismoylan

04/19/2012 at 01:59AM

14
#101 - ise0615 / @ise0615

05/04/2012 at 05:43PM

14
#102 - retired account / @retired10072015

08/20/2012 at 05:09PM

14
#103 - Nicolas Friedli / @NicolasFriedli

10/28/2012 at 02:36PM

14
#104 - Tyler / @tylerbindon

04/07/2013 at 04:15AM

14
#105 - Justin / @justinjaffray

04/26/2013 at 01:39PM

14
#106 - Chris Brown / @engineercyb

08/06/2013 at 11:26PM

14
#107 - James / @Dronak

09/03/2013 at 02:01AM

14
#108 - Marcin Sza / @coot_

10/12/2013 at 11:23PM

14
#109 - cj / @cj01101

11/21/2013 at 04:27AM

14
#110 - Tudor Barbu / @motanelu

01/09/2014 at 02:07PM

14
#111 - Joonas Pihlajamaa / @jokkebk

03/03/2014 at 01:30PM

14
#112 - Mark Inksa / @MInksaCS

05/13/2014 at 09:49PM

14
#113 - LC / @leeren

08/10/2014 at 01:19AM

14
#114 - Benny Wong / @bdotdub

07/01/2015 at 04:36PM

14
#115 - Brandon Blakeley / @zkelvin

11/25/2017 at 05:05AM

14
#116 - Johannes Riecken / @rubystallion

01/15/2020 at 07:26PM

16
#117 - Marco Ippolito / @maroloccio

05/09/2011 at 01:13AM

16
#118 - Vito / @GodFather

05/20/2013 at 12:01AM

16
#119 - Oliver Christ / @0liverChrist

05/22/2015 at 08:44PM

18
#120 - Joshua Moyers / @joshuamoyers

08/03/2011 at 03:37AM