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 576c778ea4896a561b01b4f2

Copy three lines

If the site is up (by some miracle), make the text under every header identical.

Start file
First:
	Junk text.
Second:
	Junk text.
Third:
	Junk text.
Last:
	Copy these lines,
        and replace the text
        in each heading above.
End file
First:
	Copy these lines,
        and replace the text
        in each heading above.
Second:
	Copy these lines,
        and replace the text
        in each heading above.
Third:
	Copy these lines,
        and replace the text
        in each heading above.
Last:
	Copy these lines,
        and replace the text
        in each heading above.

View Diff

With vimgolf.com's uptime issues, I don't know if anyone will get to play this.
It's tricky though, surprisingly so. I hope a few people manage to get it to
load.

Solutions by @jonoelk:

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

640 active golfers, 2872 entries

Solutions by @jonoelk:
13
#184 - Jonathan El-Khoury / @jonoelk

05/01/2024 at 06:54AM

15
#>249 - Jonathan El-Khoury / @jonoelk

05/01/2024 at 06:53AM

16
#>276 - Jonathan El-Khoury / @jonoelk

05/01/2024 at 06:52AM

17
#>297 - Jonathan El-Khoury / @jonoelk

05/01/2024 at 06:52AM

18
#>357 - Jonathan El-Khoury / @jonoelk

05/01/2024 at 06:51AM

19
#>392 - Jonathan El-Khoury / @jonoelk

05/01/2024 at 06:50AM

20
#>427 - Jonathan El-Khoury / @jonoelk

05/01/2024 at 06:49AM

22
#>514 - Jonathan El-Khoury / @jonoelk

05/01/2024 at 06:43AM

30
#>606 - Jonathan El-Khoury / @jonoelk

05/01/2024 at 06:42AM