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

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

4181 active golfers, 15989 entries

Solutions by @Saponifi3d:
10
#737 - Josh Callender / @Saponifi3d

05/20/2018 at 06:56AM

10
#>737 - Josh Callender / @Saponifi3d

05/20/2018 at 06:58AM

10
#>737 - Josh Callender / @Saponifi3d

05/20/2018 at 06:58AM

11
#>1150 - Josh Callender / @Saponifi3d

05/20/2018 at 06:55AM

12
#>1357 - Josh Callender / @Saponifi3d

05/20/2018 at 06:55AM

14
#>1756 - Josh Callender / @Saponifi3d

05/20/2018 at 06:54AM

15
#>2226 - Josh Callender / @Saponifi3d

05/20/2018 at 06:53AM

16
#>2626 - Josh Callender / @Saponifi3d

05/20/2018 at 06:52AM

17
#>2969 - Josh Callender / @Saponifi3d

05/20/2018 at 06:52AM

18
#>3276 - Josh Callender / @Saponifi3d

05/20/2018 at 06:51AM

19
#>3494 - Josh Callender / @Saponifi3d

05/20/2018 at 06:50AM

22
#>3816 - Josh Callender / @Saponifi3d

05/20/2018 at 06:47AM