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

114 active golfers, 478 entries

Leaderboard (lowest score wins):
34
#61 - Cristian Lupașcu / @clupasq

02/28/2016 at 04:26PM

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

08/13/2013 at 06:08AM

36
#63 - Michał Bielawski / @m_bielawski

09/12/2013 at 12:08PM

36
#64 - Will / @obiwan__k3n00bi

09/05/2016 at 09:30PM

37
#65 - Kai Yuan / @kentyuan

07/22/2013 at 02:58PM

37
#66 - evilmoe ☮ / @evilmoe

10/13/2013 at 09:14PM

37
#67 - eBrnd / @eBrnd

11/04/2014 at 08:57PM

38
#68 - Vinicius Souza / @vsouzas

07/28/2013 at 01:47PM

38
#69 - cj / @cj01101

08/03/2013 at 07:25PM

38
#70 - Yann Moisan / @YannMoisan

01/02/2014 at 01:12AM

38
#71 - M K / @max_k42

06/10/2014 at 08:03PM

39
#72 - Justin Le / @mstk

07/24/2013 at 07:01AM

39
#73 - Dom Armstrong / @dom_cycleface

08/19/2013 at 08:04PM

39
#74 - Joey Twiddle / @joeytwiddle

09/01/2013 at 02:15AM

39
#75 - Janzen / @__Coos

09/26/2022 at 12:37PM

40
#76 - Dmitriy / @_dpy_

08/21/2014 at 12:33PM

41
#77 - zmf_tim / @zmf_tim

07/25/2013 at 12:42PM

41
#78 - Andrew Crites / @ExplosionPills

09/11/2013 at 04:51PM

41
#79 - Eric Potter / @pottereric

10/24/2013 at 04:42PM

41
#80 - I / @ForgetIt17

11/08/2013 at 08:52PM

42
#81 - Oliver Christ / @0liverChrist

02/16/2015 at 02:29PM

43
#82 - Nathan / @NathanHarperoni

07/24/2013 at 01:05PM

43
#83 - Grigoriy Glushko / @grinderrz

07/25/2013 at 08:10AM

43
#84 - Arturo Escaip / @arturoescaip

09/03/2013 at 01:09AM

43
#85 - RobertT / @techrt2050

09/10/2013 at 03:46AM

43
#86 - pete / @peteches

02/23/2014 at 03:12PM

45
#87 - Bradford Powell / @dr_bpow

12/23/2013 at 09:18PM

45
#88 - AA / @stonewareslord

07/16/2014 at 06:39PM

45
#89 - Daniel / @Daniel00288663

04/03/2017 at 01:27PM

46
#90 - Tj / @yrddy

08/19/2014 at 06:41AM