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

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

4098 active golfers, 15666 entries

Solutions by @bdotdub:
14
#1510 - Benny Wong / @bdotdub

04/03/2015 at 04:57PM

19
#>3355 - Benny Wong / @bdotdub

04/02/2015 at 05:58PM

19
#>3355 - Benny Wong / @bdotdub

04/02/2015 at 05:59PM

19
#>3355 - Benny Wong / @bdotdub

04/03/2015 at 02:49PM

21
#>3625 - Benny Wong / @bdotdub

04/03/2015 at 02:48PM