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

4202 active golfers, 16093 entries

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

11/26/2019 at 08:18AM

11
#>1205 - oldandslow / @oldandslow5

11/26/2019 at 08:16AM

11
#>1205 - oldandslow / @oldandslow5

11/26/2019 at 08:20AM

12
#>1377 - oldandslow / @oldandslow5

11/26/2019 at 08:15AM

13
#>1425 - oldandslow / @oldandslow5

11/26/2019 at 08:13AM

14
#>1908 - oldandslow / @oldandslow5

11/26/2019 at 08:12AM

15
#>2336 - oldandslow / @oldandslow5

11/25/2019 at 07:17PM

16
#>2704 - oldandslow / @oldandslow5

11/25/2019 at 07:13PM

17
#>3059 - oldandslow / @oldandslow5

11/25/2019 at 07:11PM

18
#>3368 - oldandslow / @oldandslow5

11/25/2019 at 06:09PM