From 9f2faeff19b7695a9abc6bf4360b1e83972ce1a5 Mon Sep 17 00:00:00 2001 From: Mart Lubbers Date: Mon, 11 May 2015 12:58:02 +0200 Subject: [PATCH] Added html pipe to firefox from mutt in a hacky fashion --- .mutt/muttrc | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.mutt/muttrc b/.mutt/muttrc index a9d9945..d50b334 100644 --- a/.mutt/muttrc +++ b/.mutt/muttrc @@ -13,6 +13,7 @@ source ~/.mutt/mailboxes # Receiving, sending and searching set sendmail="msmtp -C /home/mart/.mutt/msmtprc" macro index,pager $ "offlineimap -c ~/.mutt/offlineimaprc &" "Force refresh" +macro attach B "firefox \"data:text/html;base64,$(base64 -w 0 <&0)\"" macro index \ "set my_old_pipe_decode=\$pipe_decode my_old_wait_key=\$wait_key nopipe_decode nowait_key\ notmuch-mutt -r --prompt search\ @@ -30,12 +31,12 @@ macro index,pager \Ct "\ " "Clean up mailing lists" # Key bindings -bind index gg first-entry -bind index G last-entry -bind pager k previous-line -bind pager j next-line -bind pager gg top -bind pager G bottom +bind index gg first-entry +bind index G last-entry +bind pager k previous-line +bind pager j next-line +bind pager gg top +bind pager G bottom bind pager R group-reply # Misc options -- 2.20.1