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

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

4159 active golfers, 15923 entries

Solutions by @to_cd_tw:
10
#684 - to.cd.tw / @to_cd_tw

02/01/2018 at 04:18PM

11
#>1141 - to.cd.tw / @to_cd_tw

02/01/2018 at 04:14PM

12
#>1345 - to.cd.tw / @to_cd_tw

02/01/2018 at 01:25PM

13
#>1390 - to.cd.tw / @to_cd_tw

02/01/2018 at 01:21PM

14
#>1726 - to.cd.tw / @to_cd_tw

02/01/2018 at 12:45PM

14
#>1726 - to.cd.tw / @to_cd_tw

02/01/2018 at 01:20PM

15
#>2202 - to.cd.tw / @to_cd_tw

02/01/2018 at 12:41PM

16
#>2588 - to.cd.tw / @to_cd_tw

02/01/2018 at 12:38PM

17
#>2932 - to.cd.tw / @to_cd_tw

02/01/2018 at 12:26PM

17
#>2932 - to.cd.tw / @to_cd_tw

02/01/2018 at 12:28PM