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

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

4195 active golfers, 16061 entries

Solutions by @VVi11_I_AM:
10
#783 - Will / @VVi11_I_AM

10/02/2018 at 07:54PM

10
#>783 - Will / @VVi11_I_AM

10/02/2018 at 07:56PM

11
#>1167 - Will / @VVi11_I_AM

10/02/2018 at 07:44PM

12
#>1367 - Will / @VVi11_I_AM

10/02/2018 at 07:40PM

13
#>1404 - Will / @VVi11_I_AM

10/02/2018 at 07:33PM

14
#>1795 - Will / @VVi11_I_AM

10/02/2018 at 07:28PM

15
#>2266 - Will / @VVi11_I_AM

10/02/2018 at 07:22PM

15
#>2266 - Will / @VVi11_I_AM

10/02/2018 at 07:26PM

16
#>2661 - Will / @VVi11_I_AM

10/02/2018 at 07:16PM

17
#>3001 - Will / @VVi11_I_AM

10/02/2018 at 07:14PM

20
#>3650 - Will / @VVi11_I_AM

10/02/2018 at 07:09PM