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

4161 active golfers, 15931 entries

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

03/25/2020 at 02:25PM

11
#>1206 - Alexander / @Alexand64026860

03/25/2020 at 02:24PM

12
#>1373 - Alexander / @Alexand64026860

03/25/2020 at 02:23PM

13
#>1414 - Alexander / @Alexand64026860

03/25/2020 at 02:21PM

14
#>1925 - Alexander / @Alexand64026860

03/25/2020 at 02:20PM

15
#>2331 - Alexander / @Alexand64026860

03/25/2020 at 02:15PM

16
#>2694 - Alexander / @Alexand64026860

03/25/2020 at 02:12PM

18
#>3348 - Alexander / @Alexand64026860

03/25/2020 at 02:11PM

20
#>3657 - Alexander / @Alexand64026860

03/25/2020 at 02:08PM

21
#>3751 - Alexander / @Alexand64026860

03/25/2020 at 02:04PM

22
#>3831 - Alexander / @Alexand64026860

03/25/2020 at 02:06PM

38
#>4128 - Alexander / @Alexand64026860

03/25/2020 at 01:56PM