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

4115 active golfers, 15740 entries

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

10/19/2019 at 01:08PM

11
#>1181 - spock900 / @spock9002

10/19/2019 at 01:07PM

12
#>1352 - spock900 / @spock9002

10/19/2019 at 01:05PM

13
#>1395 - spock900 / @spock9002

10/19/2019 at 01:05PM

14
#>1866 - spock900 / @spock9002

10/19/2019 at 01:04PM

15
#>2281 - spock900 / @spock9002

10/19/2019 at 01:02PM

16
#>2640 - spock900 / @spock9002

10/19/2019 at 09:35AM

17
#>3012 - spock900 / @spock9002

02/24/2020 at 01:11PM

18
#>3300 - spock900 / @spock9002

10/19/2019 at 09:34AM

19
#>3474 - spock900 / @spock9002

10/19/2019 at 09:34AM

20
#>3615 - spock900 / @spock9002

02/24/2020 at 12:48PM

21
#>3702 - spock900 / @spock9002

01/19/2020 at 07:53AM

32
#>4053 - spock900 / @spock9002

10/19/2019 at 09:30AM