Added html pipe to firefox from mutt in a hacky fashion
authorMart Lubbers <mart@martlubbers.net>
Mon, 11 May 2015 10:58:02 +0000 (12:58 +0200)
committerMart Lubbers <mart@martlubbers.net>
Mon, 11 May 2015 10:58:02 +0000 (12:58 +0200)
.mutt/muttrc

index a9d9945..d50b334 100644 (file)
@@ -13,6 +13,7 @@ source ~/.mutt/mailboxes
 # Receiving, sending and searching
 set sendmail="msmtp -C /home/mart/.mutt/msmtprc"
 macro index,pager $ "<shell-escape>offlineimap -c ~/.mutt/offlineimaprc &<enter><sync-mailbox>" "Force refresh"
+macro attach B "<pipe-entry>firefox \"data:text/html;base64,$(base64 -w 0 <&0)\"<enter>"
 macro index <F8> \
        "<enter-command>set my_old_pipe_decode=\$pipe_decode my_old_wait_key=\$wait_key nopipe_decode nowait_key<enter>\
        <shell-escape>notmuch-mutt -r --prompt search<enter>\
@@ -30,12 +31,12 @@ macro index,pager \Ct "\
 <sync-mailbox>" "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