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

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

4177 active golfers, 15977 entries

Solutions by @WhysDeCatOnFire:
10
#798 - Why Am / @WhysDeCatOnFire

11/08/2018 at 03:34AM

11
#>1167 - Why Am / @WhysDeCatOnFire

11/08/2018 at 03:33AM

12
#>1362 - Why Am / @WhysDeCatOnFire

11/08/2018 at 03:32AM

13
#>1397 - Why Am / @WhysDeCatOnFire

11/08/2018 at 03:31AM

14
#>1793 - Why Am / @WhysDeCatOnFire

11/08/2018 at 03:30AM

15
#>2261 - Why Am / @WhysDeCatOnFire

11/08/2018 at 03:29AM

16
#>2650 - Why Am / @WhysDeCatOnFire

11/08/2018 at 03:27AM

17
#>2994 - Why Am / @WhysDeCatOnFire

11/08/2018 at 03:25AM

20
#>3636 - Why Am / @WhysDeCatOnFire

11/08/2018 at 03:23AM

21
#>3738 - Why Am / @WhysDeCatOnFire

11/08/2018 at 03:22AM