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

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

4202 active golfers, 16093 entries

Solutions by @kshyun9023:
12
#1370 - 김성현 / @kshyun9023

02/03/2019 at 01:04AM

13
#>1410 - 김성현 / @kshyun9023

02/03/2019 at 01:01AM

14
#>1829 - 김성현 / @kshyun9023

02/03/2019 at 12:50AM

14
#>1829 - 김성현 / @kshyun9023

02/03/2019 at 12:55AM

15
#>2287 - 김성현 / @kshyun9023

02/03/2019 at 12:49AM

16
#>2674 - 김성현 / @kshyun9023

02/03/2019 at 12:46AM

17
#>3025 - 김성현 / @kshyun9023

02/03/2019 at 12:44AM

18
#>3339 - 김성현 / @kshyun9023

02/03/2019 at 12:32AM

18
#>3339 - 김성현 / @kshyun9023

02/03/2019 at 12:40AM

19
#>3528 - 김성현 / @kshyun9023

02/03/2019 at 12:33AM