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

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

4180 active golfers, 15983 entries

Solutions by @summingbest:
10
#880 - summingbest / @summingbest

06/19/2019 at 11:54AM

10
#>880 - summingbest / @summingbest

06/19/2019 at 11:56AM

11
#>1184 - summingbest / @summingbest

06/19/2019 at 11:53AM

12
#>1368 - summingbest / @summingbest

06/19/2019 at 11:51AM

13
#>1408 - summingbest / @summingbest

06/19/2019 at 11:49AM

14
#>1864 - summingbest / @summingbest

06/19/2019 at 11:43AM

15
#>2300 - summingbest / @summingbest

06/19/2019 at 11:39AM

16
#>2674 - summingbest / @summingbest

06/19/2019 at 11:36AM

21
#>3750 - summingbest / @summingbest

06/19/2019 at 11:33AM

23
#>3899 - summingbest / @summingbest

06/19/2019 at 11:34AM