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

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

4181 active golfers, 15989 entries

Solutions by @AdirKip:
10
#817 - adir ohayon / @AdirKip

01/13/2019 at 10:17AM

11
#>1169 - adir ohayon / @AdirKip

01/13/2019 at 10:16AM

12
#>1363 - adir ohayon / @AdirKip

01/13/2019 at 10:14AM

13
#>1401 - adir ohayon / @AdirKip

01/13/2019 at 10:14AM

14
#>1813 - adir ohayon / @AdirKip

01/13/2019 at 10:10AM

16
#>2656 - adir ohayon / @AdirKip

01/13/2019 at 10:09AM

17
#>3010 - adir ohayon / @AdirKip

01/13/2019 at 10:04AM

21
#>3748 - adir ohayon / @AdirKip

01/13/2019 at 09:58AM

23
#>3890 - adir ohayon / @AdirKip

10/06/2018 at 10:24PM

23
#>3892 - adir ohayon / @AdirKip

01/13/2019 at 09:58AM

30
#>4087 - adir ohayon / @AdirKip

10/06/2018 at 10:11PM