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):
34
#61 - Rui Mendes / @rcm_dium

05/07/2015 at 06:55PM

34
#62 - Cristian Lupașcu / @clupasq

02/28/2016 at 04:26PM

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

08/13/2013 at 06:08AM

36
#64 - Michał Bielawski / @m_bielawski

09/12/2013 at 12:08PM

36
#65 - Will / @obiwan__k3n00bi

09/05/2016 at 09:30PM

37
#66 - Kai Yuan / @kentyuan

07/22/2013 at 02:58PM

37
#67 - evilmoe ☮ / @evilmoe

10/13/2013 at 09:14PM

37
#68 - eBrnd / @eBrnd

11/04/2014 at 08:57PM

38
#69 - Vinicius Souza / @vsouzas

07/28/2013 at 01:47PM

38
#70 - cj / @cj01101

08/03/2013 at 07:25PM

38
#71 - Yann Moisan / @YannMoisan

01/02/2014 at 01:12AM

38
#72 - M K / @max_k42

06/10/2014 at 08:03PM

38
#73 - Jan Scholz / @radikalliberal

10/17/2024 at 10:02PM

39
#74 - Justin Le / @mstk

07/24/2013 at 07:01AM

39
#75 - Dom Armstrong / @dom_cycleface

08/19/2013 at 08:04PM

39
#76 - Joey Twiddle / @joeytwiddle

09/01/2013 at 02:15AM

39
#77 - Janzen / @__Coos

09/26/2022 at 12:37PM

40
#78 - Dmitriy / @_dpy_

08/21/2014 at 12:33PM

41
#79 - zmf_tim / @zmf_tim

07/25/2013 at 12:42PM

41
#80 - Andrew Crites / @ExplosionPills

09/11/2013 at 04:51PM

41
#81 - Eric Potter / @pottereric

10/24/2013 at 04:42PM

41
#82 - I / @ForgetIt17

11/08/2013 at 08:52PM

42
#83 - Oliver Christ / @0liverChrist

02/16/2015 at 02:29PM

42
#84 - ehre9305 / @ehre9305

11/02/2024 at 01:21AM

43
#85 - Nathan / @NathanHarperoni

07/24/2013 at 01:05PM

43
#86 - Grigoriy Glushko / @grinderrz

07/25/2013 at 08:10AM

43
#87 - Arturo Escaip / @arturoescaip

09/03/2013 at 01:09AM

43
#88 - RobertT / @techrt2050

09/10/2013 at 03:46AM

43
#89 - pete / @peteches

02/23/2014 at 03:12PM

45
#90 - Bradford Powell / @dr_bpow

12/23/2013 at 09:18PM