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 56d30b70a365ed316105641b

Sorting a glossary

Sort a glossary. Glossary head contains a header phrase ending with ':' and glossary body has multi line text indented with a tab.

Start file
zomg:
    Multiline description
    about zomg.

abc:
    Multiline description
    about abc.
End file
abc:
    Multiline description
    about abc.

zomg:
    Multiline description
    about zomg.

View Diff

2,5d1
< zomg:
<     Multiline description
<     about zomg.
< 
8a5,8
> 
> zomg:
>     Multiline description
>     about zomg.

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 44 remaining solutions by signing in and submitting your own entry
#45 Kerson Hsiao / KersonHsiao - Score: 6 - 06/30/16 @ 10:40
4DGpZZ

0 comments

#46 Jeremiah Goyette / JeremiahGoyette - Score: 6 - 08/04/16 @ 00:35
4DGpZZ

0 comments

#47 Jordan Wightman / tuo2 - Score: 6 - 08/13/16 @ 12:42
d}GpZZ

0 comments

#48 jj johnson / jcassj1 - Score: 6 - 08/23/16 @ 12:18
4DGpZZ

0 comments

#49 Will / w_labranche - Score: 6 - 09/03/16 @ 06:54
4DGpZZ

0 comments

#50 Bill Ruddock / biinari - Score: 6 - 10/25/16 @ 15:29
d}GpZZ

0 comments

#51 herbage / herbage2 - Score: 6 - 12/10/16 @ 12:57
d}}pZZ

0 comments

#52 Yann / yannstadnicki - Score: 6 - 03/01/17 @ 01:26
4DGpZZ

0 comments

#53 Dmitriy Olshevskiy / olshevskiy_dv - Score: 7 - 02/28/16 @ 20:40
dapGpZZ

0 comments

#54 Syrrim / syrrim - Score: 7 - 03/10/16 @ 20:47
4VdGpZZ

0 comments

#55 Blake Tereau / BlakeTereau - Score: 9 - 02/29/16 @ 19:24
LV3kdHPZZ

0 comments

#56 Wei Fu / fhfuwei - Score: 9 - 03/03/16 @ 08:48
:1,4m8<CR>ZZ

0 comments

Created by: supergopivimgo1

56 active golfers, 84 entries

Leaderboard (lowest score wins):
6
#1 - Cristian Lupașcu / clupasq

02/28/2016 at 03:55PM

6
#2 - James / Dronak

02/28/2016 at 03:59PM

6
#3 - Smylers / Smylers2

02/28/2016 at 04:37PM

6
#4 - Robert Mosher / rcmosher

02/28/2016 at 05:01PM

6
#5 - Jon Krause / jkrause314

02/28/2016 at 05:44PM

6
#6 - Shefaet / shefaet

02/28/2016 at 06:16PM

6
#7 - Urtica dioica / udioica

02/28/2016 at 07:45PM

6
#8 - Samuel Masuy / samasuy

02/29/2016 at 01:48AM

6
#9 - Xiaocan Li / XiaocanLi

02/29/2016 at 02:09AM

6
#10 - Louis Caruana / louiecaruana

02/29/2016 at 05:18AM

6
#11 - Artur Taranchiev / ewokru

02/29/2016 at 05:46AM

6
#12 - Sebastian Pardo / sebpardo

02/29/2016 at 07:35AM

6
#13 - Eduardo / earada

02/29/2016 at 12:33PM

6
#14 - John Braxler / braxler

02/29/2016 at 03:42PM

6
#15 - Charles Laber-Smith / clabersmith

03/01/2016 at 01:39AM

6
#16 - Kevin Sapper / kevin_sapper

03/01/2016 at 06:59AM

6
#17 - Stefan Sonski / stefansonski

03/01/2016 at 09:21AM

6
#18 - Jan Bundesmann / ixjab

03/01/2016 at 10:15AM

6
#19 - hardaudit / hardaudit

03/01/2016 at 01:37PM

6
#20 - Eric Edgar / ericedgar

03/01/2016 at 02:56PM

6
#21 - Tj / yrddy

03/02/2016 at 02:05AM

6
#22 - Ravi S Sinha / ambidextrousTx

03/02/2016 at 04:52AM

6
#23 - Michel Ganguin / tinycrazyfish

03/02/2016 at 09:28AM

6
#24 - ค×ɛเ / pwnedary

03/02/2016 at 05:43PM

6
#25 - James Burns / James_Ian_Burns

03/03/2016 at 08:00PM

6
#26 - glepha / glepha_vim

03/04/2016 at 03:21AM

6
#27 - Tomasz Walotek / uolot

03/04/2016 at 10:52AM

6
#28 - Sébastien Vincent / shinmei

03/05/2016 at 03:24PM

6
#29 - Michael Buckley / apolatg

03/05/2016 at 04:49PM

6
#30 - Tran Duc Thang / thangtd90

03/06/2016 at 08:30AM

6
#31 - Thierry Flauss / ThFjunior

03/06/2016 at 08:58AM

6
#32 - aestetix / aestetix

03/06/2016 at 06:11PM

6
#33 - Craig Hills / chills42

03/07/2016 at 12:17PM

6
#34 - Rubén Chavarría T. / rchavarriat

03/09/2016 at 07:48AM

6
#35 - Andreas Carben / meiner_eins

03/12/2016 at 11:04AM

6
#36 - Carlos A Henríquez Q / lagunex

03/13/2016 at 01:21PM

6
#37 - Saki Gw / Sakigw

03/25/2016 at 02:51PM

6
#38 - Janko Jerinic / JankoJerinic

03/26/2016 at 08:33AM

6
#39 - Dinesh Bhosale / MrDineshBhosale

04/01/2016 at 10:33AM

6
#40 - Evan Moore / etmoore

04/03/2016 at 12:47AM

6
#41 - Nico Gevers / ingevious

05/08/2016 at 06:33PM

6
#42 - tPenguinLTG / tpenguinltg

05/11/2016 at 12:26PM

6
#43 - Ben Hill / KaizenSoze70

05/14/2016 at 08:51PM

6
#44 - Majo / majodurco

05/14/2016 at 09:36PM

6
#45 - Kerson Hsiao / KersonHsiao

06/30/2016 at 10:40AM

6
#46 - Jeremiah Goyette / JeremiahGoyette

08/04/2016 at 12:35AM

6
#47 - Jordan Wightman / tuo2

08/13/2016 at 12:42PM

6
#48 - jj johnson / jcassj1

08/23/2016 at 12:18PM

6
#49 - Will / w_labranche

09/03/2016 at 06:54AM

6
#50 - Bill Ruddock / biinari

10/25/2016 at 03:29PM

6
#51 - herbage / herbage2

12/10/2016 at 12:57PM

6
#52 - Yann / yannstadnicki

03/01/2017 at 01:26AM

7
#53 - Dmitriy Olshevskiy / olshevskiy_dv

02/28/2016 at 08:40PM

7
#54 - Syrrim / syrrim

03/10/2016 at 08:47PM

9
#55 - Blake Tereau / BlakeTereau

02/29/2016 at 07:24PM

9
#56 - Wei Fu / fhfuwei

03/03/2016 at 08:48AM