+unset markers
[nethome.git] / .muttrc.addons
1 # System-wide personalization for Mutt
2 ######################################
3
4 folder-hook ""        set sort=threads
5 folder-hook "!"       set sort=mailbox-order
6 folder-hook "=sent"   set sort=mailbox-order
7 folder-hook "=spam"   set sort=mailbox-order
8 folder-hook "=err"    set sort=mailbox-order
9 folder-hook "=input$" set sort=mailbox-order
10 bind index <Tab> next-new
11 bind pager <Tab> next-new
12 bind index <Esc><Tab> previous-new
13 bind pager <Esc><Tab> previous-new
14 bind index \` next-unread
15 bind pager \` next-unread
16 bind index <Esc>\` previous-unread
17 bind pager <Esc>\` previous-unread
18 unset strict_threads
19 set editor="vim -c 'set noai' -c 'set ts=8'"
20 set send_charset="us-ascii:iso-2022-jp:utf-8"
21 set charset="utf-8"
22 set autoedit
23 set auto_tag
24 set history=100
25 set include=yes
26 unset metoo
27 set mime_fwd
28 set forward_format="Fwd: [%a] %s"
29 set move=no
30 set pager_context=1
31 set pager_stop
32 set pop_delete
33 set record=+sent
34 set reverse_alias
35 set status_format="---%h:%f [%M %nN %tT %dD %lB]%>-%v---"
36 #set web_browser="lynx %s"
37 set pager_format="-%S- [%l lines, %c] %C/%T: %-20.20n   %s"
38 set status_on_top
39 set fcc_clear
40 set rfc2047_parameters
41 unset save_empty
42 set read_inc=1000
43 set write_inc=1000
44 unset confirmappend
45 unset confirmcreate
46 set reply_to=ask-yes
47 set thorough_search
48 set abort_unmodified=no
49 set date_format="!%a, %d %b %Y %H:%M:%S %z"     # RFC 2822: 3.3.
50 # FIXME: %D not needed: RFC 2822: 3.3: "converted" can IMO incl. timezone
51 # but %d will place +0000 for %z and thus brokes the timestamp
52 set attribution="On %D, %n wrote:"
53 unset markers
54
55
56 # Mail command
57 ##############
58 bind index \ca mail
59 macro index M ":my_hdr X-Priority: 1\n:my_hdr Importance: high\n:set dsn_return=hdrs\n:set dsn_notify=failure,delay,success\n^a" "DSN and Priority-1 classed compose of a new mail message"
60 macro index m ":unmy_hdr X-Priority Importance\n:unset dsn_return dsn_notify\n^a" "Standard compose of a new mail message"
61 # quote 'macro' argument to prevent: macro: too many arguments
62 folder-hook ""      "macro index S \":unset wait_key\n|spamassassin --report\n:set wait_key\ns=spamo-mutt\n\""
63 folder-hook "=spam" "macro index S \":unset wait_key\n|spamassassin --report\n:set wait_key\nWN\ct~T\n\""
64 folder-hook ""      "macro pager S \":unset wait_key\n|spamassassin --report\n:set wait_key\ns=spamo-mutt\n\""
65 folder-hook "=spam" "macro pager S \":unset wait_key\n|spamassassin --report\n:set wait_key\n\""
66 folder-hook ""      "macro index H \":unset wait_key\n|spamassassin --revoke\n:set wait_key\nWN\ct~T\n\""
67 folder-hook ""      "macro pager H \":unset wait_key\n|spamassassin --revoke\n:set wait_key\n\""
68 macro editor \ew "^a  [^e]^a"
69
70 # GPG
71 #####
72 source /home/lace/.muttrc-gpg.rc
73 unset pgp_show_unusable
74 set pgp_replyencrypt
75 set pgp_replysignencrypted
76
77 # Ignore headers
78 ################
79 ignore received content- mime-version status x-status message-id sender
80 ignore references return-path lines precedence x-authentication-warning
81 ignore list-help list-subscribe list-unsubscribe list-post list-archive
82 ignore x-mimetrack priority x-priority importance x-mime-autoconverted
83 ignore x-accept-language resent-message-id x-sender x-antirelay
84 ignore x-msmail-priority x-mimeole x-pop3-rcpt delivered-to
85
86 # Colors
87 ########
88 color hdrdefault brightcyan black
89 color quoted cyan black
90 color signature brightred black
91 color indicator brightyellow red
92 color error brightred black
93 color status brightyellow blue
94 color tree brightmagenta black  # the thread tree in the index menu
95 color tilde brightmagenta black
96 color message brightcyan black
97 color normal white black
98 color attachment brightmagenta black
99 color search black green  # how to hilite search patterns in the pager
100 color header brightyellow black ^(From|Subject):
101 color body brightyellow black "(ftp|http)://[^ ]+"  # point out URLs
102 color body brightcyan black [-a-z_0-9.]+@[-a-z_0-9.]+ # e-mail addresses
103 color underline brightgreen black
104 mono header underline ^(From|Subject):
105 mono quoted bold