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

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

4192 active golfers, 16038 entries

Solutions by @M__tech:
10
#744 - 中野 彰 / @M__tech

06/09/2018 at 10:11AM

11
#>1155 - 中野 彰 / @M__tech

06/09/2018 at 10:09AM

12
#>1364 - 中野 彰 / @M__tech

06/09/2018 at 10:08AM

14
#>1765 - 中野 彰 / @M__tech

06/04/2018 at 12:47PM

15
#>2237 - 中野 彰 / @M__tech

05/31/2018 at 01:27AM

16
#>2636 - 中野 彰 / @M__tech

05/31/2018 at 01:21AM

18
#>3289 - 中野 彰 / @M__tech

05/31/2018 at 01:18AM