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

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

4192 active golfers, 16034 entries

Solutions by @RootShunsuke:
11
#1185 - hoge2341836 / @RootShunsuke

04/07/2019 at 03:32AM

12
#>1369 - hoge2341836 / @RootShunsuke

04/07/2019 at 02:56AM

13
#>1409 - hoge2341836 / @RootShunsuke

04/06/2019 at 08:46PM

13
#>1409 - hoge2341836 / @RootShunsuke

04/07/2019 at 02:52AM

14
#>1837 - hoge2341836 / @RootShunsuke

04/06/2019 at 08:30PM

14
#>1837 - hoge2341836 / @RootShunsuke

04/07/2019 at 02:36AM

14
#>1837 - hoge2341836 / @RootShunsuke

04/07/2019 at 02:38AM

16
#>2673 - hoge2341836 / @RootShunsuke

04/06/2019 at 08:12PM

18
#>3341 - hoge2341836 / @RootShunsuke

04/06/2019 at 08:11PM

33
#>4135 - hoge2341836 / @RootShunsuke

04/06/2019 at 08:10PM

50
#>4180 - hoge2341836 / @RootShunsuke

04/06/2019 at 08:27PM