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

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

641 active golfers, 2875 entries

Solutions by @sebnukem:
16
#267 - Sebastien Nicoud / @sebnukem

02/03/2019 at 10:32PM

16
#>267 - Sebastien Nicoud / @sebnukem

02/03/2019 at 10:33PM

17
#>285 - Sebastien Nicoud / @sebnukem

02/03/2019 at 10:31PM

18
#>334 - Sebastien Nicoud / @sebnukem

02/03/2019 at 10:27PM

18
#>334 - Sebastien Nicoud / @sebnukem

02/03/2019 at 10:37PM

19
#>382 - Sebastien Nicoud / @sebnukem

02/03/2019 at 10:24PM

23
#>526 - Sebastien Nicoud / @sebnukem

02/03/2019 at 10:21PM

27
#>585 - Sebastien Nicoud / @sebnukem

02/03/2019 at 10:19PM

29
#>599 - Sebastien Nicoud / @sebnukem

02/03/2019 at 10:18PM

33
#>612 - Sebastien Nicoud / @sebnukem

02/03/2019 at 10:18PM

36
#>616 - Sebastien Nicoud / @sebnukem

02/03/2019 at 10:17PM