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

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

4225 active golfers, 16239 entries

Solutions by @spock9002:
10
#940 - spock900 / @spock9002

10/19/2019 at 01:08PM

11
#>1205 - spock900 / @spock9002

10/19/2019 at 01:07PM

12
#>1385 - spock900 / @spock9002

10/19/2019 at 01:05PM

13
#>1435 - spock900 / @spock9002

10/19/2019 at 01:05PM

14
#>1909 - spock900 / @spock9002

10/19/2019 at 01:04PM

15
#>2342 - spock900 / @spock9002

10/19/2019 at 01:02PM

16
#>2714 - spock900 / @spock9002

10/19/2019 at 09:35AM

17
#>3090 - spock900 / @spock9002

02/24/2020 at 01:11PM

18
#>3384 - spock900 / @spock9002

10/19/2019 at 09:34AM

19
#>3565 - spock900 / @spock9002

10/19/2019 at 09:34AM

20
#>3712 - spock900 / @spock9002

02/24/2020 at 12:48PM

21
#>3800 - spock900 / @spock9002

01/19/2020 at 07:53AM

32
#>4160 - spock900 / @spock9002

10/19/2019 at 09:30AM