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

4194 active golfers, 16051 entries

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

03/25/2020 at 02:25PM

11
#>1213 - Alexander / @Alexand64026860

03/25/2020 at 02:24PM

12
#>1380 - Alexander / @Alexand64026860

03/25/2020 at 02:23PM

13
#>1424 - Alexander / @Alexand64026860

03/25/2020 at 02:21PM

14
#>1935 - Alexander / @Alexand64026860

03/25/2020 at 02:20PM

15
#>2348 - Alexander / @Alexand64026860

03/25/2020 at 02:15PM

16
#>2713 - Alexander / @Alexand64026860

03/25/2020 at 02:12PM

18
#>3371 - Alexander / @Alexand64026860

03/25/2020 at 02:11PM

20
#>3686 - Alexander / @Alexand64026860

03/25/2020 at 02:08PM

21
#>3780 - Alexander / @Alexand64026860

03/25/2020 at 02:04PM

22
#>3860 - Alexander / @Alexand64026860

03/25/2020 at 02:06PM

38
#>4161 - Alexander / @Alexand64026860

03/25/2020 at 01:56PM