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 by @kentyuan:

Unlock 1 remaining solutions by signing in and submitting your own entry
Created by: @udioica

117 active golfers, 526 entries

Solutions by @kentyuan:
37
#66 - Kai Yuan / @kentyuan

07/22/2013 at 02:58PM