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

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

4182 active golfers, 15990 entries

Solutions by @PierreBalaye:
10
#955 - Pierre Balayé / @PierreBalaye

12/07/2019 at 02:02PM

11
#>1202 - Pierre Balayé / @PierreBalaye

12/07/2019 at 02:00PM

12
#>1372 - Pierre Balayé / @PierreBalaye

12/07/2019 at 01:56PM

13
#>1417 - Pierre Balayé / @PierreBalaye

12/07/2019 at 01:50PM

14
#>1901 - Pierre Balayé / @PierreBalaye

12/07/2019 at 01:49PM

15
#>2326 - Pierre Balayé / @PierreBalaye

12/06/2019 at 08:17PM

16
#>2692 - Pierre Balayé / @PierreBalaye

12/06/2019 at 08:16PM

18
#>3355 - Pierre Balayé / @PierreBalaye

12/06/2019 at 08:14PM

20
#>3664 - Pierre Balayé / @PierreBalaye

12/06/2019 at 08:06PM

21
#>3761 - Pierre Balayé / @PierreBalaye

12/06/2019 at 08:00PM

34
#>4132 - Pierre Balayé / @PierreBalaye

12/06/2019 at 07:59PM