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

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

4208 active golfers, 16127 entries

Solutions by @TPRolling:
14
#2024 - Bots Be Postin' / @TPRolling

12/16/2020 at 08:45PM

14
#>2024 - Bots Be Postin' / @TPRolling

12/16/2020 at 08:50PM

15
#>2386 - Bots Be Postin' / @TPRolling

12/16/2020 at 08:39PM

15
#>2386 - Bots Be Postin' / @TPRolling

12/16/2020 at 08:43PM

16
#>2751 - Bots Be Postin' / @TPRolling

12/16/2020 at 08:35PM

16
#>2751 - Bots Be Postin' / @TPRolling

12/16/2020 at 08:42PM

17
#>3098 - Bots Be Postin' / @TPRolling

12/16/2020 at 08:07PM

19
#>3582 - Bots Be Postin' / @TPRolling

12/16/2020 at 08:00PM

20
#>3712 - Bots Be Postin' / @TPRolling

12/16/2020 at 07:55PM

22
#>3885 - Bots Be Postin' / @TPRolling

12/16/2020 at 07:50PM

23
#>3941 - Bots Be Postin' / @TPRolling

12/16/2020 at 07:31PM

24
#>3980 - Bots Be Postin' / @TPRolling

12/16/2020 at 07:38PM