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

4182 active golfers, 15990 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
#>1290 - Sandeep Dhavale / @sandeep_dhavale

07/20/2016 at 02:45PM

12
#>1290 - Sandeep Dhavale / @sandeep_dhavale

07/20/2016 at 02:46PM

14
#>1653 - Sandeep Dhavale / @sandeep_dhavale

07/20/2016 at 02:43PM

14
#>1653 - Sandeep Dhavale / @sandeep_dhavale

07/20/2016 at 02:44PM

15
#>2155 - Sandeep Dhavale / @sandeep_dhavale

07/20/2016 at 02:39PM

15
#>2155 - Sandeep Dhavale / @sandeep_dhavale

07/20/2016 at 02:40PM

15
#>2155 - Sandeep Dhavale / @sandeep_dhavale

07/20/2016 at 02:40PM

16
#>2529 - Sandeep Dhavale / @sandeep_dhavale

07/20/2016 at 02:38PM

17
#>2860 - Sandeep Dhavale / @sandeep_dhavale

07/20/2016 at 02:37PM

18
#>3178 - Sandeep Dhavale / @sandeep_dhavale

07/20/2016 at 02:32PM

18
#>3250 - Sandeep Dhavale / @sandeep_dhavale

02/13/2018 at 07:41PM

19
#>3473 - Sandeep Dhavale / @sandeep_dhavale

12/23/2016 at 11:58PM