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

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

4225 active golfers, 16239 entries

Solutions by @nuts4nuts4nuts:
10
#906 - David Johnston / @nuts4nuts4nuts

08/24/2019 at 07:35AM

12
#>1385 - David Johnston / @nuts4nuts4nuts

08/24/2019 at 07:32AM

13
#>1432 - David Johnston / @nuts4nuts4nuts

08/24/2019 at 07:29AM

14
#>1899 - David Johnston / @nuts4nuts4nuts

08/24/2019 at 07:25AM

14
#>1899 - David Johnston / @nuts4nuts4nuts

08/24/2019 at 07:27AM

16
#>2708 - David Johnston / @nuts4nuts4nuts

08/24/2019 at 07:23AM

17
#>3069 - David Johnston / @nuts4nuts4nuts

08/24/2019 at 07:17AM

18
#>3379 - David Johnston / @nuts4nuts4nuts

08/24/2019 at 07:21AM

19
#>3561 - David Johnston / @nuts4nuts4nuts

08/24/2019 at 07:16AM