On February 28, 2018 11:31:43 AM GMT+01:00, Darac Marjal <mailingl...@darac.org.uk> wrote: >On Wed, Feb 28, 2018 at 06:09:44PM +0800, Yubin Ruan wrote: >>Hi, do you guys have any ways to conveniently copy a long URL which >spans >>across several lines and have + prefixes before it. Currently in the >pager I >>have to copy each part separatly in order to advoid copying the + >prefix. >> >>Hmm...is this question sound too trivial...? > >The easy way: > set markers = no > >The fancy way: > Use a terminal that supports "OSC 8", and patch mutt to wrap URLs in > the appropriate escape sequences. See > https://gist.github.com/egmontkob/eb114294efbcd5adb1944c9f3cb5feda > for more details. > >> >>Yubin >> >>-- >>Yubin Ruan <http://fastdrivers.org>
Another option is to use a helper program. I usually pipe the message to urlview which is configured to feed it to xclip or xsel. Best, Mart