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

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

4161 active golfers, 15931 entries

Solutions by @marccathomen:
10
#257 - Marc Cathomen / @marccathomen

09/26/2015 at 11:22PM

12
#>1244 - Marc Cathomen / @marccathomen

09/26/2015 at 11:21PM

14
#>1602 - Marc Cathomen / @marccathomen

09/26/2015 at 11:20PM

15
#>2103 - Marc Cathomen / @marccathomen

09/26/2015 at 11:18PM

16
#>2478 - Marc Cathomen / @marccathomen

09/26/2015 at 11:13PM

16
#>2478 - Marc Cathomen / @marccathomen

09/26/2015 at 11:16PM

17
#>2814 - Marc Cathomen / @marccathomen

09/26/2015 at 11:11PM

20
#>3575 - Marc Cathomen / @marccathomen

09/26/2015 at 11:08PM

22
#>3778 - Marc Cathomen / @marccathomen

09/26/2015 at 10:56PM