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

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

4116 active golfers, 15748 entries

Solutions by @Toseim:
10
#550 - Tose / @Toseim

03/25/2017 at 10:54AM

10
#>550 - Tose / @Toseim

03/25/2017 at 10:57AM

12
#>1295 - Tose / @Toseim

03/25/2017 at 10:53AM

14
#>1666 - Tose / @Toseim

03/25/2017 at 10:52AM

15
#>2138 - Tose / @Toseim

03/25/2017 at 10:50AM

15
#>2138 - Tose / @Toseim

03/25/2017 at 10:51AM

16
#>2516 - Tose / @Toseim

03/25/2017 at 10:46AM

17
#>2852 - Tose / @Toseim

03/25/2017 at 10:43AM