Added html pipe to firefox from mutt in a hacky fashion
[dotfiles.git] / .mutt / muttrc
index 4700963..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>\
@@ -29,6 +30,15 @@ macro index,pager \Ct "\
 <tag-pattern>~C i3-discuss@i3.zekjur.net<enter><tag-prefix-cond><save-message>=i3<enter><end-cond>\
 <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 pager R group-reply 
+
 # Misc options
 set timeout=2
 set mail_check=0