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):
38
#61 - Vinicius Souza / @vsouzas

07/28/2013 at 01:47PM

38
#62 - cj / @cj01101

08/03/2013 at 07:25PM

38
#63 - Yann Moisan / @YannMoisan

01/02/2014 at 01:12AM

38
#64 - M K / @max_k42

06/10/2014 at 08:03PM

39
#65 - Justin Le / @mstk

07/24/2013 at 07:01AM

39
#66 - Dom Armstrong / @dom_cycleface

08/19/2013 at 08:04PM

39
#67 - Joey Twiddle / @joeytwiddle

09/01/2013 at 02:15AM

40
#68 - Dmitriy / @_dpy_

08/21/2014 at 12:33PM

41
#69 - Timothée Gauthier / @zmf_tim

07/25/2013 at 12:42PM

41
#70 - Andrew Crites / @ExplosionPills

09/11/2013 at 04:51PM

41
#71 - Eric Potter / @pottereric

10/24/2013 at 04:42PM

41
#72 - I / @ForgetIt17

11/08/2013 at 08:52PM

42
#73 - Oliver Christ / @0liverChrist

02/16/2015 at 02:29PM

43
#74 - Nathan / @NathanHarperoni

07/24/2013 at 01:05PM

43
#75 - Grigoriy Glushko / @grinderrz

07/25/2013 at 08:10AM

43
#76 - Arturo Escaip / @arturoescaip

09/03/2013 at 01:09AM

43
#77 - RobertT / @techrt2050

09/10/2013 at 03:46AM

43
#78 - pete / @peteches

02/23/2014 at 03:12PM

45
#79 - Bradford Powell / @dr_bpow

12/23/2013 at 09:18PM

45
#80 - AA / @stonewareslord

07/16/2014 at 06:39PM

45
#81 - Daniel / @Daniel00288663

04/03/2017 at 01:27PM

46
#82 - Tj / @yrddy

08/19/2014 at 06:41AM

47
#83 - Tom Saeger / @tomsaeger

08/01/2013 at 07:00AM

47
#84 - Arthur叔 / @Arthurljg

08/31/2013 at 12:30PM

47
#85 - brett / @brettyukich

09/19/2013 at 01:53AM

47
#86 - Ram Tamtam / @ramtamtamtam

06/30/2014 at 10:49AM

48
#87 - Rasmus P / @rasmup

09/01/2013 at 08:16PM

48
#88 - Gurukandhamoorthi / @Gurukandhamoor1

07/27/2017 at 03:16PM

53
#89 - Christophe de Vienne / @cmdevienne

08/01/2013 at 08:43AM

54
#90 - moo goo / @m00g000

07/25/2013 at 06:11PM