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

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

4159 active golfers, 15922 entries

Solutions by @mihaicristiant:
10
#652 - Mihai / @mihaicristiant

11/15/2017 at 03:35AM

10
#>652 - Mihai / @mihaicristiant

11/15/2017 at 03:38AM

12
#>1339 - Mihai / @mihaicristiant

11/15/2017 at 03:33AM

12
#>1358 - Mihai / @mihaicristiant

11/27/2018 at 11:27AM

14
#>1711 - Mihai / @mihaicristiant

10/31/2017 at 06:45PM

15
#>2261 - Mihai / @mihaicristiant

11/27/2018 at 11:30AM

16
#>2575 - Mihai / @mihaicristiant

10/31/2017 at 06:39PM

16
#>2575 - Mihai / @mihaicristiant

10/31/2017 at 06:43PM

18
#>3227 - Mihai / @mihaicristiant

11/15/2017 at 03:37AM