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

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

4192 active golfers, 16038 entries

Solutions by @hxhxhrra:
10
#891 - Hxhxhrra / @hxhxhrra

07/21/2019 at 04:06PM

11
#>1188 - Hxhxhrra / @hxhxhrra

07/21/2019 at 04:05PM

12
#>1373 - Hxhxhrra / @hxhxhrra

07/21/2019 at 04:04PM

13
#>1416 - Hxhxhrra / @hxhxhrra

07/21/2019 at 04:03PM

14
#>1872 - Hxhxhrra / @hxhxhrra

07/21/2019 at 03:58PM

15
#>2311 - Hxhxhrra / @hxhxhrra

07/21/2019 at 03:56PM

16
#>2684 - Hxhxhrra / @hxhxhrra

07/21/2019 at 03:55PM

17
#>3041 - Hxhxhrra / @hxhxhrra

07/21/2019 at 03:53PM

19
#>3533 - Hxhxhrra / @hxhxhrra

07/21/2019 at 03:49PM

21
#>3763 - Hxhxhrra / @hxhxhrra

07/21/2019 at 03:48PM