]> Git — Sourcephile - julm/julm-nix.git/blob - homes/julm/mutt/muttrc
mutt: show Archived-At: header
[julm/julm-nix.git] / homes / julm / mutt / muttrc
1 #set dotlock_program="/usr/bin/mutt_dotlock"
2 #charset-hook ^iso-8859-1$ utf-8
3 #macro index,pager S "|sa-learn --ham -<enter>" "Flag message as ham"
4 #macro index,pager s "|sa-learn --spam -<enter>" "Flag message as spam"
5 #set alias_file=$HOME/var/lib/mutt/aliases.dat
6 #set crypt_use_pka
7 #set locale="fr_FR.UTF-8"
8 #set new_mail_command="notify-send 'New Email' '%n new messages, %u unread.' &"
9 #set pgp_mime_signature_description="Signature digitale OpenPGP"
10 #set pgp_mime_signature_filename=msg.sig.gpg
11 #set sendmail="/usr/sbin/ssmtp -C$HOME/.mutt/ssmtp/ssmtp.cfg"
12 #set wrapmargin=3
13 #source $alias_file
14 alternative_order text/plain text/enriched text text/html
15 auto_view application/octet-stream
16 auto_view text/html
17 bind attach i previous-entry
18 bind attach k next-entry
19 bind browser i previous-entry
20 bind browser j noop
21 bind browser k next-entry
22 bind browser r check-new
23 bind browser R check-stats
24 bind generic i previous-line
25 bind generic j exit
26 bind generic k next-line
27 bind generic l select-entry
28 bind index <Esc><Tab> previous-new-then-unread
29 bind index <Tab> next-new-then-unread
30 bind index L list-reply
31 bind index N search-opposite
32 bind index \; tag-prefix-cond # apply the next function ONLY to tagged messages
33 bind index h limit
34 bind index i previous-entry
35 bind index j collapse-thread
36 bind index k next-entry
37 bind index l display-message
38 bind index r reply
39 bind index,pager M save-message
40 bind index,pager \Cn sidebar-next
41 bind index,pager \Co sidebar-open
42 bind index,pager \Cp sidebar-prev
43 bind pager < exit
44 bind pager <BackSpace> exit
45 bind pager <Esc><Tab> previous-new-then-unread
46 bind pager <Tab> next-new-then-unread
47 bind pager L list-reply
48 bind pager i previous-line
49 bind pager j exit
50 bind pager k next-line
51 bind pager l next-entry
52 bind pager r reply
53 bind pager,index V check-traditional-pgp
54 # object foreground background [regex]
55 color body cyan default [-a-z_0-9.]+@[-a-z_0-9.]+ # e-mail addresses
56 color body magenta default "(ftp|git|http|https|irc|mailto|news|rsync|ssh|svn|xmpp)://[^ >]+" # point out URL
57 color header brightblack default ^Archived-At:
58 color header brightblack default ^Content-Type:
59 color header brightblack default ^Date:
60 color header brightblack default ^List-ID:
61 color header magenta default ^Message-ID:
62 color header brightblack default ^Old-To:
63 color header brightblack default ^Open(PGP|pgp):
64 color header brightblack default ^Reply-To:
65 color header brightblack default ^User-Agent:
66 color header brightblack default ^X-Mailer:
67 color header brightblack default ^X-Operating-System:
68 color header brightblack default ^X-PGP-Key-FingerPrint:
69 color header brightblack default ^X-PGP-Key:
70 color header brightblack default ^X-Spam-Status:
71 color header cyan default ^(Bcc|BCC):
72 color header cyan default ^(Cc|CC):
73 color header cyan default ^From:
74 color header cyan default ^To:
75 color header red default ^Disposition-Notification-To:
76 color header red default ^Return-Receipt-To:
77 color header brightwhite yellow ^Subject:
78 color index yellow default '~F' # Flagged
79 color indicator white red
80 color normal white default
81 color quoted brightblack default
82 color search white red
83 color status white blue
84 color tree magenta default
85 macro browser q "<exit><quit>"
86 #macro browser y "\t"
87 macro compose \CP "Fgpg --clearsign\ny"
88 macro index , "<sync-mailbox><change-folder>^<enter>" # Reload current folder
89 macro index <F8> "<shell-escape>rm -rf ~/.mu/results; mu-find -o l -l ~/.mu/results " "mu-find"
90 macro index <F9> "<change-folder-readonly>~/.mu/results\n" "display mu-find results"
91 macro index q "<change-folder>?"
92 #macro index y "c?\t"
93 macro index,browser L "<enter-command>unset wait_key<enter><shell-escape>read -p 'search: ' x; echo \$x >~/.cache/mutt/terms<enter><limit>~i \"\`notmuch search --output=messages \$(cat ~/.cache/mutt/terms) | head -n 600 | perl -le '@a=<>;chomp@a;s/\^id:// for@a;$,=\"|\";print@a'\`\"<enter>" "Limit through a notmuch search"
94 macro index,browser \cL "<limit>all\n" "show all messages (undo limit)"
95 macro index,generic \CF "!echo SIGHUP gpg-agent so it forgets the passphrase.; pkill -SIGHUP gpg-agent\n" "SIGHUP gpg-agent so it forgets the passphrase"
96 macro index,pager A "<pipe-message>abook --add-email<return>" "add the sender address to abook"
97 macro index,pager u |urlview\n
98 macro index,pager,generic a "<shell-escape>abook<return>" "launch abook"
99 unmime_lookup *
100 mime_lookup application/octet-stream
101 ignore *
102 unignore From Date Subject To Cc Message-ID Archived-At
103 unignore x-mailer
104 unignore x-spam-status
105 unignore x-spam-report
106 set ask_follow_up = no
107 set ask_x_comment_to = no
108 set askcc = no
109 set assumed_charset = UTF-8
110 set attribution = "Le %d, %n a écrit :"
111 set auto_tag = yes
112 set browser_abbreviate_mailboxes
113 #set browser_sticky_cursor
114 set catchup_newsgroup = no
115 set charset = UTF-8
116 set check_mbox_size # This variable should happen before any "mailboxes" directive
117 set collapse_unread = no
118 set config_charset = UTF-8
119 set crypt_replyencrypt
120 set crypt_replysign
121 set crypt_replysignencrypted
122 set crypt_use_gpgme = no
123 set crypt_verify_sig
124 set date_format = "%a %d %b %Y %Hh%M %Z"
125 set edit_headers
126 set editor = "sh -c 'vim -f -c \"set ft=mail tw=64\" -c \":0/^\$\" \"$0\"; echo -ne \"\\033kmutt\\033\\134\"; echo -ne \"\\033]0;TERM: mutt: \$PWD\\007\"' "
127 set envelope_from_address = ""
128 set folder_format = "%N%t [%3n/%3m] %f %> %s %D"
129 set followup_to
130 set followup_to_poster = ask-yes
131 set group_index_format = '%4C %M%N %5s %-45.45f %d'
132 set hdrs
133 set honor_followup_to
134 set hostname = "localhost"
135 set imap_check_subscribed
136 set imap_delim_chars = "/.+"
137 set imap_idle
138 set imap_keepalive = 300
139 set imap_list_subscribed
140 set imap_passive = yes
141 set implicit_autoview
142 set include = ask-yes
143 set indent_string = "> "
144 set index_format = "%Z %-18.18L %?M?%3M >>>? %s%> %5cB %D"
145 set inews = ''
146 set mail_check = 60
147 set mail_check_stats
148 set metoo = no
149 set mime_forward = no
150 set mime_forward_rest
151 set mime_subject = yes
152 set net_inc = 5
153 set newsgroups_charset = utf-8
154 set nntp_authenticators = ''
155 set nntp_context = 1000
156 set nntp_listgroup = yes
157 set nntp_load_description = yes
158 set nntp_pass = ''
159 set nntp_poll = 60
160 set nntp_user = ''
161 set nomark_old # Non read messages not marked as old
162 set pager = "builtin"
163 set pager_context = 2 # Number of lines to be shown when doing next-page
164 set pager_index_lines = 9
165 set pager_stop # When looking at the end of a message dont jump to the beginning of the next one
166 set pgp_auto_decode
167 set pgp_autoinline = no
168 set pgp_check_exit
169 set pgp_clearsign_command = "gpg --batch --output - --armor --textmode --clearsign %?a?--local-user %a? <%f"
170 set pgp_decode_command = "gpg --batch --output - --use-agent --decrypt %f"
171 set pgp_decrypt_command = "gpg --batch --output - --use-agent --status-fd 2 --decrypt %f"
172 set pgp_encrypt_only_command = "pgpewrap gpg --batch --output - --use-agent --always-trust --textmode --armor --encrypt -- --recipient %r <%f"
173 set pgp_encrypt_sign_command = "pgpewrap gpg --batch --output - --use-agent --always-trust --textmode --armor %?a?--local-user %a? --sign --encrypt -- --recipient %r <%f"
174 set pgp_entry_format = "%4n %t%f %4l/0x%k %-4a %2c %u"
175 set pgp_export_command = "pgpewrap gpg --batch --export --armor -- '' %r"
176 set pgp_good_sign = "^gpg : bonne signature de"
177 set pgp_ignore_subkeys
178 set pgp_import_command = "gpg --batch --import --verbose %f"
179 set pgp_list_pubring_command = "gpg --no-verbose --batch --quiet --with-colons --list-keys %r"
180 set pgp_list_secring_command = "gpg --no-verbose --batch --quiet --with-colons --list-secret-keys %r"
181 set pgp_mime_auto
182 set pgp_replyinline
183 set pgp_self_encrypt
184 set pgp_show_unusable
185 set pgp_sign_command = "gpg --batch --output - --use-agent --armor --detach-sign --textmode %?a?--local-user %a? <%f"
186 set pgp_sort_keys = address
187 set pgp_strict_enc
188 set pgp_timeout = 10
189 set pgp_use_gpg_agent
190 set pgp_verify_command = "gpg --batch --output - --verify %s %f"
191 set pgp_verify_key_command = "gpg --batch --fingerprint --check-sigs %r"
192 set pop_checkinterval = 60
193 set pop_delete = no
194 set pop_reconnect
195 set post_moderated = ask-yes
196 set postpone_encrypt = yes
197 set query_command = "abook --mutt-query '%s'"
198 set quote_regexp = "^([ \t]*[|>:}#])+"
199 set reverse_alias
200 set reverse_name
201 set reverse_realname = no
202 set save_unsubscribed = yes
203 set send_charset = UTF-8
204 set sendmail = "sendmail -oem -oi"
205 set show_new_news = yes
206 set show_only_unread = no
207 set sidebar_delim_chars = "/.+"
208 set sidebar_folder_indent
209 set sidebar_format = "%B%?F? [%F]?%* %?N?%N/?%S"
210 set sidebar_indent_string = ".."
211 set sidebar_visible = no
212 set signature = "~/.mutt/signature"
213 set sort = threads
214 set sort_alias = alias
215 set sort_aux = reverse-last-date
216 set sort_browser = reverse-date
217 set ssl_force_tls
218 set ssl_starttls = no
219 set strict_threads # Use In-Reply-To: header to build threads
220 set timeout = 30
221 set to_chars = " +TCFL"
222 set uncollapse_jump = yes
223 set uncollapse_new = yes
224 set use_envelope_from
225 set use_envelope_from
226 set use_from
227 set user_agent = no
228 set x_comment_to = no
229 unset allow_8bit
230 unset beep
231 unset crypt_autoencrypt
232 unset mark_old # When leaving a box don't mark new messages old
233 unset markers
234 unset meta_key
235 unset move # Do not move read mails
236 unset pgp_autosign
237 unset pgp_retainable_sigs
238 unset preconnect
239
240 account-hook . ' \
241 unset imap_user; \
242 unset imap_pass; \
243 unset tunnel \
244 '
245 # Use very high $read_inc to speed up reading hcache'd maildirs
246 folder-hook . 'set read_inc=1000'
247 # Use lower value for reading slower remote IMAP folders
248 folder-hook (^imap) 'set read_inc=100'
249 # Use even lower value for reading even slower remote POP folders
250 folder-hook (^pop) 'set read_inc=1'
251
252
253 # vim: ft=muttrc