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

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

4180 active golfers, 15983 entries

Solutions by @foobar01123:
10
#870 - Miłosz Łakomy / @foobar01123

05/29/2019 at 04:41AM

10
#>1082 - Miłosz Łakomy / @foobar01123

10/27/2020 at 06:43AM

11
#>1184 - Miłosz Łakomy / @foobar01123

05/29/2019 at 04:40AM

12
#>1368 - Miłosz Łakomy / @foobar01123

05/29/2019 at 04:39AM

13
#>1407 - Miłosz Łakomy / @foobar01123

05/29/2019 at 04:36AM

13
#>1407 - Miłosz Łakomy / @foobar01123

05/29/2019 at 04:37AM

14
#>1856 - Miłosz Łakomy / @foobar01123

05/29/2019 at 04:35AM

15
#>2296 - Miłosz Łakomy / @foobar01123

05/29/2019 at 04:29AM

15
#>2296 - Miłosz Łakomy / @foobar01123

05/29/2019 at 04:31AM

16
#>2671 - Miłosz Łakomy / @foobar01123

05/29/2019 at 04:30AM

16
#>2726 - Miłosz Łakomy / @foobar01123

10/27/2020 at 06:38AM

17
#>2932 - Miłosz Łakomy / @foobar01123

10/09/2017 at 03:27PM

17
#>2932 - Miłosz Łakomy / @foobar01123

10/09/2017 at 03:30PM

17
#>3025 - Miłosz Łakomy / @foobar01123

05/29/2019 at 04:32AM