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

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

4094 active golfers, 15634 entries

Solutions by @pkeugine:
10
#1044 - PK / @pkeugine

07/10/2020 at 04:20PM

11
#>1200 - PK / @pkeugine

07/10/2020 at 04:19PM

12
#>1354 - PK / @pkeugine

07/10/2020 at 04:14PM

12
#>1354 - PK / @pkeugine

07/10/2020 at 04:17PM

13
#>1391 - PK / @pkeugine

07/10/2020 at 04:13PM

14
#>1934 - PK / @pkeugine

07/10/2020 at 03:59PM

14
#>1934 - PK / @pkeugine

07/10/2020 at 04:00PM

15
#>2304 - PK / @pkeugine

07/10/2020 at 03:58PM

15
#>2304 - PK / @pkeugine

07/10/2020 at 04:07PM

16
#>2652 - PK / @pkeugine

07/10/2020 at 03:54PM

17
#>3001 - PK / @pkeugine

07/10/2020 at 03:52PM

18
#>3301 - PK / @pkeugine

07/10/2020 at 03:51PM

19
#>3476 - PK / @pkeugine

07/10/2020 at 03:50PM

20
#>3602 - PK / @pkeugine

07/10/2020 at 03:49PM