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 87 remaining solutions by signing in and submitting your own entry
#88 Tyler / @tylerbindon - Score: 14 - 04/06/13 @ 21:15
:8,18g/^/m7<CR>ZZ

0 comments

#89 Justin / @justinjaffray - Score: 14 - 04/26/13 @ 06:39
:9,18g/./m7<CR>ZZ

0 comments

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

0 comments

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

0 comments

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

0 comments

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

0 comments

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

0 comments

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

0 comments

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

0 comments

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

0 comments

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

0 comments

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

0 comments

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

0 comments

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

0 comments

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

0 comments

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

0 comments

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

0 comments

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

0 comments

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

0 comments

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

0 comments

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

0 comments

#109 Robert Robotter / @robrob12 - Score: 99 - 07/19/11 @ 02:13
18Gdd7Gp18Gdd8Gp18Gdd9Gp18Gdd10Gp18:<Esc><Esc>18Gdd11Go<Esc>up18Gdd12Gp18Gdd13Gp18Gdd14Gp18Gdd15Gp18Gdd16Gp<Esc>:x<CR>

0 comments

Created by: @h_east

109 active golfers, 183 entries

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

04/18/2011 at 06:38PM

12
#2 - Wei Dai / @clvv42

04/18/2011 at 09:18PM

12
#3 - Stephen Morrow / @yawmark

04/19/2011 at 10:15AM

12
#4 - Terje Larsen / @terlars

04/19/2011 at 11:56AM

12
#5 - Oleg Roshupkin / @jjjahson

04/22/2011 at 02:32AM

12
#6 - Sergey Doroshenko / @dorserg

04/30/2011 at 10:03PM

12
#7 - Chad Ostrowski / @chadoh

05/06/2011 at 08:28AM

12
#8 - Utkarsh Kukreti / @utkarshkukreti

05/26/2011 at 04:40PM

12
#9 - Johan Sveholm / @rymdtjuren

06/21/2011 at 11:57PM

12
#10 - x aizek / @xaizek

07/17/2011 at 08:02AM

12
#11 - Hu Junfeng / @junfeng

08/04/2011 at 06:29AM

12
#12 - TchiKong / @tchikong

08/23/2011 at 11:22AM

12
#13 - Petro Verkhogliad / @vpetro

08/28/2011 at 01:00PM

12
#14 - Justin Love / @wondible

09/12/2011 at 11:10AM

12
#15 - nicolas bo / @thevegeta

11/05/2011 at 04:51AM

12
#16 - Gerred Dillon / @justicefries

11/15/2011 at 11:14PM

12
#17 - You-Siang Lin / @yslinnctu

11/28/2011 at 09:28PM

12
#18 - Tom von Clef / @tomvonclef

12/15/2011 at 02:37PM

12
#19 - Vasil Sakarov / @vsakarov

01/04/2012 at 12:23PM

12
#20 - Abdel Said / @abdelsaid

02/01/2012 at 01:17PM

12
#21 - Renat Aksitov / @Korvin79

02/08/2012 at 03:04PM

12
#22 - Jim Nanney / @jnanney

02/09/2012 at 07:51PM

12
#23 - Dan Huang / @yuzeh

02/16/2012 at 02:13PM

12
#24 - Sebastian Kusnier / @skusnier

05/09/2012 at 02:43PM

12
#25 - CyLiu / @CyLiu

05/15/2012 at 07:45AM

12
#26 - Urtica dioica / @udioica

05/27/2012 at 05:19AM

12
#27 - mwatkward / @AftrschoolSpe

07/02/2012 at 03:11PM

12
#28 - John Piasetzki / @jpiasetz

07/12/2012 at 11:10PM

12
#29 - Dr. Funkenstein / @_weslly

07/18/2012 at 06:35PM

12
#30 - Jordan Sitkin / @DustMason

07/29/2012 at 12:58PM

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

08/25/2012 at 06:18PM

12
#32 - Trevor Powell / @DoomedBunnies

03/19/2013 at 06:55PM

12
#33 - Gtranbot / @gtranbot

04/27/2013 at 03:48AM

12
#34 - Marco Hinz / @_mhinz_

05/23/2013 at 09:56AM

12
#35 - Petro Тrouq / @zulolosi

07/03/2013 at 11:47AM

12
#36 - Steve Tjoa / @stevetjoa

08/09/2013 at 04:21PM

12
#37 - Xelrifos / @Xelrifos

02/20/2014 at 11:50AM

12
#38 - John Braxler / @braxler

07/31/2014 at 01:26PM

13
#39 - Mikael Gustavsson / @slvmnd

04/18/2011 at 08:22AM

13
#40 - Balkoth / @_Balkoth_

04/18/2011 at 10:59AM

13
#41 - Kerson Hsiao / @KersonHsiao

05/10/2012 at 02:11AM

14
#42 - xhtmlforum / @xhtmlforum

04/17/2011 at 10:34AM

14
#43 - Pete Johns / @johnsyweb

04/17/2011 at 03:11PM

14
#44 - Malaney / @iamjh

04/17/2011 at 10:15PM

14
#45 - Tomasz Zurkowski / @doriath88

04/18/2011 at 03:35AM

14
#46 - Dmitry Teslenko / @krab_mozga

04/18/2011 at 05:08AM

14
#47 - Abhishek Mukherjee / @abhishekmukherg

04/18/2011 at 10:31AM

14
#48 - Dragan Cvetinovic / @kawkafi

04/19/2011 at 01:42PM

14
#49 - Sam / @dtjohnnymonkey

04/19/2011 at 03:43PM

14
#50 - Andrey A. Ugolnik / @andreyugolnik

04/20/2011 at 03:56PM

14
#51 - Zak Johnson / @zakj

04/20/2011 at 06:57PM

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

04/23/2011 at 01:24AM

14
#53 - こばばー / @symmet

04/24/2011 at 05:34AM

14
#54 - Mohammed / @mbadran

05/10/2011 at 11:50PM

14
#55 - Ian McCowan / @valrus

05/29/2011 at 12:02PM

14
#56 - mightyfoo / @mightyfoo

05/30/2011 at 11:10AM

14
#57 - Jean-Rene David / @jeanrenedavid

06/11/2011 at 02:43PM

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

06/19/2011 at 01:32AM

14
#59 - Dan Masquelier / @danmasq

07/01/2011 at 02:58PM

14
#60 - Øystein Walle / @oysteinwalle

07/05/2011 at 09:04AM

14
#61 - Dave / @zzdave13

07/14/2011 at 03:32PM

14
#62 - Sergi Sorribas / @lerovitch

08/29/2011 at 07:24AM

14
#63 - Tim Tsu / @vimgolfpunk

09/03/2011 at 08:40AM

14
#64 - Dario Cazzaro / @darioqa

09/17/2011 at 11:12AM

14
#65 - Christopher Erin / @Chris__Erin

09/21/2011 at 01:48PM

14
#66 - Ben Sherman / @bensherman

10/18/2011 at 04:54PM

14
#67 - Matt Donahoe / @mdonahoe

10/21/2011 at 10:02PM

14
#68 - Thunderke / @Thunderke

11/02/2011 at 08:59AM

14
#69 - vimja / @vimja666

11/04/2011 at 10:52PM

14
#70 - William Dunand / @wdunand

11/06/2011 at 07:55PM

14
#71 - Matt Woelk / @MattWoelk

11/11/2011 at 03:04PM

14
#72 - Milan Dobrota / @milandobrota

11/19/2011 at 11:56PM

14
#73 - Gabriel Barta / @gbarta

12/04/2011 at 01:21AM

14
#74 - Mislav Marohnić / @mislav

12/06/2011 at 08:37AM

14
#75 - 0x5042 / @0x5042

12/25/2011 at 01:17AM

14
#76 - Christopher Brew / @Seph1rothVII

01/10/2012 at 01:13PM

14
#77 - Burkhard Zimmermann / @BurkZimm

01/19/2012 at 02:11PM

14
#78 - Lin Yangyang / @canoelyy

01/30/2012 at 10:21PM

14
#79 - Kurt Gaastra / @KGaastra

02/12/2012 at 07:28PM

14
#80 - João Veiga / @jcsvveiga

02/13/2012 at 01:45PM

14
#81 - Vicente Sánchez / @froysm

02/24/2012 at 09:47AM

14
#82 - Lukas / @cast3r

03/12/2012 at 04:15PM

14
#83 - Christian Helbling / @friendly_coder

03/24/2012 at 04:56PM

14
#84 - Chris Moylan / @chrismoylan

04/18/2012 at 06:59PM

14
#85 - ise0615 / @ise0615

05/04/2012 at 10:43AM

14
#86 - Joseph Reddington / @joereddington

08/20/2012 at 10:09AM

14
#87 - Nicolas Friedli / @NicolasFriedli

10/28/2012 at 07:36AM

14
#88 - Tyler / @tylerbindon

04/06/2013 at 09:15PM

14
#89 - Justin / @justinjaffray

04/26/2013 at 06:39AM

14
#90 - Chris Brown / @engineercyb

08/06/2013 at 04:26PM

14
#91 - James / @Dronak

09/02/2013 at 07:01PM

14
#92 - Marcin Sza / @coot_

10/12/2013 at 04:23PM

14
#93 - cj / @cj01101

11/20/2013 at 08:27PM

14
#94 - Tudor Barbu / @motanelu

01/09/2014 at 06:07AM

14
#95 - Joonas Pihlajamaa / @jokkebk

03/03/2014 at 05:30AM

14
#96 - Mark Inksa / @MInksaCS

05/13/2014 at 02:49PM

14
#97 - Leeren / @Leeren

08/09/2014 at 06:19PM

16
#98 - Marco Ippolito / @maroloccio

05/08/2011 at 06:13PM

16
#99 - Vito / @GodFather

05/19/2013 at 05:01PM

18
#100 - Joshua Moyers / @joshuamoyers

08/02/2011 at 08:37PM

18
#101 - Anton Lee / @antoshalee

08/15/2011 at 09:28AM

20
#102 - Will Gray / @graywh

05/06/2011 at 01:20PM

21
#103 - teliotoilet / @teliotoilet

10/15/2011 at 12:39AM

23
#104 - Andrés Moya / @amoyafoss

06/22/2012 at 01:13AM

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

02/27/2012 at 04:23AM

46
#106 - Yann Moisan / @YannMoisan

01/02/2013 at 04:58AM

52
#107 - Jason Axelson / @bostonvaulter

05/10/2011 at 02:04AM

81
#108 - roy blankman / @riblankman

07/26/2011 at 01:46AM

99
#109 - Robert Robotter / @robrob12

07/19/2011 at 02:13AM