From ad658b9aebb42fbe0f796bfc05aa22520ac43b0f Mon Sep 17 00:00:00 2001 From: Felix Nehrke Date: Wed, 12 Nov 2025 02:51:39 +0100 Subject: [PATCH] Add shortcut "gf" to mutt to open attachments in firefox --- .config/mutt/muttrc | 1 + 1 file changed, 1 insertion(+) diff --git a/.config/mutt/muttrc b/.config/mutt/muttrc index 91c9b91..800ba24 100644 --- a/.config/mutt/muttrc +++ b/.config/mutt/muttrc @@ -52,6 +52,7 @@ macro pager gr "" # Allow urlscan to follow links additional of the builtin urlview macro index,pager,attach gu 'urlscan' "Follow links with urlscan" macro index,pager,attach go 'urlscan --headers -d -W' "Follow links with urlscan" +macro attach gf "unset wait_keyrm -f ~/Downloads/mutt-attach~/Downloads/mutt-attachfirefox ~/Downloads/mutt-attach &" "Open attachent in firefox" # Neither builtin urlview nor urlscan really worked great on stupid marketing mails, so w3m for the rescue... macro index,pager,attach gv "text/htmlw3m -T text/html -o imgdisplay= -o confirm_qq=false"