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

4103 active golfers, 15687 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
#>1219 - jb / @heyyoheyeheyehf

12/03/2014 at 05:10AM

14
#>1426 - jb / @heyyoheyeheyehf

12/03/2014 at 05:07AM

14
#>1426 - jb / @heyyoheyeheyehf

12/03/2014 at 05:08AM

15
#>2010 - jb / @heyyoheyeheyehf

12/03/2014 at 05:00AM

15
#>2010 - jb / @heyyoheyeheyehf

12/03/2014 at 05:03AM

16
#>2343 - jb / @heyyoheyeheyehf

12/03/2014 at 04:35AM

16
#>2343 - jb / @heyyoheyeheyehf

12/03/2014 at 04:36AM

16
#>2343 - jb / @heyyoheyeheyehf

12/03/2014 at 04:38AM

16
#>2343 - jb / @heyyoheyeheyehf

12/03/2014 at 04:38AM

16
#>2343 - jb / @heyyoheyeheyehf

12/03/2014 at 05:05AM

17
#>2689 - jb / @heyyoheyeheyehf

12/03/2014 at 04:34AM

17
#>2689 - jb / @heyyoheyeheyehf

12/03/2014 at 04:41AM

17
#>2689 - jb / @heyyoheyeheyehf

12/03/2014 at 05:02AM

18
#>3032 - jb / @heyyoheyeheyehf

12/03/2014 at 04:36AM

19
#>3336 - jb / @heyyoheyeheyehf

12/03/2014 at 04:31AM

21
#>3625 - jb / @heyyoheyeheyehf

12/03/2014 at 04:33AM

22
#>3709 - jb / @heyyoheyeheyehf

12/03/2014 at 04:34AM

23
#>3787 - jb / @heyyoheyeheyehf

12/03/2014 at 05:00AM

31
#>4022 - jb / @heyyoheyeheyehf

12/03/2014 at 04:30AM