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