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 51ed21c65b7a9c0002000012

Counting in binary

"a" represents 0; "A" represents 1. Start from zero and count to 15.

Start file
aaaa
End file
aaaa
aaaA
aaAa
aaAA
aAaa
aAaA
aAAa
aAAA
Aaaa
AaaA
AaAa
AaAA
AAaa
AAaA
AAAa
AAAA

View Diff

1a2,16
> aaaA
> aaAa
> aaAA
> aAaa
> aAaA
> aAAa
> aAAA
> Aaaa
> AaaA
> AaAa
> AaAA
> AAaa
> AAaA
> AAAa
> AAAA

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 75 remaining solutions by signing in and submitting your own entry
#76 Arthur叔 / Arthurljg - Score: 47 - 08/31/13 @ 12:30
Y7pGl<C-V>3k~2jl<C-V>j~4k.kl~2j.2j.2j.vggyPu8yyP9G<C-V>G~ZZ

0 comments

#77 brett / brettyukich - Score: 47 - 09/19/13 @ 01:53
Ype~pll~pll~~pl~pl~l~<CR>pl~~pl~~~VggyVG~P:sor!<CR>ZZ

0 comments

#78 Ram Tamtam / ramtamtamtam - Score: 47 - 06/30/14 @ 10:49
qqyyp$~q14@qhqq<C-V>k~kkkq3@qhqq4j<C-V>3j~3jjq@qh<C-V>9G~ZZ

0 comments

#79 Rasmus P / rasmup - Score: 48 - 09/01/13 @ 20:16
Y15p$qq~jjq7@qhqq<C-V>k~kkkq4@qhqq4j<C-V>3j~4jq@qh<C-V>7k~ZZ

0 comments

#80 Christophe de Vienne / cmdevienne - Score: 53 - 08/01/13 @ 08:43
yyp$~yggP3Gll<C-V>j~jyggP5Gl<C-V>jjj~GyggP9G:%<BS>.,16s/^a/A/<CR>ZZ

0 comments

#81 moo goo / m00g000 - Score: 54 - 07/25/13 @ 18:11
Y15p7j<C-V>G~ggl4j<C-V>4jk~8j.ggll2j<C-V>j~4j.4j.4j.gg$qqj~jq7@qZZ

0 comments

#82 Ryan O'Dowd / ryanodowd1 - Score: 54 - 07/27/13 @ 23:43
yyppppppplgUwkrAl.kh.k.kl.k.kl.jj.jj.ggVGyP:9<CR><C-V>GrA:wq<CR>

0 comments

#83 Fernando Axel Ellis / Axel_Ellis - Score: 56 - 08/30/13 @ 20:48
yy6p$rAjhrAjrAlrAhhjrAjrA$rAjhrAhrAyyp$rAvggyGo<Esc>p<C-V>7jrAZZ

0 comments

#84 memotype / memotype - Score: 57 - 07/31/13 @ 21:36
yy15P$jqq~jjq7@qhqq~kh~kkkhq3@qhh4jqq~jhq3@q4j4@q8-j8@qZZ

0 comments

#85 Anatolii Sakhnik / sakhnik - Score: 57 - 10/01/13 @ 12:15
yy15p7j<C-V>G~gglqq4j<C-V>3j~4jq@qggllqq2j<C-V>j~2jq3@qgg$qqj~jq7@qZZ

0 comments

#86 Joel Taylor / joelteon_ - Score: 58 - 07/23/13 @ 01:40
Y15p7j<C-V>G~gglqq4j<C-V>3j~4jq@qlggllqq2j<C-V>jrA2jq3@qgg$qqj~jq7@qZZ

0 comments

#87 Tallak Tveide / tallakt - Score: 61 - 08/03/13 @ 21:59
YperA:%t$<CR>:3, norm llrA<CR>:%t$<CR>:5, norm lrA<CR>:%t$<CR>:9, norm rA<CR>ZZ

0 comments

#88 Carlos A Henríquez Q / lagunex - Score: 64 - 01/19/15 @ 13:45
Ype~p~qqpl~qqapll~qp~~@q~@a~p~l~p~e~@ql~oAAAA<Esc>Yp~@q@ape~:sor!<CR>ZZ

0 comments

#89 Rishi Chopra / chopra - Score: 65 - 08/04/13 @ 17:49
Y15p7j<C-V>8j~5ggl<C-V>3j~8j.10kl<C-V>j~4j.4j.4j.13kl~2j.2j.2j.2j.2j.2j.2j.ZZ

0 comments

#90 Ian Oxley / ianoxley - Score: 69 - 08/07/13 @ 15:40
yy15p$~jh.jh2~j2h~jh.$.j2h2~j2h3~j^~j^~$~jh.^.jh.l2~j^.j^.$~j^3~jVUZZ

0 comments

#91 Patrick Oscity / der_padde - Score: 76 - 03/27/14 @ 11:27
Y15P8j<C-V>G~gglqq4j<C-V>3j~3jj<Esc>q@qgg2lqq2j<C-V>j~3jkq3@qgg$qqj~j<Esc>7@qu<Esc>uuukqqqj~<Esc>jq7@qZZ

0 comments

#92 William / wlmeng11 - Score: 78 - 07/28/13 @ 05:25
oaaaA<CR>aaAa<CR>aaAA<CR>aAaa<CR>aAaA<CR>aAAa<CR>aAAA<CR>Aaaa<CR>AaaA<CR>AaAa<CR>AaAA<CR>AAaa<CR>AAaA<CR>AAAa<CR>AAAA<Esc>ZZ

0 comments

#93 Adam Quentin / AdamQuentin2 - Score: 83 - 07/23/13 @ 15:52
yy8p$~jh<0xc3><0xa4>~jh 1h~~jhh~jh~l~jhh~~jhh~~~jh0~yy7p$~jh<0xc3><0xa4>~jh~~jhh~jh~l~jhh~~jhh~~~:w<CR>:q<CR>

0 comments

#94 jmpak / jmpak - Score: 115 - 08/08/13 @ 11:27
Y7p$rA<Left><Down><C-V><Down>rA<Left><Down><C-R><C-V><Down><Down><Esc><Down><Up><Up><C-V><Down><Down><Down>rA<Down><Down><Right><C-V><Down>rA<Down><Right>rA<Up><Up>rA<Up><Up>rA<Up><Up><Up>V<Down><Down><Down><Down><Down><Down><Down>:g<BS><BS><BS><BS><BS><BS>g/^/m0<CR><Down><Down><Down><Down><Down><Down><Down><Down>V<Up><Up><Up><Up><Up><Up><Up><Up><Up><Up>yu:$<CR>p<Up><Down>V<Down><Down><Down><Down><Down><Down><Down>g~<Esc>:wq<CR>

0 comments

Created by: udioica

94 active golfers, 305 entries

Leaderboard (lowest score wins):
16
#1 - Kerson Hsiao / KersonHsiao

02/12/2014 at 12:56AM

16
#2 - MP / Enemy_m

03/05/2014 at 10:19PM

16
#3 - Urtica dioica / udioica

03/07/2014 at 03:20AM

16
#4 - John Braxler / braxler

03/28/2014 at 07:20PM

16
#5 - alex scott / 4l3xsc0tt

04/30/2014 at 05:01PM

16
#6 - Petro Тrouq / zulolosi

08/07/2014 at 08:01PM

16
#7 - Justin Knag / justinknag

08/30/2014 at 01:39AM

16
#8 - Walker Boh / walker_boh

10/19/2015 at 01:25PM

17
#9 - Joshua Appelman / JoshuaAppelman

12/21/2013 at 10:05PM

17
#10 - Thomas GUILLORY / thomasguillory

03/06/2014 at 09:32PM

17
#11 - Nabi Studios / Toribash

03/29/2014 at 06:27AM

17
#12 - pftb12345 / pftb12345

04/11/2015 at 03:16PM

17
#13 - Dimitar Dimitrov / kurkale6ka

04/20/2016 at 12:46PM

18
#14 - Marchand Paul-Valère / pvmarch

03/07/2014 at 12:54PM

19
#15 - Barry Nichols / Barry_Nichols

08/26/2013 at 05:51AM

20
#16 - Ingo / ist3fani

07/28/2013 at 09:39AM

20
#17 - James T. Huggett / Jmeshka

09/27/2013 at 12:15PM

21
#18 - Roland Schatz / fl_Overmind

07/23/2013 at 02:21PM

21
#19 - Heath Patterson / HeathPatterson

08/09/2013 at 06:08PM

21
#20 - Joonas Pihlajamaa / jokkebk

02/28/2014 at 02:36PM

22
#21 - Tullio Facchinetti / toolleeo

07/23/2013 at 10:31PM

22
#22 - Steve Tjoa / stevetjoa

07/24/2013 at 04:34PM

22
#23 - Armand Halbert / armandhalbert

08/07/2013 at 07:17PM

22
#24 - Stephen Drodge / sjdrodge

09/19/2013 at 01:40AM

22
#25 - Tyler / tylerbindon

10/20/2013 at 06:31PM

22
#26 - Casey Dwyer / caseydwyer

10/24/2013 at 08:11PM

22
#27 - John Meisner / jmeisned

06/26/2014 at 10:37PM

24
#28 - ———đίxίє—flαтlίиє——— / _dixie_flatline

07/24/2013 at 12:53AM

25
#29 - Darshana Umakanth / TechyHobbit

07/26/2013 at 02:37AM

25
#30 - Quota / Quotad

01/23/2014 at 10:56AM

26
#31 - Jon Krause / jkrause314

10/25/2015 at 03:01AM

27
#32 - Bunwut Tson / NbTson

09/01/2013 at 12:11PM

27
#33 - Ali El Amine / Allouch95

02/07/2014 at 02:55PM

28
#34 - dan baker / danbaker_a

08/09/2013 at 09:21PM

29
#35 - Marcin Sza / coot_

10/11/2013 at 11:20PM

30
#36 - Andrew / vimGolfAndrew

08/16/2013 at 11:08AM

31
#37 - Jérémy Autran / Aquassaut

01/31/2014 at 10:25AM

32
#38 - Tim Chase / gumnos

07/22/2013 at 06:16PM

32
#39 - mnx / mnxx

07/22/2013 at 08:26PM

32
#40 - Nolen Royalty / NolenRoyalty

07/24/2013 at 04:58AM

32
#41 - David Baynard / dbaynard

08/04/2013 at 05:37AM

32
#42 - Nikolay Frantsev / Shutnik

02/03/2014 at 11:39AM

33
#43 - vansan / VinceVansan

08/21/2013 at 09:18PM

33
#44 - Adrien Canuel / AdrienCanuel

11/20/2014 at 01:54PM

34
#45 - _ky_ / ultimate_ky

08/13/2013 at 06:27AM

34
#46 - Rui Mendes / rcm_dium

05/07/2015 at 06:55PM

34
#47 - Cristian Lupașcu / clupasq

02/28/2016 at 04:26PM

36
#48 - Przemysław Kamiński / CXLII

08/13/2013 at 06:08AM

36
#49 - Michał Bielawski / m_bielawski

09/12/2013 at 12:08PM

36
#50 - Will / w_labranche

09/05/2016 at 09:30PM

37
#51 - Kai Yuan / kentyuan

07/22/2013 at 02:58PM

37
#52 - evilmoe ☮ / evilmoe

10/13/2013 at 09:14PM

37
#53 - eBrnd / eBrnd

11/04/2014 at 08:57PM

38
#54 - Vinicius Souza / vsouzas

07/28/2013 at 01:47PM

38
#55 - cj / cj01101

08/03/2013 at 07:25PM

38
#56 - Yann Moisan / YannMoisan

01/02/2014 at 01:12AM

38
#57 - M K / max_k42

06/10/2014 at 08:03PM

39
#58 - Justin Le / mstk

07/24/2013 at 07:01AM

39
#59 - Dom Armstrong / dom_cycleface

08/19/2013 at 08:04PM

39
#60 - Joey Twiddle / joeytwiddle

09/01/2013 at 02:15AM

40
#61 - Dmitriy / _dpy_

08/21/2014 at 12:33PM

41
#62 - Timothée Gauthier / zmf_tim

07/25/2013 at 12:42PM

41
#63 - Andrew Crites / ExplosionPills

09/11/2013 at 04:51PM

41
#64 - Eric Potter / pottereric

10/24/2013 at 04:42PM

41
#65 - I / ForgetIt17

11/08/2013 at 08:52PM

42
#66 - Oliver Christ / 0liverChrist

02/16/2015 at 02:29PM

43
#67 - Nathan / NathanHarperoni

07/24/2013 at 01:05PM

43
#68 - Grigoriy Glushko / grinderrz

07/25/2013 at 08:10AM

43
#69 - Arturo Escaip / arturoescaip

09/03/2013 at 01:09AM

43
#70 - RobertT / techrt2050

09/10/2013 at 03:46AM

43
#71 - pete / peteches

02/23/2014 at 03:12PM

45
#72 - Bradford Powell / dr_bpow

12/23/2013 at 09:18PM

45
#73 - AA / stonewareslord

07/16/2014 at 06:39PM

46
#74 - Tj / yrddy

08/19/2014 at 06:41AM

47
#75 - Tom Saeger / tomsaeger

08/01/2013 at 07:00AM

47
#76 - Arthur叔 / Arthurljg

08/31/2013 at 12:30PM

47
#77 - brett / brettyukich

09/19/2013 at 01:53AM

47
#78 - Ram Tamtam / ramtamtamtam

06/30/2014 at 10:49AM

48
#79 - Rasmus P / rasmup

09/01/2013 at 08:16PM

53
#80 - Christophe de Vienne / cmdevienne

08/01/2013 at 08:43AM

54
#81 - moo goo / m00g000

07/25/2013 at 06:11PM

54
#82 - Ryan O'Dowd / ryanodowd1

07/27/2013 at 11:43PM

56
#83 - Fernando Axel Ellis / Axel_Ellis

08/30/2013 at 08:48PM

57
#84 - memotype / memotype

07/31/2013 at 09:36PM

57
#85 - Anatolii Sakhnik / sakhnik

10/01/2013 at 12:15PM

58
#86 - Joel Taylor / joelteon_

07/23/2013 at 01:40AM

61
#87 - Tallak Tveide / tallakt

08/03/2013 at 09:59PM

64
#88 - Carlos A Henríquez Q / lagunex

01/19/2015 at 01:45PM

65
#89 - Rishi Chopra / chopra

08/04/2013 at 05:49PM

69
#90 - Ian Oxley / ianoxley

08/07/2013 at 03:40PM

76
#91 - Patrick Oscity / der_padde

03/27/2014 at 11:27AM

78
#92 - William / wlmeng11

07/28/2013 at 05:25AM

83
#93 - Adam Quentin / AdamQuentin2

07/23/2013 at 03:52PM

115
#94 - jmpak / jmpak

08/08/2013 at 11:27AM