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

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

4180 active golfers, 15983 entries

Solutions by @skamgolf:
10
#944 - skamgolf / @skamgolf

11/03/2019 at 09:00PM

11
#>1197 - skamgolf / @skamgolf

11/03/2019 at 09:00PM

12
#>1371 - skamgolf / @skamgolf

11/03/2019 at 08:56PM

12
#>1371 - skamgolf / @skamgolf

11/03/2019 at 08:59PM

13
#>1416 - skamgolf / @skamgolf

11/03/2019 at 08:53PM

13
#>1416 - skamgolf / @skamgolf

11/03/2019 at 08:56PM

14
#>1894 - skamgolf / @skamgolf

11/03/2019 at 08:52PM

15
#>2319 - skamgolf / @skamgolf

11/03/2019 at 08:50PM

16
#>2686 - skamgolf / @skamgolf

11/03/2019 at 08:48PM

17
#>3043 - skamgolf / @skamgolf

11/03/2019 at 08:37PM

17
#>3043 - skamgolf / @skamgolf

11/03/2019 at 08:38PM

18
#>3350 - skamgolf / @skamgolf

11/03/2019 at 08:36PM

20
#>3660 - skamgolf / @skamgolf

11/03/2019 at 08:33PM

21
#>3757 - skamgolf / @skamgolf

11/03/2019 at 08:31PM