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

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

4194 active golfers, 16051 entries

Solutions by @QuanTom561:
10
#255 - Thomas Draper / @QuanTom561

09/23/2015 at 05:41PM

12
#>1251 - Thomas Draper / @QuanTom561

09/23/2015 at 05:38PM

14
#>1611 - Thomas Draper / @QuanTom561

09/23/2015 at 12:54AM

15
#>2120 - Thomas Draper / @QuanTom561

09/23/2015 at 12:51AM

16
#>2497 - Thomas Draper / @QuanTom561

09/22/2015 at 01:09PM

17
#>2833 - Thomas Draper / @QuanTom561

09/22/2015 at 01:06PM