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

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

4181 active golfers, 15989 entries

Solutions by @etmoore:
10
#379 - Evan Moore / @etmoore

04/02/2016 at 06:39PM

10
#>379 - Evan Moore / @etmoore

04/02/2016 at 06:43PM

12
#>1276 - Evan Moore / @etmoore

04/02/2016 at 06:37PM

14
#>1642 - Evan Moore / @etmoore

04/02/2016 at 06:29PM

14
#>1642 - Evan Moore / @etmoore

04/02/2016 at 06:30PM

14
#>1642 - Evan Moore / @etmoore

04/02/2016 at 06:31PM

14
#>1642 - Evan Moore / @etmoore

04/02/2016 at 06:33PM

15
#>2142 - Evan Moore / @etmoore

04/02/2016 at 06:17PM

15
#>2142 - Evan Moore / @etmoore

04/02/2016 at 06:26PM

15
#>2142 - Evan Moore / @etmoore

04/02/2016 at 06:27PM

16
#>2515 - Evan Moore / @etmoore

04/02/2016 at 06:15PM

17
#>2853 - Evan Moore / @etmoore

04/02/2016 at 03:13AM

18
#>3165 - Evan Moore / @etmoore

04/02/2016 at 03:12AM

19
#>3459 - Evan Moore / @etmoore

04/02/2016 at 03:11AM

25
#>3964 - Evan Moore / @etmoore

04/02/2016 at 03:09AM