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

4188 active golfers, 16014 entries

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

10/19/2019 at 01:08PM

11
#>1197 - spock900 / @spock9002

10/19/2019 at 01:07PM

12
#>1372 - spock900 / @spock9002

10/19/2019 at 01:05PM

13
#>1418 - spock900 / @spock9002

10/19/2019 at 01:05PM

14
#>1890 - spock900 / @spock9002

10/19/2019 at 01:04PM

15
#>2322 - spock900 / @spock9002

10/19/2019 at 01:02PM

16
#>2691 - spock900 / @spock9002

10/19/2019 at 09:35AM

17
#>3065 - spock900 / @spock9002

02/24/2020 at 01:11PM

18
#>3356 - spock900 / @spock9002

10/19/2019 at 09:34AM

19
#>3535 - spock900 / @spock9002

10/19/2019 at 09:34AM

20
#>3680 - spock900 / @spock9002

02/24/2020 at 12:48PM

21
#>3768 - spock900 / @spock9002

01/19/2020 at 07:53AM

32
#>4126 - spock900 / @spock9002

10/19/2019 at 09:30AM