Real Vim ninjas count every keystroke - do you?

Pick a challenge, fire up Vim, and show us what you got.

Leaderboard, 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 88 remaining solutions by signing in and submitting your own entry
#89 Justin / @justinjaffray - Score: 14 - 04/26/13 @ 13:39
:9,18g/./m7<CR>ZZ

0 comments

#90 Chris Brown / @engineercyb - Score: 14 - 08/06/13 @ 23:26
:8,18g/^/m7<CR>ZZ

0 comments

#91 James / @Dronak - Score: 14 - 09/03/13 @ 02:01
:8,18g/^/m7<CR>ZZ

0 comments

#92 Marcin Sza / @coot_ - Score: 14 - 10/12/13 @ 23:23
6<CR>12:g/./m7<CR>ZZ

0 comments

#93 cj / @cj01101 - Score: 14 - 11/21/13 @ 04:27
:8,18g/^/m7<CR>ZZ

0 comments

#94 Tudor Barbu / @motanelu - Score: 14 - 01/09/14 @ 14:07
:8,18g/^/m7<CR>ZZ

0 comments

#95 Joonas Pihlajamaa / @jokkebk - Score: 14 - 03/03/14 @ 13:30
:8,18g/./m7<CR>ZZ

0 comments

#96 Mark Inksa / @MInksaCS - Score: 14 - 05/13/14 @ 21:49
:8,18g/^/m7<CR>ZZ

0 comments

#97 Leeren / @Leeren - Score: 14 - 08/10/14 @ 01:19
:8,18g/^/m7<CR>ZZ

0 comments

#98 Marco Ippolito / @maroloccio - Score: 16 - 05/09/11 @ 01:13
:8,18g/./m7<CR>:wq<CR>

0 comments

#99 Vito / @GodFather - Score: 16 - 05/20/13 @ 00:01
9Gqqdd7Gp<C-O>q9@qZZ

0 comments

#100 Joshua Moyers / @joshuamoyers - Score: 18 - 08/03/11 @ 03:37
:8,18g/,/<BS><BS>./m7<CR>ZZ

0 comments

#101 Anton Lee / @antoshalee - Score: 18 - 08/15/11 @ 16:28
:8,18g/^/m7<CR>:w<CR>:q<CR>

0 comments

#102 Will Gray / @graywh - Score: 20 - 05/06/11 @ 20:20
18G11@='"Addk'<CR>"apZZ

0 comments

#103 teliotoilet / @teliotoilet - Score: 21 - 10/15/11 @ 07:39
:9<CR>qajmmk:m7<CR>`mq9@aZZ

0 comments

#104 Andrés Moya / @amoyafoss - Score: 23 - 06/22/12 @ 08:13
:8<BS>9<CR>qajmmk:m7<CR>'mq9@aZZ

0 comments

#105 無ん垢の叫び / @john_ababa - Score: 42 - 02/27/12 @ 12:23
7jd9jpd8jpd7jpd6jpd5jpd4jpd3jpd2jpdjpddpZZ

0 comments

#106 Yann Moisan / @YannMoisan - Score: 46 - 01/02/13 @ 12:58
8G10ddPup9ddp8ddp7ddp6ddp5ddp4ddp3ddp2ddpddpZZ

0 comments

#107 Jason Axelson / @bostonvaulter - Score: 52 - 05/10/11 @ 09:04
:8<CR>d10jPuud9jpd8jpd7jpd6jpd5jpd4jpd3jpd2jpdjpddp:wq<CR>

0 comments

#108 Oliver Christ / @0liverChrist - Score: 72 - 02/28/15 @ 23:31
jjjjjjj:m18<CR>k:m8<CR>u:m7<CR>j:17<CR>:m8<CR>j:m16<CR>j:m9<CR>j:m15<CR>j:m10<CR>j:m14<CR>j:m11<CR>jddpZZ

0 comments

#109 roy blankman / @riblankman - Score: 81 - 07/26/11 @ 08:46
7jdd9jp9kkdd8jp8kkdd7jp7kkkjjkdd6jp7kdd5jp6kdd4jp4kkdd3jp4kdd2jp3kddjpkkddp:w<CR>:q<CR>

0 comments

#110 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

110 active golfers, 184 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 - Dr. Funkenstein / @_weslly

07/19/2012 at 01:35AM

12
#30 - Jordan Sitkin / @DustMason

07/29/2012 at 07:58PM

12
#31 - Joseph J. Piché / @jjpiche

08/26/2012 at 01:18AM

12
#32 - Trevor Powell / @DoomedBunnies

03/20/2013 at 01:55AM

12
#33 - Gtranbot / @gtranbot

04/27/2013 at 10:48AM

12
#34 - Marco Hinz / @_mhinz_

05/23/2013 at 04:56PM

12
#35 - Petro Тrouq / @zulolosi

07/03/2013 at 06:47PM

12
#36 - Steve Tjoa / @stevetjoa

08/09/2013 at 11:21PM

12
#37 - Xelrifos / @Xelrifos

02/20/2014 at 07:50PM

12
#38 - John Braxler / @braxler

07/31/2014 at 08:26PM

13
#39 - Mikael Gustavsson / @slvmnd

04/18/2011 at 03:22PM

13
#40 - Balkoth / @_Balkoth_

04/18/2011 at 05:59PM

13
#41 - Kerson Hsiao / @KersonHsiao

05/10/2012 at 09:11AM

14
#42 - xhtmlforum / @xhtmlforum

04/17/2011 at 05:34PM

14
#43 - Pete Johns / @johnsyweb

04/17/2011 at 10:11PM

14
#44 - Malaney / @iamjh

04/18/2011 at 05:15AM

14
#45 - Tomasz Zurkowski / @doriath88

04/18/2011 at 10:35AM

14
#46 - Dmitry Teslenko / @krab_mozga

04/18/2011 at 12:08PM

14
#47 - Abhishek Mukherjee / @abhishekmukherg

04/18/2011 at 05:31PM

14
#48 - Dragan Cvetinovic / @kawkafi

04/19/2011 at 08:42PM

14
#49 - Sam / @dtjohnnymonkey

04/19/2011 at 10:43PM

14
#50 - Andrey A. Ugolnik / @andreyugolnik

04/20/2011 at 10:56PM

14
#51 - Zak Johnson / @zakj

04/21/2011 at 01:57AM

14
#52 - h_east (DDD ready) / @h_east

04/23/2011 at 08:24AM

14
#53 - こばばー / @symmet

04/24/2011 at 12:34PM

14
#54 - Mohammed / @mbadran

05/11/2011 at 06:50AM

14
#55 - Ian McCowan / @valrus

05/29/2011 at 07:02PM

14
#56 - mightyfoo / @mightyfoo

05/30/2011 at 06:10PM

14
#57 - Jean-Rene David / @jeanrenedavid

06/11/2011 at 09:43PM

14
#58 - not so punk :] / @notsopunk

06/19/2011 at 08:32AM

14
#59 - Dan Masquelier / @danmasq

07/01/2011 at 09:58PM

14
#60 - Øystein Walle / @oysteinwalle

07/05/2011 at 04:04PM

14
#61 - Dave / @zzdave13

07/14/2011 at 10:32PM

14
#62 - Sergi Sorribas / @lerovitch

08/29/2011 at 02:24PM

14
#63 - Tim Tsu / @vimgolfpunk

09/03/2011 at 03:40PM

14
#64 - Dario Cazzaro / @darioqa

09/17/2011 at 06:12PM

14
#65 - Christopher Erin / @Chris__Erin

09/21/2011 at 08:48PM

14
#66 - Ben Sherman / @bensherman

10/18/2011 at 11:54PM

14
#67 - Matt Donahoe / @mdonahoe

10/22/2011 at 05:02AM

14
#68 - Thunderke / @Thunderke

11/02/2011 at 03:59PM

14
#69 - vimja / @vimja666

11/05/2011 at 05:52AM

14
#70 - William Dunand / @wdunand

11/07/2011 at 03:55AM

14
#71 - Matt Woelk / @MattWoelk

11/11/2011 at 11:04PM

14
#72 - Milan Dobrota / @milandobrota

11/20/2011 at 07:56AM

14
#73 - Gabriel Barta / @gbarta

12/04/2011 at 09:21AM

14
#74 - Mislav Marohnić / @mislav

12/06/2011 at 04:37PM

14
#75 - 0x5042 / @0x5042

12/25/2011 at 09:17AM

14
#76 - Christopher Brew / @Seph1rothVII

01/10/2012 at 09:13PM

14
#77 - Burkhard Zimmermann / @BurkZimm

01/19/2012 at 10:11PM

14
#78 - Lin Yangyang / @canoelyy

01/31/2012 at 06:21AM

14
#79 - Kurt Gaastra / @KGaastra

02/13/2012 at 03:28AM

14
#80 - João Veiga / @jcsvveiga

02/13/2012 at 09:45PM

14
#81 - Vicente Sánchez / @froysm

02/24/2012 at 05:47PM

14
#82 - Lukas / @cast3r

03/12/2012 at 11:15PM

14
#83 - Christian Helbling / @friendly_coder

03/24/2012 at 11:56PM

14
#84 - Chris Moylan / @chrismoylan

04/19/2012 at 01:59AM

14
#85 - ise0615 / @ise0615

05/04/2012 at 05:43PM

14
#86 - Joseph Reddington / @joereddington

08/20/2012 at 05:09PM

14
#87 - Nicolas Friedli / @NicolasFriedli

10/28/2012 at 02:36PM

14
#88 - Tyler / @tylerbindon

04/07/2013 at 04:15AM

14
#89 - Justin / @justinjaffray

04/26/2013 at 01:39PM

14
#90 - Chris Brown / @engineercyb

08/06/2013 at 11:26PM

14
#91 - James / @Dronak

09/03/2013 at 02:01AM

14
#92 - Marcin Sza / @coot_

10/12/2013 at 11:23PM

14
#93 - cj / @cj01101

11/21/2013 at 04:27AM

14
#94 - Tudor Barbu / @motanelu

01/09/2014 at 02:07PM

14
#95 - Joonas Pihlajamaa / @jokkebk

03/03/2014 at 01:30PM

14
#96 - Mark Inksa / @MInksaCS

05/13/2014 at 09:49PM

14
#97 - Leeren / @Leeren

08/10/2014 at 01:19AM

16
#98 - Marco Ippolito / @maroloccio

05/09/2011 at 01:13AM

16
#99 - Vito / @GodFather

05/20/2013 at 12:01AM

18
#100 - Joshua Moyers / @joshuamoyers

08/03/2011 at 03:37AM

18
#101 - Anton Lee / @antoshalee

08/15/2011 at 04:28PM

20
#102 - Will Gray / @graywh

05/06/2011 at 08:20PM

21
#103 - teliotoilet / @teliotoilet

10/15/2011 at 07:39AM

23
#104 - Andrés Moya / @amoyafoss

06/22/2012 at 08:13AM

42
#105 - 無ん垢の叫び / @john_ababa

02/27/2012 at 12:23PM

46
#106 - Yann Moisan / @YannMoisan

01/02/2013 at 12:58PM

52
#107 - Jason Axelson / @bostonvaulter

05/10/2011 at 09:04AM

72
#108 - Oliver Christ / @0liverChrist

02/28/2015 at 11:31PM

81
#109 - roy blankman / @riblankman

07/26/2011 at 08:46AM

99
#110 - Robert Robotter / @robrob12

07/19/2011 at 09:13AM