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

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

4005 active golfers, 15300 entries

Solutions by @heyyoheyeheyehf:
10
#24 - jb / @heyyoheyeheyehf

12/03/2014 at 05:09AM

10
#>24 - jb / @heyyoheyeheyehf

12/03/2014 at 05:11AM

12
#>1190 - jb / @heyyoheyeheyehf

12/03/2014 at 05:10AM

14
#>1391 - jb / @heyyoheyeheyehf

12/03/2014 at 05:07AM

14
#>1391 - jb / @heyyoheyeheyehf

12/03/2014 at 05:08AM

15
#>1957 - jb / @heyyoheyeheyehf

12/03/2014 at 05:00AM

15
#>1957 - jb / @heyyoheyeheyehf

12/03/2014 at 05:03AM

16
#>2283 - jb / @heyyoheyeheyehf

12/03/2014 at 04:35AM

16
#>2283 - jb / @heyyoheyeheyehf

12/03/2014 at 04:36AM

16
#>2283 - jb / @heyyoheyeheyehf

12/03/2014 at 04:38AM

16
#>2283 - jb / @heyyoheyeheyehf

12/03/2014 at 04:38AM

16
#>2283 - jb / @heyyoheyeheyehf

12/03/2014 at 05:05AM

17
#>2627 - jb / @heyyoheyeheyehf

12/03/2014 at 04:34AM

17
#>2627 - jb / @heyyoheyeheyehf

12/03/2014 at 04:41AM

17
#>2627 - jb / @heyyoheyeheyehf

12/03/2014 at 05:02AM

18
#>2970 - jb / @heyyoheyeheyehf

12/03/2014 at 04:36AM

19
#>3266 - jb / @heyyoheyeheyehf

12/03/2014 at 04:31AM

21
#>3546 - jb / @heyyoheyeheyehf

12/03/2014 at 04:33AM

22
#>3628 - jb / @heyyoheyeheyehf

12/03/2014 at 04:34AM

23
#>3705 - jb / @heyyoheyeheyehf

12/03/2014 at 05:00AM

31
#>3929 - jb / @heyyoheyeheyehf

12/03/2014 at 04:30AM