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

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

4213 active golfers, 16156 entries

Solutions by @Leol_:
10
#768 - Lorenzo Leonini / @Leol_

08/12/2018 at 12:40AM

11
#>1168 - Lorenzo Leonini / @Leol_

08/12/2018 at 12:38AM

12
#>1372 - Lorenzo Leonini / @Leol_

08/12/2018 at 12:37AM

13
#>1409 - Lorenzo Leonini / @Leol_

08/12/2018 at 12:36AM

14
#>1790 - Lorenzo Leonini / @Leol_

08/12/2018 at 12:35AM

15
#>2265 - Lorenzo Leonini / @Leol_

08/12/2018 at 12:34AM

16
#>2665 - Lorenzo Leonini / @Leol_

08/12/2018 at 12:33AM

17
#>3008 - Lorenzo Leonini / @Leol_

08/12/2018 at 12:33AM

18
#>3322 - Lorenzo Leonini / @Leol_

08/12/2018 at 12:31AM

19
#>3530 - Lorenzo Leonini / @Leol_

08/12/2018 at 12:30AM

20
#>3662 - Lorenzo Leonini / @Leol_

08/12/2018 at 12:29AM

21
#>3766 - Lorenzo Leonini / @Leol_

08/12/2018 at 12:27AM

27
#>4061 - Lorenzo Leonini / @Leol_

08/12/2018 at 12:28AM