On Mon, Feb 01, 2021 at 12:14:45PM -0500, Jon LaBadie wrote:
I typically view html attachments by piping them to
a text viewer such as lynx.  However this is a multi-
step process of 'v' to view attachments, 'arrows' to
select the html attachment, '<f5>' to invoke my macro,
and upon exiting lynx, several keystrokes to return
to the mutt index.

Has anyone a technique to select the first html attachment
and invoke the viewer in a single step?

Returning to the mutt index directly from the viewer would
be a nice extra if feasible.

I use below macro (Alt-h) for the same:
---
macro index,pager <esc>h <view-attachments>/html<enter><enter><exit> "view first 
html attachment"
---
Of course, I also have Chrome as a viewer for text/html in mailcap.
Hope this helps.

Jon
--
Jon H. LaBadie                 j...@labadie.us
11226 South Shore Rd.          (703) 787-0688 (H)
Reston, VA  20190              (703) 935-6720 (C)

--
Cheers,
Oleg A. Mamontov

mailto: o...@mamontov.net

skype:  lonerr11
cell:   +7 (903) 798-1352

Reply via email to