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

4161 active golfers, 15931 entries

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

07/26/2018 at 08:55AM

15
#>2235 - fucus / @fishlovebanana

07/26/2018 at 08:59AM

15
#>2235 - fucus / @fishlovebanana

07/26/2018 at 09:00AM

16
#>2631 - fucus / @fishlovebanana

07/26/2018 at 08:52AM

16
#>2631 - fucus / @fishlovebanana

07/26/2018 at 08:52AM

17
#>2971 - fucus / @fishlovebanana

07/26/2018 at 08:49AM

18
#>3277 - fucus / @fishlovebanana

07/26/2018 at 08:45AM

22
#>3804 - fucus / @fishlovebanana

07/24/2018 at 11:06AM

32
#>4099 - fucus / @fishlovebanana

07/24/2018 at 11:02AM

38
#>4126 - fucus / @fishlovebanana

07/24/2018 at 10:59AM