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

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

4189 active golfers, 16022 entries

Solutions by @INotgate:
10
#857 - ImaNotgate / @INotgate

04/28/2019 at 02:37AM

10
#>857 - ImaNotgate / @INotgate

04/28/2019 at 02:40AM

11
#>1186 - ImaNotgate / @INotgate

04/28/2019 at 02:35AM

12
#>1371 - ImaNotgate / @INotgate

04/28/2019 at 02:34AM

13
#>1410 - ImaNotgate / @INotgate

04/28/2019 at 02:32AM

13
#>1410 - ImaNotgate / @INotgate

04/28/2019 at 02:33AM

14
#>1846 - ImaNotgate / @INotgate

04/28/2019 at 02:31AM

15
#>2295 - ImaNotgate / @INotgate

04/28/2019 at 02:29AM

16
#>2675 - ImaNotgate / @INotgate

04/28/2019 at 02:29AM

17
#>3030 - ImaNotgate / @INotgate

04/28/2019 at 01:16AM

19
#>3524 - ImaNotgate / @INotgate

04/28/2019 at 01:14AM

21
#>3758 - ImaNotgate / @INotgate

04/28/2019 at 01:09AM