Mutt urlview

From wikinotes
Revision as of 15:07, 1 January 2021 by Will (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

urlview regex searches emails for links, then lets you quickly navigate to them.

Documentation

man urlview https://www.mankier.com/1/urlview

Locations

~/.urlview urlview config
~/.mutt/muttrc mutt config

Install

pacaur -S urlview

Configuration

# ~/.urlview

REGEXP (((http|https|ftp|gopher)|mailto)[.:][^ >"\t]*|www\.[-a-z0-9.]+)[^ .,;\t>">\):]
COMMAND xdg-open %s
# ~/.mutt/muttrc

macro pager \cb <pipe-entry>'urlview'<enter> \
    'Follow links with urlview'