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

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

4182 active golfers, 15990 entries

Solutions by @znl1087:
10
#619 - zava / @znl1087

09/03/2017 at 03:02PM

10
#>619 - zava / @znl1087

09/04/2017 at 04:52AM

12
#>1333 - zava / @znl1087

09/03/2017 at 03:00PM

14
#>1706 - zava / @znl1087

09/03/2017 at 02:56PM

14
#>1706 - zava / @znl1087

09/03/2017 at 02:57PM

15
#>2197 - zava / @znl1087

09/03/2017 at 02:53PM

15
#>2197 - zava / @znl1087

09/03/2017 at 02:53PM

16
#>2578 - zava / @znl1087

09/03/2017 at 02:50PM

16
#>2578 - zava / @znl1087

09/03/2017 at 02:50PM

17
#>2924 - zava / @znl1087

09/03/2017 at 02:48PM

18
#>3228 - zava / @znl1087

09/03/2017 at 02:45PM