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):
54
#91 - Ryan O'Dowd / @ryanodowd1

07/27/2013 at 11:43PM

56
#92 - Fernando Axel Ellis / @Axel_Ellis

08/30/2013 at 08:48PM

57
#93 - memotype / @memotype

07/31/2013 at 09:36PM

57
#94 - Anatolii Sakhnik / @sakhnik

10/01/2013 at 12:15PM

58
#95 - Joel Taylor / @joelteon_

07/23/2013 at 01:40AM

61
#96 - Tallak Tveide / @tallakt

08/03/2013 at 09:59PM

64
#97 - Carlos A HenrĂ­quez Q / @lagunex

01/19/2015 at 01:45PM

65
#98 - Rishi Chopra / @chopra

08/04/2013 at 05:49PM

69
#99 - Ian Oxley / @ianoxley

08/07/2013 at 03:40PM

76
#100 - Patrick Oscity / @der_padde

03/27/2014 at 11:27AM

78
#101 - William / @wlmeng11

07/28/2013 at 05:25AM

83
#102 - Adam Quentin / @AdamQuentin2

07/23/2013 at 03:52PM

115
#103 - jmpak / @jmpak

08/08/2013 at 11:27AM