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

117 active golfers, 526 entries

Leaderboard (lowest score wins):
21
#31 - Roland Schatz / @fl_Overmind

07/23/2013 at 02:21PM

21
#32 - Heath Patterson / @HeathPatterson

08/09/2013 at 06:08PM

21
#33 - Joonas Pihlajamaa / @jokkebk

02/28/2014 at 02:36PM

22
#34 - Tullio Facchinetti / @toolleeo

07/23/2013 at 10:31PM

22
#35 - Steve Tjoa / @stevetjoa

07/24/2013 at 04:34PM

22
#36 - Armand Halbert / @armandhalbert

08/07/2013 at 07:17PM

22
#37 - Stephen Drodge / @sjdrodge

09/19/2013 at 01:40AM

22
#38 - Tyler / @tylerbindon

10/20/2013 at 06:31PM

22
#39 - Casey Dwyer / @caseydwyer

10/24/2013 at 08:11PM

22
#40 - John Meisner / @jmeisned

06/26/2014 at 10:37PM

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

07/24/2013 at 12:53AM

25
#42 - Darshana Umakanth / @TechyHobbit

07/26/2013 at 02:37AM

25
#43 - Quota / @Quotad

01/23/2014 at 10:56AM

26
#44 - Jon Krause / @jkrause314

10/25/2015 at 03:01AM

27
#45 - Bunwut Tson / @NbTson

09/01/2013 at 12:11PM

27
#46 - Ali El Amine / @Allouch95

02/07/2014 at 02:55PM

28
#47 - dan baker / @danbaker_a

08/09/2013 at 09:21PM

28
#48 - RockerZZY / @rocker_zzy

06/14/2020 at 01:43AM

29
#49 - Marcin Szamotulski / @me_coot

10/11/2013 at 11:20PM

29
#50 - churaki / @churaki

01/26/2019 at 11:13AM

30
#51 - Andrew / @vimGolfAndrew

08/16/2013 at 11:08AM

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

01/31/2014 at 10:25AM

32
#53 - Tim Chase / @gumnos

07/22/2013 at 06:16PM

32
#54 - mnx / @mnxx

07/22/2013 at 08:26PM

32
#55 - Nolen Royalty / @NolenRoyalty

07/24/2013 at 04:58AM

32
#56 - David Baynard / @dbaynard

08/04/2013 at 05:37AM

32
#57 - Nikolay Frantsev / @Shutnik

02/03/2014 at 11:39AM

33
#58 - vansan / @VinceVansan

08/21/2013 at 09:18PM

33
#59 - Adrien Canuel / @AdrienCanuel

11/20/2014 at 01:54PM

34
#60 - _ky_ / @ultimate_ky

08/13/2013 at 06:27AM