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

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

641 active golfers, 2875 entries

Solutions by @mindgitrwx:
16
#273 - mindgitrwx / @mindgitrwx

09/03/2020 at 02:05AM

17
#>292 - mindgitrwx / @mindgitrwx

08/31/2020 at 02:28PM

18
#>352 - mindgitrwx / @mindgitrwx

08/31/2020 at 02:26PM

20
#>422 - mindgitrwx / @mindgitrwx

08/31/2020 at 02:25PM

21
#>474 - mindgitrwx / @mindgitrwx

08/31/2020 at 02:09PM

21
#>474 - mindgitrwx / @mindgitrwx

08/31/2020 at 02:14PM

22
#>510 - mindgitrwx / @mindgitrwx

08/31/2020 at 02:08PM

22
#>510 - mindgitrwx / @mindgitrwx

08/31/2020 at 02:10PM

22
#>511 - mindgitrwx / @mindgitrwx

09/03/2020 at 01:55AM

23
#>528 - mindgitrwx / @mindgitrwx

08/31/2020 at 02:13PM

23
#>528 - mindgitrwx / @mindgitrwx

09/03/2020 at 02:04AM

25
#>564 - mindgitrwx / @mindgitrwx

09/03/2020 at 01:52AM