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

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

4094 active golfers, 15636 entries

Solutions by @dezhonger:
10
#1066 - dezhonger / @dezhonger

09/03/2020 at 08:54PM

10
#>1066 - dezhonger / @dezhonger

09/03/2020 at 08:55PM

11
#>1205 - dezhonger / @dezhonger

09/03/2020 at 08:54PM

12
#>1358 - dezhonger / @dezhonger

09/03/2020 at 08:51PM

13
#>1393 - dezhonger / @dezhonger

09/03/2020 at 08:47PM

14
#>1949 - dezhonger / @dezhonger

09/03/2020 at 08:43PM

16
#>2661 - dezhonger / @dezhonger

09/03/2020 at 08:39PM

16
#>2661 - dezhonger / @dezhonger

09/03/2020 at 08:42PM

17
#>3003 - dezhonger / @dezhonger

09/03/2020 at 08:36PM

19
#>3481 - dezhonger / @dezhonger

09/03/2020 at 08:35PM

26
#>3926 - dezhonger / @dezhonger

09/03/2020 at 08:35PM

30
#>4012 - dezhonger / @dezhonger

09/03/2020 at 08:34PM