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

4096 active golfers, 15647 entries

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

07/26/2018 at 08:55AM

15
#>2194 - fucus / @fishlovebanana

07/26/2018 at 08:59AM

15
#>2194 - fucus / @fishlovebanana

07/26/2018 at 09:00AM

16
#>2577 - fucus / @fishlovebanana

07/26/2018 at 08:52AM

16
#>2577 - fucus / @fishlovebanana

07/26/2018 at 08:52AM

17
#>2916 - fucus / @fishlovebanana

07/26/2018 at 08:49AM

18
#>3222 - fucus / @fishlovebanana

07/26/2018 at 08:45AM

22
#>3742 - fucus / @fishlovebanana

07/24/2018 at 11:06AM

32
#>4034 - fucus / @fishlovebanana

07/24/2018 at 11:02AM

38
#>4061 - fucus / @fishlovebanana

07/24/2018 at 10:59AM