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

4208 active golfers, 16127 entries

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

03/25/2020 at 02:25PM

11
#>1216 - Alexander / @Alexand64026860

03/25/2020 at 02:24PM

12
#>1384 - Alexander / @Alexand64026860

03/25/2020 at 02:23PM

13
#>1429 - Alexander / @Alexand64026860

03/25/2020 at 02:21PM

14
#>1942 - Alexander / @Alexand64026860

03/25/2020 at 02:20PM

15
#>2356 - Alexander / @Alexand64026860

03/25/2020 at 02:15PM

16
#>2721 - Alexander / @Alexand64026860

03/25/2020 at 02:12PM

18
#>3381 - Alexander / @Alexand64026860

03/25/2020 at 02:11PM

20
#>3699 - Alexander / @Alexand64026860

03/25/2020 at 02:08PM

21
#>3793 - Alexander / @Alexand64026860

03/25/2020 at 02:04PM

22
#>3874 - Alexander / @Alexand64026860

03/25/2020 at 02:06PM

38
#>4175 - Alexander / @Alexand64026860

03/25/2020 at 01:56PM