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 102 remaining solutions by signing in and submitting your own entry
#103 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

103 active golfers, 393 entries

Leaderboard (lowest score wins):
22
#31 - Tyler / @tylerbindon

10/20/2013 at 06:31PM

22
#32 - Casey Dwyer / @caseydwyer

10/24/2013 at 08:11PM

22
#33 - John Meisner / @jmeisned

06/26/2014 at 10:37PM

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

07/24/2013 at 12:53AM

25
#35 - Darshana Umakanth / @TechyHobbit

07/26/2013 at 02:37AM

25
#36 - Quota / @Quotad

01/23/2014 at 10:56AM

26
#37 - Jon Krause / @jkrause314

10/25/2015 at 03:01AM

27
#38 - Bunwut Tson / @NbTson

09/01/2013 at 12:11PM

27
#39 - Ali El Amine / @Allouch95

02/07/2014 at 02:55PM

28
#40 - dan baker / @danbaker_a

08/09/2013 at 09:21PM

29
#41 - Marcin Sza / @coot_

10/11/2013 at 11:20PM

29
#42 - churaki / @churaki

01/26/2019 at 11:13AM

30
#43 - Andrew / @vimGolfAndrew

08/16/2013 at 11:08AM

31
#44 - Jérémy Autran / @jjautran

01/31/2014 at 10:25AM

32
#45 - Tim Chase / @gumnos

07/22/2013 at 06:16PM

32
#46 - mnx / @mnxx

07/22/2013 at 08:26PM

32
#47 - Nolen Royalty / @NolenRoyalty

07/24/2013 at 04:58AM

32
#48 - David Baynard / @dbaynard

08/04/2013 at 05:37AM

32
#49 - Nikolay Frantsev / @Shutnik

02/03/2014 at 11:39AM

33
#50 - vansan / @VinceVansan

08/21/2013 at 09:18PM

33
#51 - Adrien Canuel / @AdrienCanuel

11/20/2014 at 01:54PM

34
#52 - _ky_ / @ultimate_ky

08/13/2013 at 06:27AM

34
#53 - Rui Mendes / @rcm_dium

05/07/2015 at 06:55PM

34
#54 - Cristian Lupașcu / @clupasq

02/28/2016 at 04:26PM

36
#55 - Przemysław Kamiński / @CXLII

08/13/2013 at 06:08AM

36
#56 - Michał Bielawski / @m_bielawski

09/12/2013 at 12:08PM

36
#57 - Will / @obiwan__k3n00bi

09/05/2016 at 09:30PM

37
#58 - Kai Yuan / @kentyuan

07/22/2013 at 02:58PM

37
#59 - evilmoe ☮ / @evilmoe

10/13/2013 at 09:14PM

37
#60 - eBrnd / @eBrnd

11/04/2014 at 08:57PM