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

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

4202 active golfers, 16093 entries

Solutions by @Alexand64026860:
10
#999 - Alexander / @Alexand64026860

03/25/2020 at 02:25PM

11
#>1214 - Alexander / @Alexand64026860

03/25/2020 at 02:24PM

12
#>1382 - Alexander / @Alexand64026860

03/25/2020 at 02:23PM

13
#>1427 - Alexander / @Alexand64026860

03/25/2020 at 02:21PM

14
#>1938 - Alexander / @Alexand64026860

03/25/2020 at 02:20PM

15
#>2351 - Alexander / @Alexand64026860

03/25/2020 at 02:15PM

16
#>2716 - Alexander / @Alexand64026860

03/25/2020 at 02:12PM

18
#>3375 - Alexander / @Alexand64026860

03/25/2020 at 02:11PM

20
#>3693 - Alexander / @Alexand64026860

03/25/2020 at 02:08PM

21
#>3787 - Alexander / @Alexand64026860

03/25/2020 at 02:04PM

22
#>3868 - Alexander / @Alexand64026860

03/25/2020 at 02:06PM

38
#>4169 - Alexander / @Alexand64026860

03/25/2020 at 01:56PM