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 @DocThorNeuland:

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

4194 active golfers, 16051 entries

Solutions by @DocThorNeuland:
10
#212 - DocThor Neuland / @DocThorNeuland

06/25/2015 at 07:01PM

10
#>212 - DocThor Neuland / @DocThorNeuland

06/25/2015 at 07:02PM

14
#>1587 - DocThor Neuland / @DocThorNeuland

06/25/2015 at 07:00PM

15
#>2113 - DocThor Neuland / @DocThorNeuland

06/25/2015 at 07:00PM

16
#>2479 - DocThor Neuland / @DocThorNeuland

06/25/2015 at 06:58PM

17
#>2820 - DocThor Neuland / @DocThorNeuland

06/25/2015 at 06:57PM

18
#>3137 - DocThor Neuland / @DocThorNeuland

06/25/2015 at 06:56PM

19
#>3447 - DocThor Neuland / @DocThorNeuland

06/25/2015 at 06:55PM

21
#>3719 - DocThor Neuland / @DocThorNeuland

06/25/2015 at 06:54PM

23
#>3882 - DocThor Neuland / @DocThorNeuland

06/25/2015 at 06:53PM

24
#>3938 - DocThor Neuland / @DocThorNeuland

06/25/2015 at 06:52PM

37
#>4155 - DocThor Neuland / @DocThorNeuland

06/25/2015 at 06:50PM

38
#>4159 - DocThor Neuland / @DocThorNeuland

06/25/2015 at 06:48PM