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

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

4198 active golfers, 16075 entries

Solutions by @oldandslow5:
10
#952 - oldandslow / @oldandslow5

11/26/2019 at 08:18AM

11
#>1204 - oldandslow / @oldandslow5

11/26/2019 at 08:16AM

11
#>1204 - oldandslow / @oldandslow5

11/26/2019 at 08:20AM

12
#>1376 - oldandslow / @oldandslow5

11/26/2019 at 08:15AM

13
#>1424 - oldandslow / @oldandslow5

11/26/2019 at 08:13AM

14
#>1907 - oldandslow / @oldandslow5

11/26/2019 at 08:12AM

15
#>2335 - oldandslow / @oldandslow5

11/25/2019 at 07:17PM

16
#>2703 - oldandslow / @oldandslow5

11/25/2019 at 07:13PM

17
#>3058 - oldandslow / @oldandslow5

11/25/2019 at 07:11PM

18
#>3367 - oldandslow / @oldandslow5

11/25/2019 at 06:09PM