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

98 active golfers, 322 entries

Leaderboard (lowest score wins):
16
#1 - Kerson Hsiao / @KersonHsiao

02/12/2014 at 12:56AM

16
#2 - MP / @Enemy_m

03/05/2014 at 10:19PM

16
#3 - Urtica dioica / @udioica

03/07/2014 at 03:20AM

16
#4 - John Braxler / @braxler

03/28/2014 at 07:20PM

16
#5 - alex scott / @4l3xsc0tt

04/30/2014 at 05:01PM

16
#6 - Petro Тrouq / @zulolosi

08/07/2014 at 08:01PM

16
#7 - Justin Knag / @justinknag

08/30/2014 at 01:39AM

16
#8 - Walker Boh / @walker_boh

10/19/2015 at 01:25PM

17
#9 - Joshua Appelman / @JoshuaAppelman

12/21/2013 at 10:05PM

17
#10 - Thomas GUILLORY / @thomasguillory

03/06/2014 at 09:32PM

17
#11 - Nabi Studios / @Toribash

03/29/2014 at 06:27AM

17
#12 - pftb12345 / @pftb12345

04/11/2015 at 03:16PM

17
#13 - Dimitar Dimitrov / @kurkale6ka

04/20/2016 at 12:46PM

17
#14 - Turkey Man / @lvturkeyman

11/26/2017 at 03:17PM

17
#15 - DHM / @DHM29978992

05/03/2018 at 03:35AM

18
#16 - Marchand Paul-Valère / @pvmarch

03/07/2014 at 12:54PM

19
#17 - Barry Nichols / @Barry_Nichols

08/26/2013 at 05:51AM

20
#18 - Ingo / @ist3fani

07/28/2013 at 09:39AM

20
#19 - James T. Huggett / @Jmeshka

09/27/2013 at 12:15PM

21
#20 - Roland Schatz / @fl_Overmind

07/23/2013 at 02:21PM

21
#21 - Heath Patterson / @HeathPatterson

08/09/2013 at 06:08PM

21
#22 - Joonas Pihlajamaa / @jokkebk

02/28/2014 at 02:36PM

22
#23 - Tullio Facchinetti / @toolleeo

07/23/2013 at 10:31PM

22
#24 - Steve Tjoa / @stevetjoa

07/24/2013 at 04:34PM

22
#25 - Armand Halbert / @armandhalbert

08/07/2013 at 07:17PM

22
#26 - Stephen Drodge / @sjdrodge

09/19/2013 at 01:40AM

22
#27 - Tyler / @tylerbindon

10/20/2013 at 06:31PM

22
#28 - Casey Dwyer / @caseydwyer

10/24/2013 at 08:11PM

22
#29 - John Meisner / @jmeisned

06/26/2014 at 10:37PM

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

07/24/2013 at 12:53AM