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

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

641 active golfers, 2875 entries

Solutions by @dan_kilman:
13
#149 - Dan Kilman / @dan_kilman

01/04/2020 at 12:50PM

15
#>243 - Dan Kilman / @dan_kilman

01/04/2020 at 12:49PM

16
#>271 - Dan Kilman / @dan_kilman

01/04/2020 at 12:47PM

17
#>289 - Dan Kilman / @dan_kilman

01/04/2020 at 12:44PM

18
#>346 - Dan Kilman / @dan_kilman

01/04/2020 at 12:42PM

19
#>386 - Dan Kilman / @dan_kilman

01/04/2020 at 12:40PM

20
#>417 - Dan Kilman / @dan_kilman

01/04/2020 at 12:33PM

21
#>471 - Dan Kilman / @dan_kilman

01/04/2020 at 12:32PM

23
#>528 - Dan Kilman / @dan_kilman

01/04/2020 at 12:29PM