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

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

4180 active golfers, 15983 entries

Solutions by @biinari:
10
#479 - Bill Ruddock / @biinari

10/25/2016 at 04:58AM

10
#>911 - Bill Ruddock / @biinari

09/01/2019 at 12:03AM

12
#>1299 - Bill Ruddock / @biinari

10/25/2016 at 04:57AM

14
#>1667 - Bill Ruddock / @biinari

10/25/2016 at 04:55AM

14
#>1880 - Bill Ruddock / @biinari

09/01/2019 at 12:02AM

15
#>2160 - Bill Ruddock / @biinari

10/25/2016 at 04:52AM

16
#>2537 - Bill Ruddock / @biinari

10/25/2016 at 04:49AM

16
#>2681 - Bill Ruddock / @biinari

08/31/2019 at 11:59PM