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

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

4115 active golfers, 15740 entries

Solutions by @sandeep_dhavale:
10
#425 - Sandeep Dhavale / @sandeep_dhavale

07/20/2016 at 02:47PM

10
#>425 - Sandeep Dhavale / @sandeep_dhavale

07/20/2016 at 02:47PM

10
#>691 - Sandeep Dhavale / @sandeep_dhavale

02/13/2018 at 07:42PM

12
#>1271 - Sandeep Dhavale / @sandeep_dhavale

07/20/2016 at 02:45PM

12
#>1271 - Sandeep Dhavale / @sandeep_dhavale

07/20/2016 at 02:46PM

14
#>1631 - Sandeep Dhavale / @sandeep_dhavale

07/20/2016 at 02:43PM

14
#>1631 - Sandeep Dhavale / @sandeep_dhavale

07/20/2016 at 02:44PM

15
#>2119 - Sandeep Dhavale / @sandeep_dhavale

07/20/2016 at 02:39PM

15
#>2119 - Sandeep Dhavale / @sandeep_dhavale

07/20/2016 at 02:40PM

15
#>2119 - Sandeep Dhavale / @sandeep_dhavale

07/20/2016 at 02:40PM

16
#>2484 - Sandeep Dhavale / @sandeep_dhavale

07/20/2016 at 02:38PM

17
#>2813 - Sandeep Dhavale / @sandeep_dhavale

07/20/2016 at 02:37PM

18
#>3127 - Sandeep Dhavale / @sandeep_dhavale

07/20/2016 at 02:32PM

18
#>3199 - Sandeep Dhavale / @sandeep_dhavale

02/13/2018 at 07:41PM

19
#>3418 - Sandeep Dhavale / @sandeep_dhavale

12/23/2016 at 11:58PM