如何从 mutt 中的电子邮件中 ​​select URL 并在网络浏览器中打开它?

How to select a URL from an email in mutt and open it in a web browser?

当我阅读邮件时,有时我想 select 邮件文本中的链接之一在网络浏览器中打开它。

在您回答之前,我知道有 urlview,但也有 BASE64 编码(或其他传输编码)的邮件,urlview 从中找不到任何 URL。然后还有 HTML-only 邮件也可以使用传输编码进行编码。

我想知道是否有一个我找不到的简单 and/or 好的解决方案。我不能是唯一遇到这个问题的人。当然不需要以urlview为基础。

如果您使用 "pipe_decode" 设置,

urlview 将起作用。在宏中使用示例,绑定到 "\u":

macro index,pager \u "<enter-command>set pipe_decode = yes<enter><pipe-message>urlview<enter><enter-command>set pipe_decode = no<enter>" "view URLs"

有了 urlscan urlview 的继任者。

Support for emails in quoted-printable and base64 encodings. [..] For HTML mails, a crude parser is used to render the HTML into text.