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

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

4180 active golfers, 15983 entries

Solutions by @NgSekLong:
10
#830 - Ng Sek Long / @NgSekLong

02/09/2019 at 02:53PM

11
#>1175 - Ng Sek Long / @NgSekLong

02/09/2019 at 02:52PM

12
#>1364 - Ng Sek Long / @NgSekLong

02/09/2019 at 02:51PM

13
#>1401 - Ng Sek Long / @NgSekLong

02/09/2019 at 02:50PM

14
#>1822 - Ng Sek Long / @NgSekLong

02/09/2019 at 02:49PM

16
#>2661 - Ng Sek Long / @NgSekLong

02/09/2019 at 02:46PM

20
#>3645 - Ng Sek Long / @NgSekLong

02/09/2019 at 02:44PM

21
#>3747 - Ng Sek Long / @NgSekLong

02/09/2019 at 02:43PM

22
#>3827 - Ng Sek Long / @NgSekLong

02/09/2019 at 02:39PM

26
#>4001 - Ng Sek Long / @NgSekLong

02/09/2019 at 02:38PM