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

4159 active golfers, 15922 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
#>1180 - Miłosz Łakomy / @foobar01123

05/29/2019 at 04:40AM

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

05/29/2019 at 04:39AM

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

05/29/2019 at 04:36AM

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

05/29/2019 at 04:37AM

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

05/29/2019 at 04:35AM

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

05/29/2019 at 04:29AM

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

05/29/2019 at 04:31AM

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

05/29/2019 at 04:30AM

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

10/27/2020 at 06:38AM

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

10/09/2017 at 03:27PM

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

10/09/2017 at 03:30PM

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

05/29/2019 at 04:32AM