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

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

4159 active golfers, 15922 entries

Solutions by @orrrobert:
10
#836 - Robert Orr / @orrrobert

03/09/2019 at 02:26AM

11
#>1173 - Robert Orr / @orrrobert

03/09/2019 at 02:25AM

12
#>1361 - Robert Orr / @orrrobert

03/09/2019 at 02:24AM

13
#>1397 - Robert Orr / @orrrobert

03/09/2019 at 02:23AM

14
#>1822 - Robert Orr / @orrrobert

03/09/2019 at 02:22AM

15
#>2275 - Robert Orr / @orrrobert

03/09/2019 at 02:03AM

16
#>2653 - Robert Orr / @orrrobert

03/09/2019 at 02:01AM

17
#>3003 - Robert Orr / @orrrobert

03/09/2019 at 01:59AM

18
#>3316 - Robert Orr / @orrrobert

03/09/2019 at 01:57AM

22
#>3810 - Robert Orr / @orrrobert

03/09/2019 at 01:55AM