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

4161 active golfers, 15931 entries

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

07/19/2020 at 06:45PM

11
#>1220 - JL T / @l0f4r0

07/19/2020 at 06:40PM

12
#>1380 - JL T / @l0f4r0

07/19/2020 at 06:40PM

13
#>1418 - JL T / @l0f4r0

07/19/2020 at 06:39PM

14
#>1964 - JL T / @l0f4r0

07/19/2020 at 06:39PM

15
#>2350 - JL T / @l0f4r0

07/19/2020 at 06:36PM

16
#>2709 - JL T / @l0f4r0

07/19/2020 at 06:35PM

17
#>3058 - JL T / @l0f4r0

07/19/2020 at 06:31PM

17
#>3058 - JL T / @l0f4r0

07/19/2020 at 06:34PM

17
#>3058 - JL T / @l0f4r0

07/19/2020 at 06:35PM

20
#>3664 - JL T / @l0f4r0

07/19/2020 at 06:34PM

26
#>3993 - JL T / @l0f4r0

07/19/2020 at 06:33PM

206
#>4160 - JL T / @l0f4r0

07/19/2020 at 06:31PM