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

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

4180 active golfers, 15983 entries

Solutions by @Benoit_Tgt:
11
#1173 - Benoit Benoit / @Benoit_Tgt

01/29/2019 at 09:27PM

12
#>1363 - Benoit Benoit / @Benoit_Tgt

01/29/2019 at 09:26PM

13
#>1401 - Benoit Benoit / @Benoit_Tgt

01/29/2019 at 09:24PM

14
#>1816 - Benoit Benoit / @Benoit_Tgt

01/28/2019 at 10:09AM

15
#>2274 - Benoit Benoit / @Benoit_Tgt

01/28/2019 at 10:08AM

16
#>2657 - Benoit Benoit / @Benoit_Tgt

01/28/2019 at 10:07AM

17
#>3011 - Benoit Benoit / @Benoit_Tgt

01/28/2019 at 10:05AM

18
#>3323 - Benoit Benoit / @Benoit_Tgt

01/28/2019 at 10:04AM

19
#>3507 - Benoit Benoit / @Benoit_Tgt

01/28/2019 at 10:03AM

20
#>3645 - Benoit Benoit / @Benoit_Tgt

01/28/2019 at 10:01AM

20
#>3645 - Benoit Benoit / @Benoit_Tgt

01/28/2019 at 10:02AM

21
#>3747 - Benoit Benoit / @Benoit_Tgt

01/28/2019 at 09:59AM