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

4181 active golfers, 15989 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
#>1581 - DocThor Neuland / @DocThorNeuland

06/25/2015 at 07:00PM

15
#>2104 - DocThor Neuland / @DocThorNeuland

06/25/2015 at 07:00PM

16
#>2468 - DocThor Neuland / @DocThorNeuland

06/25/2015 at 06:58PM

17
#>2809 - DocThor Neuland / @DocThorNeuland

06/25/2015 at 06:57PM

18
#>3126 - DocThor Neuland / @DocThorNeuland

06/25/2015 at 06:56PM

19
#>3434 - DocThor Neuland / @DocThorNeuland

06/25/2015 at 06:55PM

21
#>3706 - DocThor Neuland / @DocThorNeuland

06/25/2015 at 06:54PM

23
#>3869 - DocThor Neuland / @DocThorNeuland

06/25/2015 at 06:53PM

24
#>3925 - DocThor Neuland / @DocThorNeuland

06/25/2015 at 06:52PM

37
#>4142 - DocThor Neuland / @DocThorNeuland

06/25/2015 at 06:50PM

38
#>4146 - DocThor Neuland / @DocThorNeuland

06/25/2015 at 06:48PM