blob: 11db2bd78cba6b7de0e166325844849fb57d1a21 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
|
set folder = "imaps://pham@mail.topo.tw:993"
set imap_pass = `pass pham@topo.tw`
set message_cachedir = "~/.mail"
set smtp_url = "smtp://pham@mail.topo.tw:25"
set smtp_pass = "$imap_pass"
set from = "pham@topo.tw"
set realname = "謝晉凡 Hsieh Chin Fan"
set signature="$SETTING_DIR/.signature"
set spoolfile = "+INBOX"
set mbox= "+mbox"
set move = yes
set record = "+Sent"
set trash = "+Trash"
set postponed = "+Drafts"
set pgp_use_gpg_agent=yes
set crypt_use_gpgme=yes
# replace D21D8761 with your gpg key id
set pgp_timeout=300
set pgp_sign_as=6DD8C14A
subscribe talk-tw@openstreetmap.org
set editor = "vim"
set charset = "utf-8"
set send_charset = "us-ascii:utf-8"
set header = no
set pager_stop
set sleep_time=0 # When changing folder
# Vim-style key binding, \c means Ctrl
# ref: https://fancyseeker.github.io/2015/08/19/mutt/#vim%E9%A3%8E%E6%A0%BC%E9%94%AE%E4%BD%8D%E7%BB%91%E5%AE%9A
bind pager G bottom
bind pager g noop
bind pager gg top
bind pager j next-line
bind pager k previous-line
bind pager \cf next-page
bind pager \cb previous-page
bind pager \cd half-down
bind pager \cu half-up
bind pager \cj next-entry
bind pager \ck previous-entry
bind index g noop
bind index gg first-entry
bind index l select-entry
bind index \cl limit
bind index G last-entry
bind index R group-reply
bind index q change-folder
bind index \cf next-page
bind index \cb previous-page
bind index \cd half-down
bind index \cu half-up
bind index } bottom-page
bind index x tag-entry
bind attach x view-mailcap
# Sidebar
mailboxes =INBOX =mbox =Sent =Trash =Drafts =talk-tw =pay =service
set sidebar_visible = yes
set sidebar_format = '%B%?F? [%F]?%* %?N?%N/?%S'
set sidebar_short_path = yes
set sidebar_sort_method = 'new'
bind index,pager B sidebar-toggle-visible
bind index \Cp sidebar-prev
bind index \Cn sidebar-next
bind index \Co sidebar-open
color indicator cyan black
color sidebar_highlight black color8
color sidebar_divider color8 black
color sidebar_flagged red black
color sidebar_new green black
# basic colors -------------------------------------------------------
color normal white black
color error red black
color tilde white black
color message cyan black
color markers red black
color attachment brightred black
color search brightmagenta black
color status brightwhite black
color indicator white blue
color tree magenta black # arrows in threads
# For list -------------------------------------------------------
# Highlight mails by their status. For a specific pattern(e.g. ~N), pleas read mutt manual 4.2
color index red black "~A" # all messages
color index brightred black "~E" # expired messages
color index brightcyan black "~N" # new messages
color index brightcyan black "~O" # old messages
color index brightmagenta black "~Q" # messages that have been replied to
color index white black "~R" # read messages
color index brightblue black "~U" # unread messages
color index brightblue black "~U~$" # unread, unreferenced messages
color index brightblue black "~v" # messages part of a collapsed thread
color index brightblue black "~P" # messages from me
color index cyan black "~p!~F" # messages to me
color index brightgreen black "~N~p!~F" # new messages to me
color index brightgreen black "~U~p!~F" # unread messages to me
color index green black "~R~p!~F" # messages to me
color index red black "~F" # flagged messages
color index red black "~F~p" # flagged messages to me
color index red black "~N~F" # new flagged messages
color index red black "~N~F~p" # new flagged messages to me
color index red black "~U~F~p" # new flagged messages to me
color index white brightmagenta "~D" # deleted messages
color index white black "~v~(!~N!~O)" # collapsed thread with no unread
color index magenta black "~v~(~N|~O)" # collapsed thread with some unread
color index magenta black "~N~v~(~N)" # collapsed thread with unread parent
color index red white "~v~(~F)!~N" # collapsed thread with flagged, no unread
color index yellow white "~v~(~F~N)" # collapsed thread with some unread & flagged
color index green white "~N~v~(~F~N)" # collapsed thread with unread parent & flagged
color index green white "~N~v~(~F)" # collapsed thread with unread parent, no unread inside, but some flagged
color index yellow red "~v~(~D)" # thread with deleted (doesn't differentiate between all or partial)
# Highlight mail header ------------------------------------------
# color header
color header green black "^(From)"
color header brightyellow black "^(Subject)"
# Set quote's starting symbol
set quote_regexp = "^([ ]t]*[|>:}#])+"
set quote_regexp = "^([ \t ]*[>])+"
# Highlight quotes by indent
color quoted blue black
color quoted1 magenta black
color quoted2 cyan black
color quoted3 yellow black
color quoted4 red black
# urls
color body brightblue black "(^|<| )mailto:[^ ]+@[^ ]( |>|$)"
color body brightblue black "(^|<| )(http|https|ftp|file|telnet|news|finger)://[^ ]+( |>|$)"
# *bold*, _underline_, and /italic/
color body brightcyan black "(^| )\\*[^ ]+\\*( |$)"
color body brightcyan black "(^| )_[^ ]+_( |$)"
color body brightcyan black "(^| )/[^ ]+/( |$)"
|