better pgp handling for mart@cs.ru.nl
[dotfiles.git] / email / .mutt / muttrc
index b197c42..15e8295 100644 (file)
@@ -15,8 +15,10 @@ source ~/.mutt/mailboxes
 # Receiving, sending and searching
 set sendmail="/home/mrl/.mutt/checkattach.sh msmtp -C /home/mrl/.config/msmtp/config"
 set send_charset="us-ascii:utf-8"
-macro index,pager $ "<shell-escape>offlineimap &<enter><sync-mailbox>" "Force refresh"
+macro index,pager $ "<shell-escape>/home/mrl/.mutt/force_sync.sh<enter><sync-mailbox>" "Force refresh"
 macro attach B "<pipe-entry>firefox \"data:text/html;base64,$(base64 -w 0 <&0)\"<enter>"
+macro compose <esc>1 "<esc>f^UMart Lubbers <mart@martlubbers.net><enter>ps"
+macro compose <esc>2 "<esc>f^UMart Lubbers <mart@cs.ru.nl><enter>pc"
 send2-hook "~f mart@martlubbers.net" "set sendmail=\"msmtp -C /home/mrl/.config/msmtp/config -a net\""
 send2-hook "~f m.lubbers@cs.ru.nl" "set sendmail=\"msmtp -C /home/mrl/.config/msmtp/config -a ru\""
 send2-hook "~f m.lubbers@science.ru.nl" "set sendmail=\"msmtp -C /home/mrl/.config/msmtp/config -a ru\""
@@ -58,7 +60,9 @@ set mailcap_sanitize=yes
 # w3m --dump
 auto_view text/html
 # pdftotext
-auto_view application/pdf 
+auto_view application/pdf
+# khal
+auto_view application/ics
 # libreoffice --cat
 auto_view application/vnd.openxmlformats-officedocument.wordprocessingml.document
 auto_view application/msword