2 set from="mart@martlubbers.net"
3 alternates "mart@(cs\.ru\.nl|mart@martlubbers\.net)"
8 set folder=~/.mutt/mail
11 set postponed=+/Drafts/
13 source ~/.mutt/mailboxes
15 # Receiving, sending and searching
16 set sendmail="/home/mrl/.mutt/checkattach.sh msmtp -C /home/mrl/.config/msmtp/config"
17 set send_charset="us-ascii:utf-8"
18 macro index,pager $ "<shell-escape>/home/mrl/.mutt/force_sync.sh<enter><sync-mailbox>" "Force refresh"
19 macro attach B "<pipe-entry>firefox \"data:text/html;base64,$(base64 -w 0 <&0)\"<enter>"
21 # Set the correct msmtp account for the different addresses
22 send2-hook '~f mart@martlubbers.net'\
23 'set sendmail="msmtp -C /home/mrl/.config/msmtp/config -a net"'
24 send2-hook '((~f m.lubbers@cs.ru.nl)|(~f m.lubbers@science.ru.nl)|(~f mart@cs.ru.nl))'\
25 'set sendmail="msmtp -C /home/mrl/.config/msmtp/config -a ru"'
27 # Macro for switching to the ru address
28 macro compose <esc>2 "<esc>f^UMart Lubbers <mart@cs.ru.nl><enter>"
29 # Disable pgp when sending from a ru address
30 send2-hook '((~f m.lubbers@cs.ru.nl)|(~f m.lubbers@science.ru.nl)|(~f mart@cs.ru.nl)) (~g|~G)'\
33 #folder-hook . push "<delete-pattern>~=<enter>$"
36 bind index gg first-entry
37 bind index G last-entry
38 bind pager k previous-line
39 bind pager j next-line
42 bind index,pager R group-reply
43 bind index,pager F flag-message
56 set sort_browser=alpha
60 set duplicate_threads=yes
62 unignore headers from to subject date cc
63 set mailcap_path=~/.mutt/mailcap
64 set mailcap_sanitize=yes
69 auto_view application/pdf
71 auto_view application/ics
73 auto_view application/vnd.openxmlformats-officedocument.wordprocessingml.document
74 auto_view application/msword
75 auto_view application/vnd.openxmlformats-officedocument.wordprocessingml.document
76 auto_view application/vnd.oasis.opendocument.text
79 set pager_index_lines=20
84 set quote_regexp="^( {0,4}[>|:#%]| {0,4}[a-z0-9]+[>|]+)+"
87 set query_command= "khard email --parsable '%s'"
88 bind editor <Tab> complete-query
89 bind editor ^T complete
91 "<pipe-message>khard add-email<return>" \
92 "add the sender email address to khard"
95 source ~/.mutt/sidebar.muttrc
98 source ~/.mutt/notmuch.muttrc
101 source ~/.mutt/gpg.muttrc
104 source ~/.mutt/colors.muttrc