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

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

4180 active golfers, 15983 entries

Solutions by @fishlovebanana:
15
#2243 - fucus / @fishlovebanana

07/26/2018 at 08:55AM

15
#>2243 - fucus / @fishlovebanana

07/26/2018 at 08:59AM

15
#>2243 - fucus / @fishlovebanana

07/26/2018 at 09:00AM

16
#>2639 - fucus / @fishlovebanana

07/26/2018 at 08:52AM

16
#>2639 - fucus / @fishlovebanana

07/26/2018 at 08:52AM

17
#>2980 - fucus / @fishlovebanana

07/26/2018 at 08:49AM

18
#>3288 - fucus / @fishlovebanana

07/26/2018 at 08:45AM

22
#>3819 - fucus / @fishlovebanana

07/24/2018 at 11:06AM

32
#>4118 - fucus / @fishlovebanana

07/24/2018 at 11:02AM

38
#>4145 - fucus / @fishlovebanana

07/24/2018 at 10:59AM