How do I open a link from an email in mutt (without using the mouse)?
I also want to advise using urlscan
instead of urlview
. Its man page explains what needs to be added to your .muttrc to get it to display your email links. I found it to be better than urlview
for two reasons:
- It does not truncate URLs like
urlview
. - It also displays the text in the context of which the URL occurs, which is very helpful when you have an email with many links. In my experience,
urlview
doesn't do this.
I recently made this switch and have found mutt to be a lot more usable when it comes to opening links from it.
Yes, the easiest method is with the urlview
helper utility for mutt. The urlview utility is a curses program designed to be a URL extractor and launcher. The method of installation depends on your target operating system. It can be obtained from the mutt ftp site.
Once installed, place this in your ~/.muttrc
:
macro pager \cb 'urlview' 'Follow links with urlview'
You can now use Ctrl + b to launch urlview in the pager.