[neomutt-users] Open specific MIME part with keybinding
Nick Wynja
nick at nickwynja.com
Wed Jul 19 22:08:11 CEST 2023
On 07/19/23 at 11:48, Micah Duke <micah at dukefoo.com> wrote:
> I'm trying to figure out how to open a specific MIME part with a keybinding. For instance, I would like a keybinding in the pager that would open the "text/html" part using mailcap entry.
The only way I know how to do this is with the <search> operator:
macro index,pager 'v' \
"<view-attachments><search>text/html<return><view-mailcap><exit>" \
"Open html attachment"
The extra <exit> at the end closes the Attachment view and takes you back to the pager.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.neomutt.org/pipermail/neomutt-users-neomutt.org/attachments/20230719/0bf394b3/attachment.htm>
More information about the neomutt-users
mailing list