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