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

4191 active golfers, 16029 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
#>1187 - Miłosz Łakomy / @foobar01123

05/29/2019 at 04:40AM

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

05/29/2019 at 04:39AM

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

05/29/2019 at 04:36AM

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

05/29/2019 at 04:37AM

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

05/29/2019 at 04:35AM

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

05/29/2019 at 04:29AM

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

05/29/2019 at 04:31AM

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

05/29/2019 at 04:30AM

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

10/27/2020 at 06:38AM

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

10/09/2017 at 03:27PM

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

10/09/2017 at 03:30PM

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

05/29/2019 at 04:32AM