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

4180 active golfers, 15983 entries

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

07/19/2020 at 06:45PM

11
#>1223 - JL T / @l0f4r0

07/19/2020 at 06:40PM

12
#>1383 - JL T / @l0f4r0

07/19/2020 at 06:40PM

13
#>1422 - JL T / @l0f4r0

07/19/2020 at 06:39PM

14
#>1968 - JL T / @l0f4r0

07/19/2020 at 06:39PM

15
#>2358 - JL T / @l0f4r0

07/19/2020 at 06:36PM

16
#>2717 - JL T / @l0f4r0

07/19/2020 at 06:35PM

17
#>3067 - JL T / @l0f4r0

07/19/2020 at 06:31PM

17
#>3067 - JL T / @l0f4r0

07/19/2020 at 06:34PM

17
#>3067 - JL T / @l0f4r0

07/19/2020 at 06:35PM

20
#>3679 - JL T / @l0f4r0

07/19/2020 at 06:34PM

26
#>4011 - JL T / @l0f4r0

07/19/2020 at 06:33PM

206
#>4179 - JL T / @l0f4r0

07/19/2020 at 06:31PM