X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=email%2F.mutt%2Fmuttrc;h=d341140aff8878f8e0add62b7db396642ae76ac2;hb=e26d42e86a5cecb2c9b75be5b2e7bcea41d19c1f;hp=85ae982ced4f291bcfa14b10d3ccefa3c9774bb9;hpb=df8c58a08735deb736708e4bbdfa24ea5e14ad44;p=dotfiles.git diff --git a/email/.mutt/muttrc b/email/.mutt/muttrc index 85ae982..d341140 100644 --- a/email/.mutt/muttrc +++ b/email/.mutt/muttrc @@ -11,10 +11,14 @@ set mask="!^\\.[^.]" source ~/.mutt/mailboxes # Receiving, sending and searching -set sendmail="msmtp -C /home/mrl/.config/msmtp/config" +set sendmail="/home/mrl/.mutt/checkattach.sh msmtp -C /home/mrl/.config/msmtp/config" set send_charset="us-ascii:utf-8" macro index,pager $ "offlineimap &" "Force refresh" macro attach B "firefox \"data:text/html;base64,$(base64 -w 0 <&0)\"" +send2-hook "~f mart@martlubbers.net" "set sendmail=\"msmtp -C /home/mrl/.config/msmtp/config -a net\"" +send2-hook "~f mart.lubbers@student.ru.nl" "set sendmail=\"msmtp -C /home/mrl/.config/msmtp/config -a ru\"" + +#folder-hook . push "~=$" # Key bindings bind index gg first-entry @@ -24,6 +28,7 @@ bind pager j next-line bind pager gg top bind pager G bottom bind index,pager R group-reply +bind index,pager F flag-message # Misc options set timeout=2 @@ -72,16 +77,11 @@ macro index,pager A \ "khard add-email" \ "add the sender email address to khard" -# Colors -source ~/.mutt/colors.muttrc - -# notmuch -source ~/.mutt/notmuch.muttrc +# sidebar +source ~/.mutt/sidebar.muttrc # Crypto -set crypt_use_gpgme=yes -set crypt_autosign -set crypt_replysign -set crypt_replysignencrypted=yes -set crypt_verify_sig=yes -message-hook '!(~g|~G) ~b"^-----BEGIN\ PGP\ (SIGNED\ )?MESSAGE"' "exec check-traditional-pgp" +source ~/.mutt/gpg.muttrc + +# Colors +source ~/.mutt/colors.muttrc