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

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

4159 active golfers, 15923 entries

Solutions by @FergusLongley:
10
#769 - Fergus Longley / @FergusLongley

08/17/2018 at 04:23PM

11
#>1158 - Fergus Longley / @FergusLongley

08/17/2018 at 04:20PM

12
#>1358 - Fergus Longley / @FergusLongley

08/17/2018 at 04:19PM

13
#>1391 - Fergus Longley / @FergusLongley

08/17/2018 at 04:18PM

14
#>1772 - Fergus Longley / @FergusLongley

08/17/2018 at 04:16PM

16
#>2635 - Fergus Longley / @FergusLongley

08/17/2018 at 04:14PM

17
#>2974 - Fergus Longley / @FergusLongley

08/17/2018 at 04:12PM

18
#>3283 - Fergus Longley / @FergusLongley

08/17/2018 at 04:10PM

19
#>3486 - Fergus Longley / @FergusLongley

08/17/2018 at 04:09PM

20
#>3615 - Fergus Longley / @FergusLongley

08/17/2018 at 04:06PM

21
#>3719 - Fergus Longley / @FergusLongley

08/17/2018 at 04:03PM

22
#>3804 - Fergus Longley / @FergusLongley

08/17/2018 at 04:02PM

23
#>3869 - Fergus Longley / @FergusLongley

08/17/2018 at 03:59PM

26
#>3977 - Fergus Longley / @FergusLongley

08/17/2018 at 03:58PM