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

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

4159 active golfers, 15923 entries

Solutions by @colega:
10
#974 - Oleg / @colega

01/28/2020 at 09:31PM

11
#>1198 - Oleg / @colega

01/28/2020 at 09:30PM

12
#>1369 - Oleg / @colega

01/28/2020 at 09:27PM

13
#>1412 - Oleg / @colega

01/28/2020 at 09:23PM

14
#>1909 - Oleg / @colega

01/28/2020 at 09:21PM

15
#>2326 - Oleg / @colega

01/28/2020 at 09:15PM

16
#>2686 - Oleg / @colega

01/28/2020 at 09:13PM

17
#>3046 - Oleg / @colega

01/28/2020 at 09:06PM

17
#>3046 - Oleg / @colega

01/28/2020 at 09:07PM

17
#>3046 - Oleg / @colega

01/28/2020 at 09:09PM

18
#>3342 - Oleg / @colega

01/03/2020 at 12:12PM