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

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

4114 active golfers, 15728 entries

Solutions by @Ihor96382508:
10
#1064 - Ihor / @Ihor96382508

08/29/2020 at 12:21PM

11
#>1212 - Ihor / @Ihor96382508

08/29/2020 at 12:19PM

12
#>1366 - Ihor / @Ihor96382508

08/29/2020 at 12:17PM

13
#>1401 - Ihor / @Ihor96382508

08/29/2020 at 12:16PM

14
#>1956 - Ihor / @Ihor96382508

08/29/2020 at 11:42AM

14
#>1956 - Ihor / @Ihor96382508

08/29/2020 at 11:43AM

15
#>2326 - Ihor / @Ihor96382508

08/29/2020 at 11:39AM

17
#>3021 - Ihor / @Ihor96382508

08/29/2020 at 11:37AM