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):
45
#91 - AA / @stonewareslord

07/16/2014 at 06:39PM

45
#92 - Daniel / @Daniel00288663

04/03/2017 at 01:27PM

46
#93 - Tj / @yrddy

08/19/2014 at 06:41AM

46
#94 - Olivier Bégassat / @zk_evm

06/15/2023 at 01:32PM

47
#95 - Tom Saeger / @tomsaeger

08/01/2013 at 07:00AM

47
#96 - Arthur叔 / @Arthurljg

08/31/2013 at 12:30PM

47
#97 - brett / @brettyukich

09/19/2013 at 01:53AM

47
#98 - Ram Tamtam / @ramtamtamtam

06/30/2014 at 10:49AM

47
#99 - russellzhaomao / @russellzhaomao

06/12/2022 at 02:43AM

48
#100 - Rasmus P / @rasmup

09/01/2013 at 08:16PM

48
#101 - Gurukandhamoorthi / @Gurukandhamoor1

07/27/2017 at 03:16PM

52
#102 - Marco Meinardi / @Kee__no

01/13/2023 at 01:27PM

53
#103 - Christophe de Vienne / @cmdevienne

08/01/2013 at 08:43AM

54
#104 - moo goo / @m00g000

07/25/2013 at 06:11PM

54
#105 - Ryan O'Dowd / @ryanodowd1

07/27/2013 at 11:43PM

56
#106 - Fernando Axel Ellis / @Axel_Ellis

08/30/2013 at 08:48PM

57
#107 - memotype / @memotype

07/31/2013 at 09:36PM

57
#108 - Anatolii Sakhnik / @sakhnik

10/01/2013 at 12:15PM

58
#109 - Joel Taylor / @joelteon_

07/23/2013 at 01:40AM

61
#110 - Tallak Tveide / @tallakt

08/03/2013 at 09:59PM

64
#111 - Carlos A Henríquez Q / @lagunex

01/19/2015 at 01:45PM

65
#112 - Rishi Chopra / @chopra

08/04/2013 at 05:49PM

69
#113 - Ian Oxley / @ianoxley

08/07/2013 at 03:40PM

76
#114 - Patrick Oscity / @der_padde

03/27/2014 at 11:27AM

78
#115 - William / @wlmeng11

07/28/2013 at 05:25AM

83
#116 - Adam Quentin / @AdamQuentin2

07/23/2013 at 03:52PM

115
#117 - jmpak / @jmpak

08/08/2013 at 11:27AM