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

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

4159 active golfers, 15922 entries

Solutions by @scryne:
10
#428 - Michael Alan / @scryne

07/23/2016 at 04:13PM

11
#>1137 - Michael Alan / @scryne

07/23/2016 at 04:13PM

12
#>1285 - Michael Alan / @scryne

07/23/2016 at 04:10PM

14
#>1647 - Michael Alan / @scryne

07/23/2016 at 04:05PM

15
#>2145 - Michael Alan / @scryne

07/23/2016 at 08:03AM

15
#>2145 - Michael Alan / @scryne

07/23/2016 at 08:07AM

16
#>2518 - Michael Alan / @scryne

07/23/2016 at 08:01AM

17
#>2849 - Michael Alan / @scryne

07/23/2016 at 07:56AM

21
#>3696 - Michael Alan / @scryne

07/23/2016 at 07:39AM

21
#>3696 - Michael Alan / @scryne

07/23/2016 at 07:53AM

24
#>3908 - Michael Alan / @scryne

07/23/2016 at 07:43AM