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

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

4195 active golfers, 16061 entries

Solutions by @WilmerBandres:
10
#314 - Wilmer Bandres / @WilmerBandres

11/30/2015 at 10:54PM

12
#>1267 - Wilmer Bandres / @WilmerBandres

11/30/2015 at 10:52PM

14
#>1625 - Wilmer Bandres / @WilmerBandres

11/30/2015 at 10:47PM

15
#>2129 - Wilmer Bandres / @WilmerBandres

11/30/2015 at 10:44PM

16
#>2508 - Wilmer Bandres / @WilmerBandres

11/30/2015 at 09:57PM

17
#>2846 - Wilmer Bandres / @WilmerBandres

11/30/2015 at 09:44PM

18
#>3160 - Wilmer Bandres / @WilmerBandres

11/30/2015 at 09:39PM