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

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

4182 active golfers, 15990 entries

Solutions by @macmental:
10
#655 - macmental / @macmental

11/28/2017 at 08:12PM

11
#>1144 - macmental / @macmental

11/28/2017 at 08:11PM

12
#>1345 - macmental / @macmental

11/28/2017 at 08:08PM

14
#>1721 - macmental / @macmental

11/28/2017 at 08:06PM

15
#>2206 - macmental / @macmental

11/28/2017 at 08:04PM

16
#>2500 - macmental / @macmental

12/22/2015 at 09:45PM

16
#>2590 - macmental / @macmental

11/28/2017 at 08:03PM

17
#>2926 - macmental / @macmental

09/14/2017 at 04:33AM

18
#>3229 - macmental / @macmental

09/14/2017 at 04:31AM

22
#>3809 - macmental / @macmental

09/14/2017 at 04:41AM

23
#>3881 - macmental / @macmental

09/14/2017 at 04:30AM

23
#>3881 - macmental / @macmental

09/14/2017 at 04:39AM