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

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

4192 active golfers, 16038 entries

Solutions by @bpark0:
10
#142 - Bruce Park / @bpark0

03/29/2015 at 11:32PM

10
#>163 - Bruce Park / @bpark0

04/27/2015 at 12:33AM

12
#>1247 - Bruce Park / @bpark0

03/23/2015 at 05:48AM

14
#>1492 - Bruce Park / @bpark0

01/18/2015 at 08:19AM

15
#>2069 - Bruce Park / @bpark0

01/18/2015 at 08:16AM

16
#>2413 - Bruce Park / @bpark0

12/08/2014 at 03:16AM

17
#>2758 - Bruce Park / @bpark0

12/08/2014 at 03:00AM

18
#>3104 - Bruce Park / @bpark0

12/08/2014 at 02:57AM

18
#>3202 - Bruce Park / @bpark0

01/16/2017 at 12:28AM

22
#>3815 - Bruce Park / @bpark0

01/16/2017 at 12:26AM

23
#>3888 - Bruce Park / @bpark0

05/07/2017 at 08:39PM

26
#>4001 - Bruce Park / @bpark0

01/18/2015 at 07:49AM

27
#>4032 - Bruce Park / @bpark0

01/16/2017 at 12:26AM