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

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

4114 active golfers, 15728 entries

Solutions by @enji_ja:
10
#838 - enji / @enji_ja

03/18/2019 at 10:13AM

11
#>1164 - enji / @enji_ja

03/18/2019 at 10:11AM

12
#>1346 - enji / @enji_ja

03/18/2019 at 10:09AM

13
#>1382 - enji / @enji_ja

03/17/2019 at 05:13AM

14
#>1808 - enji / @enji_ja

03/16/2019 at 02:54PM

16
#>2618 - enji / @enji_ja

03/16/2019 at 02:53PM

17
#>2967 - enji / @enji_ja

03/16/2019 at 02:33PM

20
#>3589 - enji / @enji_ja

03/18/2019 at 10:10AM