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

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

641 active golfers, 2875 entries

Solutions by @enji_ja:
13
#119 - enji / @enji_ja

04/01/2019 at 12:57AM

15
#>238 - enji / @enji_ja

04/01/2019 at 12:56AM

16
#>269 - enji / @enji_ja

04/01/2019 at 12:55AM

17
#>287 - enji / @enji_ja

04/01/2019 at 12:55AM

18
#>335 - enji / @enji_ja

04/01/2019 at 12:54AM

19
#>383 - enji / @enji_ja

04/01/2019 at 12:53AM

21
#>469 - enji / @enji_ja

04/01/2019 at 12:52AM

23
#>526 - enji / @enji_ja

04/01/2019 at 12:49AM

23
#>526 - enji / @enji_ja

04/01/2019 at 12:51AM

24
#>547 - enji / @enji_ja

04/01/2019 at 12:41AM