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

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

4159 active golfers, 15923 entries

Solutions by @LewisGuignard:
10
#852 - Lewis Guignard / @LewisGuignard

04/16/2019 at 01:36PM

10
#>852 - Lewis Guignard / @LewisGuignard

04/16/2019 at 01:36PM

11
#>1178 - Lewis Guignard / @LewisGuignard

04/16/2019 at 01:35PM

12
#>1364 - Lewis Guignard / @LewisGuignard

04/16/2019 at 01:21PM

12
#>1364 - Lewis Guignard / @LewisGuignard

04/16/2019 at 01:24PM

13
#>1400 - Lewis Guignard / @LewisGuignard

04/16/2019 at 01:20PM

14
#>1830 - Lewis Guignard / @LewisGuignard

04/16/2019 at 03:10AM

14
#>1830 - Lewis Guignard / @LewisGuignard

04/16/2019 at 01:19PM

15
#>2278 - Lewis Guignard / @LewisGuignard

04/16/2019 at 03:07AM

15
#>2278 - Lewis Guignard / @LewisGuignard

04/16/2019 at 03:08AM

16
#>2655 - Lewis Guignard / @LewisGuignard

04/16/2019 at 03:06AM

18
#>3319 - Lewis Guignard / @LewisGuignard

04/16/2019 at 03:03AM

20
#>3632 - Lewis Guignard / @LewisGuignard

04/16/2019 at 03:02AM

28
#>4043 - Lewis Guignard / @LewisGuignard

04/16/2019 at 02:58AM