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

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

4181 active golfers, 15989 entries

Solutions by @huynhminhchu:
10
#919 - huynhminhchu / @huynhminhchu

09/23/2019 at 03:07AM

11
#>1192 - huynhminhchu / @huynhminhchu

09/23/2019 at 03:06AM

11
#>1192 - huynhminhchu / @huynhminhchu

09/23/2019 at 03:07AM

12
#>1370 - huynhminhchu / @huynhminhchu

09/23/2019 at 03:05AM

13
#>1413 - huynhminhchu / @huynhminhchu

09/23/2019 at 03:05AM

14
#>1884 - huynhminhchu / @huynhminhchu

09/23/2019 at 03:03AM

15
#>2312 - huynhminhchu / @huynhminhchu

09/23/2019 at 03:02AM

16
#>2681 - huynhminhchu / @huynhminhchu

09/23/2019 at 03:01AM

17
#>3040 - huynhminhchu / @huynhminhchu

09/23/2019 at 03:01AM

18
#>3349 - huynhminhchu / @huynhminhchu

09/23/2019 at 03:00AM

20
#>3656 - huynhminhchu / @huynhminhchu

09/23/2019 at 02:59AM

21
#>3757 - huynhminhchu / @huynhminhchu

09/23/2019 at 02:58AM

22
#>3833 - huynhminhchu / @huynhminhchu

09/23/2019 at 02:57AM

25
#>3979 - huynhminhchu / @huynhminhchu

09/23/2019 at 02:37AM