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 5462e3f41198b80002512673

I forgot quotes

Oops.

Start file
foo = a
      ab
      abc
End file
foo = "a"
     
"ab"
     
"abc"

View Diff

1,3c1,3
< foo = a
<       ab
<       abc
---
> foo = "a"
>       "ab"
>       "abc"

Solutions by @CarbageG:

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

4192 active golfers, 16038 entries

Solutions by @CarbageG:
10
#498 - Carbage Gollector / @CarbageG

12/14/2016 at 05:58AM

12
#>1305 - Carbage Gollector / @CarbageG

12/14/2016 at 05:52AM

14
#>1681 - Carbage Gollector / @CarbageG

12/14/2016 at 05:48AM

15
#>2172 - Carbage Gollector / @CarbageG

12/14/2016 at 05:40AM

16
#>2553 - Carbage Gollector / @CarbageG

12/14/2016 at 05:32AM

18
#>3199 - Carbage Gollector / @CarbageG

12/14/2016 at 05:26AM

18
#>3199 - Carbage Gollector / @CarbageG

12/14/2016 at 05:30AM

21
#>3729 - Carbage Gollector / @CarbageG

12/14/2016 at 05:24AM