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

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

4180 active golfers, 15983 entries

Solutions by @bazillek:
10
#780 - Vasil Mikhalenya / @bazillek

09/20/2018 at 10:16AM

11
#>1163 - Vasil Mikhalenya / @bazillek

09/20/2018 at 10:09AM

12
#>1362 - Vasil Mikhalenya / @bazillek

09/20/2018 at 10:05AM

12
#>1362 - Vasil Mikhalenya / @bazillek

09/21/2018 at 07:43PM

12
#>1362 - Vasil Mikhalenya / @bazillek

09/21/2018 at 07:45PM

12
#>1362 - Vasil Mikhalenya / @bazillek

09/21/2018 at 07:47PM

13
#>1397 - Vasil Mikhalenya / @bazillek

09/20/2018 at 10:00AM

14
#>1787 - Vasil Mikhalenya / @bazillek

09/20/2018 at 09:57AM

15
#>2256 - Vasil Mikhalenya / @bazillek

09/20/2018 at 09:50AM

16
#>2649 - Vasil Mikhalenya / @bazillek

09/20/2018 at 09:48AM

17
#>2988 - Vasil Mikhalenya / @bazillek

09/20/2018 at 09:39AM

18
#>3300 - Vasil Mikhalenya / @bazillek

09/20/2018 at 09:32AM

25
#>3968 - Vasil Mikhalenya / @bazillek

09/20/2018 at 09:28AM

43
#>4160 - Vasil Mikhalenya / @bazillek

09/20/2018 at 09:26AM