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

4159 active golfers, 15922 entries

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

08/24/2019 at 07:35AM

12
#>1366 - David Johnston / @nuts4nuts4nuts

08/24/2019 at 07:32AM

13
#>1407 - David Johnston / @nuts4nuts4nuts

08/24/2019 at 07:29AM

14
#>1872 - David Johnston / @nuts4nuts4nuts

08/24/2019 at 07:25AM

14
#>1872 - David Johnston / @nuts4nuts4nuts

08/24/2019 at 07:27AM

16
#>2668 - David Johnston / @nuts4nuts4nuts

08/24/2019 at 07:23AM

17
#>3026 - David Johnston / @nuts4nuts4nuts

08/24/2019 at 07:17AM

18
#>3331 - David Johnston / @nuts4nuts4nuts

08/24/2019 at 07:21AM

19
#>3508 - David Johnston / @nuts4nuts4nuts

08/24/2019 at 07:16AM