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

4180 active golfers, 15983 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
#>1205 - countime / @countime1

03/05/2020 at 02:06AM

12
#>1376 - countime / @countime1

03/05/2020 at 01:40AM

12
#>1376 - countime / @countime1

03/05/2020 at 02:04AM

13
#>1418 - countime / @countime1

03/05/2020 at 01:39AM

14
#>1928 - countime / @countime1

03/05/2020 at 01:37AM

14
#>1928 - countime / @countime1

03/05/2020 at 01:38AM

15
#>2212 - countime / @countime1

03/05/2018 at 01:49AM

15
#>2212 - countime / @countime1

03/05/2018 at 04:37AM

16
#>2609 - countime / @countime1

03/04/2018 at 04:26PM

16
#>2700 - countime / @countime1

03/05/2020 at 01:36AM

17
#>2953 - countime / @countime1

03/05/2018 at 04:31AM

17
#>3058 - countime / @countime1

03/05/2020 at 01:36AM

19
#>3487 - countime / @countime1

03/04/2018 at 04:22PM