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

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

4159 active golfers, 15922 entries

Solutions by @Llanion:
10
#381 - Sean A / @Llanion

04/12/2016 at 06:34PM

12
#>1274 - Sean A / @Llanion

04/12/2016 at 06:33PM

14
#>1637 - Sean A / @Llanion

04/12/2016 at 06:29PM

17
#>2842 - Sean A / @Llanion

04/12/2016 at 06:28PM

19
#>3443 - Sean A / @Llanion

04/12/2016 at 06:22PM

19
#>3443 - Sean A / @Llanion

04/12/2016 at 06:26PM

21
#>3695 - Sean A / @Llanion

04/12/2016 at 06:20PM

21
#>3695 - Sean A / @Llanion

04/12/2016 at 06:24PM

22
#>3779 - Sean A / @Llanion

04/12/2016 at 06:18PM

24
#>3908 - Sean A / @Llanion

04/12/2016 at 06:17PM

25
#>3943 - Sean A / @Llanion

04/12/2016 at 06:07PM