X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=email%2F.mutt%2Fmuttrc;h=b99644b8e8c7cf67acd5ddb1a66a044524daf515;hb=e0a4a4d6b943ebb6f71db04de671756504727a70;hp=39af2ba4c99e3ad4b7d6e4ed127738fda52bcd27;hpb=e7793f1b7978fa302c4da4c4943d849f7917b944;p=dotfiles.git diff --git a/email/.mutt/muttrc b/email/.mutt/muttrc index 39af2ba..b99644b 100644 --- a/email/.mutt/muttrc +++ b/email/.mutt/muttrc @@ -11,10 +11,10 @@ set mask="!^\\.[^.]" source ~/.mutt/mailboxes # Receiving, sending and searching -set sendmail="msmtp -C /home/mart/.mutt/msmtprc" -macro index,pager $ "offlineimap -c ~/.mutt/offlineimaprc &" "Force refresh" +set sendmail="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)\"" -source /etc/Muttrc.d/notmuch-mutt.rc # Key bindings bind index gg first-entry @@ -23,7 +23,7 @@ bind pager k previous-line bind pager j next-line bind pager gg top bind pager G bottom -bind pager R group-reply +bind index,pager R group-reply # Misc options set timeout=2 @@ -45,7 +45,16 @@ ignore headers * unignore headers from to subject date cc set mailcap_path=~/.mutt/mailcap set mailcap_sanitize=yes + +# w3m --dump auto_view text/html +# pdftotext +auto_view application/pdf +# libreoffice --cat +auto_view application/vnd.openxmlformats-officedocument.wordprocessingml.document +auto_view application/msword +auto_view application/vnd.openxmlformats-officedocument.wordprocessingml.document +auto_view application/vnd.oasis.opendocument.text # Pager options set pager_index_lines=20 @@ -55,8 +64,8 @@ set menu_scroll set tilde set quote_regexp="^( {0,4}[>|:#%]| {0,4}[a-z0-9]+[>|]+)+" -# Aliases -set query_command= "khard mutt --search '%s'" +# Address book +set query_command= "khard email --search '%s'" bind editor complete-query bind editor ^T complete macro index,pager A \ @@ -64,30 +73,13 @@ macro index,pager A \ "add the sender email address to khard" # Colors -color normal white default -color attachment brightyellow default -color hdrdefault cyan default -color indicator default cyan -color markers brightred default -color quoted green default -color signature cyan default -color status brightgreen blue -color tilde blue default -color tree red default -color body brightred default [\-\.+_a-zA-Z0-9]+@[\-\.a-zA-Z0-9]+ -color body brightblue default (https?|ftp)://[\-\.\,/%~_:?\#a-zA-Z0-9]+ -color quoted1 brightyellow default -color quoted2 red default -color hdrdefault cyan default -color signature cyan default -color index green default ~p -color index brightyellow default ~N -color index blue default ~T -color index red default ~D -color index brightblue default ~F +source ~/.mutt/colors.muttrc + +# notmuch +source ~/.mutt/notmuch.muttrc # Crypto -source /etc/Muttrc.d/gpg.rc +set crypt_use_gpgme=yes set crypt_autosign set crypt_replysign set crypt_replysignencrypted=yes