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

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

4202 active golfers, 16093 entries

Solutions by @LewisGuignard:
10
#852 - Lewis Guignard / @LewisGuignard

04/16/2019 at 01:36PM

10
#>852 - Lewis Guignard / @LewisGuignard

04/16/2019 at 01:36PM

11
#>1187 - Lewis Guignard / @LewisGuignard

04/16/2019 at 01:35PM

12
#>1374 - Lewis Guignard / @LewisGuignard

04/16/2019 at 01:21PM

12
#>1374 - Lewis Guignard / @LewisGuignard

04/16/2019 at 01:24PM

13
#>1414 - Lewis Guignard / @LewisGuignard

04/16/2019 at 01:20PM

14
#>1844 - Lewis Guignard / @LewisGuignard

04/16/2019 at 03:10AM

14
#>1844 - Lewis Guignard / @LewisGuignard

04/16/2019 at 01:19PM

15
#>2299 - Lewis Guignard / @LewisGuignard

04/16/2019 at 03:07AM

15
#>2299 - Lewis Guignard / @LewisGuignard

04/16/2019 at 03:08AM

16
#>2679 - Lewis Guignard / @LewisGuignard

04/16/2019 at 03:06AM

18
#>3348 - Lewis Guignard / @LewisGuignard

04/16/2019 at 03:03AM

20
#>3670 - Lewis Guignard / @LewisGuignard

04/16/2019 at 03:02AM

28
#>4085 - Lewis Guignard / @LewisGuignard

04/16/2019 at 02:58AM