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

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

4161 active golfers, 15931 entries

Solutions by @countime1:
10
#986 - countime / @countime1

03/05/2020 at 02:11AM

10
#>986 - countime / @countime1

03/05/2020 at 02:12AM

11
#>1202 - countime / @countime1

03/05/2020 at 02:06AM

12
#>1373 - countime / @countime1

03/05/2020 at 01:40AM

12
#>1373 - countime / @countime1

03/05/2020 at 02:04AM

13
#>1414 - countime / @countime1

03/05/2020 at 01:39AM

14
#>1924 - countime / @countime1

03/05/2020 at 01:37AM

14
#>1924 - countime / @countime1

03/05/2020 at 01:38AM

15
#>2204 - countime / @countime1

03/05/2018 at 01:49AM

15
#>2204 - countime / @countime1

03/05/2018 at 04:37AM

16
#>2601 - countime / @countime1

03/04/2018 at 04:26PM

16
#>2692 - countime / @countime1

03/05/2020 at 01:36AM

17
#>2944 - countime / @countime1

03/05/2018 at 04:31AM

17
#>3049 - countime / @countime1

03/05/2020 at 01:36AM

19
#>3474 - countime / @countime1

03/04/2018 at 04:22PM