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

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

4200 active golfers, 16089 entries

Solutions by @be_the_spoon:
10
#539 - Nick Spoon / @be_the_spoon

03/07/2017 at 08:12AM

11
#>1146 - Nick Spoon / @be_the_spoon

03/07/2017 at 08:10AM

12
#>1316 - Nick Spoon / @be_the_spoon

03/07/2017 at 08:06AM

13
#>1403 - Nick Spoon / @be_the_spoon

03/07/2017 at 08:06AM

14
#>1689 - Nick Spoon / @be_the_spoon

03/07/2017 at 07:57AM

15
#>2183 - Nick Spoon / @be_the_spoon

03/06/2017 at 10:59AM

17
#>2908 - Nick Spoon / @be_the_spoon

03/06/2017 at 10:53AM