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

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

4162 active golfers, 15932 entries

Solutions by @Leol_:
10
#768 - Lorenzo Leonini / @Leol_

08/12/2018 at 12:40AM

11
#>1157 - Lorenzo Leonini / @Leol_

08/12/2018 at 12:38AM

12
#>1359 - Lorenzo Leonini / @Leol_

08/12/2018 at 12:37AM

13
#>1391 - Lorenzo Leonini / @Leol_

08/12/2018 at 12:36AM

14
#>1770 - Lorenzo Leonini / @Leol_

08/12/2018 at 12:35AM

15
#>2237 - Lorenzo Leonini / @Leol_

08/12/2018 at 12:34AM

16
#>2635 - Lorenzo Leonini / @Leol_

08/12/2018 at 12:33AM

17
#>2975 - Lorenzo Leonini / @Leol_

08/12/2018 at 12:33AM

18
#>3285 - Lorenzo Leonini / @Leol_

08/12/2018 at 12:31AM

19
#>3488 - Lorenzo Leonini / @Leol_

08/12/2018 at 12:30AM

20
#>3616 - Lorenzo Leonini / @Leol_

08/12/2018 at 12:29AM

21
#>3720 - Lorenzo Leonini / @Leol_

08/12/2018 at 12:27AM

27
#>4012 - Lorenzo Leonini / @Leol_

08/12/2018 at 12:28AM