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

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

4192 active golfers, 16038 entries

Solutions by @l0f4r0:
10
#1046 - JL T / @l0f4r0

07/19/2020 at 06:45PM

11
#>1227 - JL T / @l0f4r0

07/19/2020 at 06:40PM

12
#>1387 - JL T / @l0f4r0

07/19/2020 at 06:40PM

13
#>1427 - JL T / @l0f4r0

07/19/2020 at 06:39PM

14
#>1973 - JL T / @l0f4r0

07/19/2020 at 06:39PM

15
#>2366 - JL T / @l0f4r0

07/19/2020 at 06:36PM

16
#>2726 - JL T / @l0f4r0

07/19/2020 at 06:35PM

17
#>3076 - JL T / @l0f4r0

07/19/2020 at 06:31PM

17
#>3076 - JL T / @l0f4r0

07/19/2020 at 06:34PM

17
#>3076 - JL T / @l0f4r0

07/19/2020 at 06:35PM

20
#>3691 - JL T / @l0f4r0

07/19/2020 at 06:34PM

26
#>4023 - JL T / @l0f4r0

07/19/2020 at 06:33PM

206
#>4191 - JL T / @l0f4r0

07/19/2020 at 06:31PM