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

4202 active golfers, 16093 entries

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

10/19/2019 at 01:08PM

11
#>1200 - spock900 / @spock9002

10/19/2019 at 01:07PM

12
#>1376 - spock900 / @spock9002

10/19/2019 at 01:05PM

13
#>1424 - spock900 / @spock9002

10/19/2019 at 01:05PM

14
#>1896 - spock900 / @spock9002

10/19/2019 at 01:04PM

15
#>2328 - spock900 / @spock9002

10/19/2019 at 01:02PM

16
#>2698 - spock900 / @spock9002

10/19/2019 at 09:35AM

17
#>3072 - spock900 / @spock9002

02/24/2020 at 01:11PM

18
#>3365 - spock900 / @spock9002

10/19/2019 at 09:34AM

19
#>3546 - spock900 / @spock9002

10/19/2019 at 09:34AM

20
#>3693 - spock900 / @spock9002

02/24/2020 at 12:48PM

21
#>3781 - spock900 / @spock9002

01/19/2020 at 07:53AM

32
#>4140 - spock900 / @spock9002

10/19/2019 at 09:30AM