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

4159 active golfers, 15922 entries

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

07/19/2020 at 06:45PM

11
#>1219 - JL T / @l0f4r0

07/19/2020 at 06:40PM

12
#>1379 - JL T / @l0f4r0

07/19/2020 at 06:40PM

13
#>1417 - JL T / @l0f4r0

07/19/2020 at 06:39PM

14
#>1963 - JL T / @l0f4r0

07/19/2020 at 06:39PM

15
#>2349 - JL T / @l0f4r0

07/19/2020 at 06:36PM

16
#>2707 - JL T / @l0f4r0

07/19/2020 at 06:35PM

17
#>3056 - JL T / @l0f4r0

07/19/2020 at 06:31PM

17
#>3056 - JL T / @l0f4r0

07/19/2020 at 06:34PM

17
#>3056 - JL T / @l0f4r0

07/19/2020 at 06:35PM

20
#>3662 - JL T / @l0f4r0

07/19/2020 at 06:34PM

26
#>3991 - JL T / @l0f4r0

07/19/2020 at 06:33PM

206
#>4158 - JL T / @l0f4r0

07/19/2020 at 06:31PM