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

4161 active golfers, 15931 entries

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

11/26/2019 at 08:18AM

11
#>1197 - oldandslow / @oldandslow5

11/26/2019 at 08:16AM

11
#>1197 - oldandslow / @oldandslow5

11/26/2019 at 08:20AM

12
#>1368 - oldandslow / @oldandslow5

11/26/2019 at 08:15AM

13
#>1412 - oldandslow / @oldandslow5

11/26/2019 at 08:13AM

14
#>1895 - oldandslow / @oldandslow5

11/26/2019 at 08:12AM

15
#>2316 - oldandslow / @oldandslow5

11/25/2019 at 07:17PM

16
#>2682 - oldandslow / @oldandslow5

11/25/2019 at 07:13PM

17
#>3036 - oldandslow / @oldandslow5

11/25/2019 at 07:11PM

18
#>3341 - oldandslow / @oldandslow5

11/25/2019 at 06:09PM