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 84 remaining solutions by signing in and submitting your own entry
#85 Joseph Reddington / @joereddington - Score: 14 - 08/20/12 @ 10:09
:8,18g/^/m7<CR>ZZ

0 comments

#86 Nicolas Friedli / @NicolasFriedli - Score: 14 - 10/28/12 @ 07:36
:8,18g/^/m7<CR>ZZ

0 comments

#87 Tyler Bindon / @tylerbindon - Score: 14 - 04/06/13 @ 21:15
:8,18g/^/m7<CR>ZZ

0 comments

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

0 comments

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

0 comments

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

0 comments

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

0 comments

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

0 comments

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

0 comments

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

0 comments

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

0 comments

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

0 comments

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

0 comments

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

0 comments

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

0 comments

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

0 comments

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

0 comments

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

0 comments

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

0 comments

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

0 comments

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

0 comments

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

106 active golfers, 178 entries

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

04/18/2011 at 06:38PM

Me-small_normal
12
#2 - Wei Dai / @clvv42

04/18/2011 at 09:18PM

Gravatar_normal
12
#3 - Stephen Morrow / @yawmark

04/19/2011 at 10:15AM

Img_3357_normal
12
#4 - Terje Larsen / @terlars

04/19/2011 at 11:56AM

4_normal
12
#5 - Oleg Roshupkin / @jjjahson

04/22/2011 at 02:32AM

Default_profile_4_normal
12
#6 - Sergey Doroshenko / @dorserg

04/30/2011 at 10:03PM

Ihqyp0i6ix56dk26edjt_normal
12
#7 - Chad Ostrowski / @chadoh

05/06/2011 at 08:28AM

Pi2_normal
12
#8 - Utkarsh Kukreti / @utkarshkukreti

05/26/2011 at 04:40PM

Mn_normal
12
#9 - Johan Sveholm / @rymdtjuren

06/21/2011 at 11:57PM

Default_profile_6_normal
12
#10 - x aizek / @xaizek

07/17/2011 at 08:02AM

Avatar-small_normal
12
#11 - Hu Junfeng / @hujunfeng

08/04/2011 at 06:29AM

05_normal
12
#12 - TchiKong / @tchikong

08/23/2011 at 11:22AM

Petro_normal
12
#13 - Petro Verkhogliad / @vpetro

08/28/2011 at 01:00PM

Jlove201003sq_normal
12
#14 - Justin Love / @wondible

09/12/2011 at 11:10AM

36_normal
12
#15 - nicolas bo / @thevegeta

11/05/2011 at 04:51AM

Img_gerred_dillon_normal
12
#16 - Gerred Dillon / @justicefries

11/15/2011 at 11:14PM

Gintoki_normal
12
#17 - You-Siang Lin / @yslinnctu

11/28/2011 at 09:28PM

Img_0157__custom__normal
12
#18 - Tom von Clef / @tomvonclef

12/15/2011 at 02:37PM

Av_normal
12
#19 - Vasil Sakarov / @vsakarov

01/04/2012 at 12:23PM

Abdel_normal
12
#20 - Abdel Said / @abdelsaid

02/01/2012 at 01:17PM

Default_profile_2_normal
12
#21 - Renat Aksitov / @Korvin79

02/08/2012 at 03:04PM

Jim_normal
12
#22 - Jim Nanney / @jnanney

02/09/2012 at 07:51PM

Image_normal
12
#23 - Dan Huang / @yuzeh

02/16/2012 at 02:13PM

Astro_seek_normal
12
#24 - Sebastian Kusnier / @skusnier

05/09/2012 at 02:43PM

Default_profile_6_normal
12
#25 - CyLiu / @CyLiu

05/15/2012 at 07:45AM

Q6hrg93p4r3hn56thmd0_normal
12
#26 - Urtica dioica / @udioica

05/27/2012 at 05:19AM

Wombat-large_normal
12
#27 - mwatkward / @AftrschoolSpe

07/02/2012 at 03:11PM

Jpiasetzki_normal
12
#28 - John Piasetzki / @jpiasetz

07/12/2012 at 11:10PM

81a470e934a0c6dd230b835c850a73f9_normal
12
#29 - w / @_weslly

07/18/2012 at 06:35PM

Fxcam_1280022172531_normal
12
#30 - Jordan Sitkin / @DustMason

07/29/2012 at 12:58PM

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

08/25/2012 at 06:18PM

Bunnies_normal
12
#32 - Trevor Powell / @DoomedBunnies

03/19/2013 at 06:55PM

Default_profile_5_normal
12
#33 - Gtranbot / @gtranbot

04/27/2013 at 03:48AM

7bbd949b345fcbcfd812b231aed89f99_normal
12
#34 - Marco Hinz / @_mhinz_

05/23/2013 at 09:56AM

0e620322b2c292d069fe93e27c081f9c_normal
12
#35 - Petro Тrouq / @zulolosi

07/03/2013 at 11:47AM

12e3ab10a91992d5eed681da5d171823_normal
12
#36 - Steve Tjoa / @stevetjoa

08/09/2013 at 04:21PM

Default_profile_1_normal
12
#37 - Xelrifos / @Xelrifos

02/20/2014 at 11:50AM

Me_normal
13
#38 - Mikael Gustavsson / @slvmnd

04/18/2011 at 08:22AM

Adept_normal
13
#39 - Balkoth / @_Balkoth_

04/18/2011 at 10:59AM

4654945923_eb2c60ee5f_normal
13
#40 - Kerson Hsiao / @KersonHsiao

05/10/2012 at 02:11AM

X_normal
14
#41 - xhtmlforum / @xhtmlforum

04/17/2011 at 10:34AM

Image_normal
14
#42 - Pete Johns / @johnsyweb

04/17/2011 at 03:11PM

Default_profile_1_normal
14
#43 - Malaney / @iamjh

04/17/2011 at 10:15PM

Default_profile_5_normal
14
#44 - Tomasz Zurkowski / @doriath88

04/18/2011 at 03:35AM

Profile_m_normal
14
#45 - Dmitry Teslenko / @krab_mozga

04/18/2011 at 05:08AM

Avatar_normal
14
#46 - Abhishek Mukherjee / @abhishekmukherg

04/18/2011 at 10:31AM

Ja_u_central_parku-mala_normal
14
#47 - Dragan Cvetinovic / @kawkafi

04/19/2011 at 01:42PM

Default_profile_4_normal
14
#48 - Sam / @dtjohnnymonkey

04/19/2011 at 03:43PM

Andrey_ugolnik_180x180_normal
14
#49 - Andrey A. Ugolnik / @andreyugolnik

04/20/2011 at 03:56PM

Avatar-square_normal
14
#50 - Zak Johnson / @zakj

04/20/2011 at 06:57PM

P1000007_normal
14
#51 - h_east (DDD ready) / @h_east

04/23/2011 at 01:24AM

9360f9e897f1171c15af992f1dee587b_normal
14
#52 - こばばー / @symmet

04/24/2011 at 05:34AM

Rubberducky_reasonably_small_normal
14
#53 - Mohammed / @mbadran

05/10/2011 at 11:50PM

Sup-av_normal
14
#54 - Ian McCowan / @valrus

05/29/2011 at 12:02PM

Foo-berk_normal
14
#55 - mightyfoo / @mightyfoo

05/30/2011 at 11:10AM

Default_profile_6_normal
14
#56 - Jean-Rene David / @jeanrenedavid

06/11/2011 at 02:43PM

122_normal
14
#57 - not so punk :] / @notsopunk

06/19/2011 at 01:32AM

46a0320167ab007f0a98222e65c0f3b7_normal
14
#58 - Dan Masquelier / @danmasq

07/01/2011 at 02:58PM

Avatar_normal
14
#59 - Øystein Walle / @oysteinwalle

07/05/2011 at 09:04AM

Uwe_horns_by_joao_normal
14
#60 - Dave / @zzdave13

07/14/2011 at 03:32PM

Twitter_normal
14
#61 - Sergi Sorribas / @lerovitch

08/29/2011 at 07:24AM

Default_profile_1_normal
14
#62 - Tim Tsu / @vimgolfpunk

09/03/2011 at 08:40AM

2_normal
14
#63 - Dario Cazzaro / @darioqa

09/17/2011 at 11:12AM

Default_profile_6_normal
14
#64 - Christopher Erin / @Chris__Erin

09/21/2011 at 01:48PM

Ben-mugshot_normal
14
#65 - Ben Sherman / @bensherman

10/18/2011 at 04:54PM

Toqbot_normal
14
#66 - Matt Donahoe / @mdonahoe

10/21/2011 at 10:02PM

Default_profile_3_normal
14
#67 - Thunderke / @Thunderke

11/02/2011 at 08:59AM

Default_profile_0_normal
14
#68 - vimja / @vimja666

11/04/2011 at 10:52PM

Default_profile_6_normal
14
#69 - William Dunand / @wdunand

11/06/2011 at 07:55PM

7254d40a49995ef1e06b237d0e705153_normal
14
#70 - Matt Woelk / @MattWoelk

11/11/2011 at 03:04PM

Animcropped_normal
14
#71 - Milan Dobrota / @milandobrota

11/19/2011 at 11:56PM

Zia_normal
14
#72 - Gabriel Barta / @gbarta

12/04/2011 at 01:21AM

D022d5e845c9edf5b004b22ff0ee58ab_normal
14
#73 - Mislav Marohnić / @mislav

12/06/2011 at 08:37AM

Default_profile_5_normal
14
#74 - 0x5042 / @0x5042

12/25/2011 at 01:17AM

Image1326661166_normal
14
#75 - Christopher Brew / @Seph1rothVII

01/10/2012 at 01:13PM

Default_profile_4_normal
14
#76 - Burkhard Zimmermann / @BurkZimm

01/19/2012 at 02:11PM

Hxh-b_normal
14
#77 - Lin Yangyang / @canoelyy

01/30/2012 at 10:21PM

Default_profile_1_normal
14
#78 - Kurt Gaastra / @KGaastra

02/12/2012 at 07:28PM

Default_profile_0_normal
14
#79 - João Veiga / @jcsvveiga

02/13/2012 at 01:45PM

3lxzut7fnjhapf338s94_normal
14
#80 - Vicente Sánchez / @froysm

02/24/2012 at 09:47AM

Obrazek_306_normal
14
#81 - Lukas / @cast3r

03/12/2012 at 04:15PM

Default_profile_3_normal
14
#82 - Christian Helbling / @friendly_coder

03/24/2012 at 04:56PM

Hair-metal_normal
14
#83 - Chris Moylan / @chrismoylan

04/18/2012 at 06:59PM

Y1p4714jfgqbxwbk3xwedazq_2xf63nvvd0ebkioosczy777c2b3wruhnx0ipmlbxcuuhba2em5yik01eowh6yexq_normal
14
#84 - ise0615 / @ise0615

05/04/2012 at 10:43AM

C0b6948159226d38499a61ceedae5f05_normal
14
#85 - Joseph Reddington / @joereddington

08/20/2012 at 10:09AM

60849d00fcf8b4caed339427340f879a_normal
14
#86 - Nicolas Friedli / @NicolasFriedli

10/28/2012 at 07:36AM

7bbc92500a24e0892967c51a50f1ff8e_normal
14
#87 - Tyler Bindon / @tylerbindon

04/06/2013 at 09:15PM

Default_profile_1_normal
14
#88 - Clocwise / @Clocwise

04/26/2013 at 06:39AM

Default_profile_1_normal
14
#89 - Chris Brown / @engineercyb

08/06/2013 at 04:26PM

Arcadia_avatar_normal
14
#90 - James / @Dronak

09/02/2013 at 07:01PM

3ubh7kcfj18s5m9erc6p_normal
14
#91 - Marcin Sza / @coot_

10/12/2013 at 04:23PM

Default_profile_5_normal
14
#92 - cj / @cj01101

11/20/2013 at 08:27PM

54481e5733dcc88a8f3bb72e82db3584_normal
14
#93 - Tudor Barbu / @motanelu

01/09/2014 at 06:07AM

Netti_pihlajo1_lthumb_normal
14
#94 - Joonas Pihlajamaa / @jokkebk

03/03/2014 at 05:30AM

Byta70go_normal
16
#95 - Marco Ippolito / @maroloccio

05/08/2011 at 06:13PM

0ae447f2322710ad44281a78910ac5c2_normal
16
#96 - Vito / @GodFather

05/19/2013 at 05:01PM

N6701358_36649601_1443469_normal
18
#97 - Joshua Moyers / @joshuamoyers

08/02/2011 at 08:37PM

I_normal
18
#98 - Anton Lee / @antoshalee

08/15/2011 at 09:28AM

Me--subway_normal
20
#99 - Will Gray / @graywh

05/06/2011 at 01:20PM

Default_profile_5_normal
21
#100 - teliotoilet / @teliotoilet

10/15/2011 at 12:39AM

904f72ef-c92c-4217-93d0-29f63e478825_normal
23
#101 - Andrés Moya / @amoyafoss

06/22/2012 at 01:13AM

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

02/27/2012 at 04:23AM

2c68d2a7e6b253e55d7ded4abb4710d1_normal
46
#103 - Yann Moisan / @YannMoisan

01/02/2013 at 04:58AM

02b5b85007b6b09eec091be13097fca6_normal
52
#104 - Jason Axelson / @bostonvaulter

05/10/2011 at 02:04AM

John_malkovich_jonah_hex_normal
81
#105 - roy blankman / @riblankman

07/26/2011 at 01:46AM

2_normal
99
#106 - Robert Robotter / @robrob12

07/19/2011 at 02:13AM