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

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

4208 active golfers, 16127 entries

Solutions by @nuts4nuts4nuts:
10
#906 - David Johnston / @nuts4nuts4nuts

08/24/2019 at 07:35AM

12
#>1378 - David Johnston / @nuts4nuts4nuts

08/24/2019 at 07:32AM

13
#>1423 - David Johnston / @nuts4nuts4nuts

08/24/2019 at 07:29AM

14
#>1890 - David Johnston / @nuts4nuts4nuts

08/24/2019 at 07:25AM

14
#>1890 - David Johnston / @nuts4nuts4nuts

08/24/2019 at 07:27AM

16
#>2697 - David Johnston / @nuts4nuts4nuts

08/24/2019 at 07:23AM

17
#>3057 - David Johnston / @nuts4nuts4nuts

08/24/2019 at 07:17AM

18
#>3366 - David Johnston / @nuts4nuts4nuts

08/24/2019 at 07:21AM

19
#>3548 - David Johnston / @nuts4nuts4nuts

08/24/2019 at 07:16AM