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

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

4180 active golfers, 15983 entries

Solutions by @jake_va:
10
#1023 - Jake Van Alstyne / @jake_va

05/14/2020 at 07:50PM

11
#>1211 - Jake Van Alstyne / @jake_va

05/14/2020 at 07:50PM

12
#>1381 - Jake Van Alstyne / @jake_va

05/14/2020 at 07:49PM

13
#>1420 - Jake Van Alstyne / @jake_va

05/14/2020 at 07:48PM

14
#>1947 - Jake Van Alstyne / @jake_va

05/14/2020 at 07:38PM

16
#>2711 - Jake Van Alstyne / @jake_va

05/14/2020 at 07:36PM

18
#>3362 - Jake Van Alstyne / @jake_va

05/14/2020 at 07:35PM

19
#>3546 - Jake Van Alstyne / @jake_va

05/14/2020 at 07:33PM

30
#>4096 - Jake Van Alstyne / @jake_va

05/14/2020 at 07:30PM

31
#>4109 - Jake Van Alstyne / @jake_va

05/14/2020 at 06:39PM

41
#>4158 - Jake Van Alstyne / @jake_va

05/14/2020 at 06:34PM