Opening URLs from mutt (was: Creating HTML emails with mutt)
Ben Boeckel
mathstuf at gmail.com
Tue Oct 29 00:28:23 UTC 2019
On Tue, Oct 29, 2019 at 00:10:09 +0000, Dave Woodfall wrote:
> Urlview handles long and short links just fine. I've been using it
> for over 10 years.
One issue I have with it is that context is lost. Marketing emails today
tend to be massive strings with embedded IDs in them. Telling one from
another in urlview means I'm bouncing back and forth between it and the
message (or having 2 mutt instances to coordinate).
Other than that, I really enjoy urlview. I even have a binding in tmux
to this script:
========================================
#!/bin/sh
[ -z "$TMUX" ] && exit 1
tempfile="$( mktemp )"
tmux capture-pane
tmux save-buffer "$tempfile"
tmux delete-buffer
tmux new-window -n urlview "urlview $tempfile; rm $tempfile"
========================================
which allows me to have wrapped lines work even with vertical splits
(which confuses the terminal just like the sidebar does).
--Ben
More information about the Mutt-users
mailing list