aboutsummaryrefslogtreecommitdiffhomepage
path: root/muttrc
diff options
context:
space:
mode:
authorHsieh Chin Fan <typebrook@gmail.com>2022-04-05 15:00:11 +0800
committerHsieh Chin Fan <typebrook@gmail.com>2022-04-05 15:00:11 +0800
commitdcd2c83a44b9372f8602a57a34e2c9066abd1ec5 (patch)
treeb0222a8191405b531c8d589a4e72d447f190923c /muttrc
parent2b4bc30472064b0181fb56b63eb3dab3a1c8d19a (diff)
update
Diffstat (limited to 'muttrc')
-rw-r--r--muttrc164
1 files changed, 0 insertions, 164 deletions
diff --git a/muttrc b/muttrc
deleted file mode 100644
index dfd8c00..0000000
--- a/muttrc
+++ /dev/null
@@ -1,164 +0,0 @@
1# IMAP/SMTP settings
2set folder = "imaps://pham@mail.topo.tw:993/"
3set imap_pass = `pass pham@topo.tw`
4set header_cache = "~/.cache/mutt"
5set message_cachedir = "~/.cache/mutt"
6set smtp_url = "smtp://pham@mail.topo.tw:25"
7set smtp_pass = "$imap_pass"
8
9# Identify meself
10set from = "pham@topo.tw"
11set realname = "謝晉凡 Hsieh Chin Fan"
12set signature="$SETTING_DIR/.signature"
13set pgp_use_gpg_agent=yes
14set crypt_use_gpgme=yes
15set pgp_timeout=300
16set pgp_sign_as=6DD8C14A # replace 6DD8C14A with your gpg key id
17
18# Basic Mailbox
19set spoolfile = "+INBOX"
20set mbox= "+mbox"
21set move = yes
22set record = "+Sent"
23set trash = "+Trash"
24set postponed = "+Drafts"
25
26subscribe talk-tw@openstreetmap.org
27
28# Interface
29set editor = "vim"
30set charset = "utf-8"
31set send_charset = "us-ascii:utf-8"
32set header = no
33set pager_stop
34set sleep_time = 0 # When changing folder
35set timeout = 10
36set quit = ask-no
37set sort = threads
38set pager_index_lines = 5
39set markers = no # Remove '+' for long links with limited terminal width
40set index_format = "%4C %8Y %Z %(%b %d) %-15.15L (%?l?%4l&%4c?) %s"
41
42# Vim-style key binding, \c means Ctrl
43# 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
44bind index <Return> sync-mailbox
45bind index q browse-mailboxes
46bind index y edit-label
47bind index x tag-entry
48bind index t edit-label
49bind index \cl limit
50bind index \cj next-entry
51bind index \ck previous-entry
52bind index,browser G last-entry
53bind index,browser g noop
54bind index,browser gg first-entry
55bind index R group-reply
56bind index \cf next-page
57bind index \cb previous-page
58bind index \cd half-down
59bind index \cu half-up
60bind index } bottom-page
61bind pager G bottom
62bind pager g noop
63bind pager gg top
64bind pager j next-line
65bind pager k previous-line
66bind pager \cf next-page
67bind pager \cb previous-page
68bind pager \cd half-down
69bind pager \cu half-up
70bind pager \cj next-entry
71bind pager \ck previous-entry
72bind attach x view-mailcap
73macro generic,index,pager \cr ":source ~/.config/mutt/muttrc\n" "Reload mutt's configuration file"
74macro index <Return> ":exec sync-mailbox\n" "Sync Mailbox"
75macro index *a "Tall\n" "Select All"
76macro index *n "\ctall\n" "Deselect All"
77
78# Sidebar
79mailboxes =INBOX =mbox "+---------- Watch ----------" =pay =osm =keep "+-------- Processed --------" =Sent =Trash =Drafts
80set mail_check = 120
81set mail_check_stats
82set imap_check_subscribed
83set sidebar_visible = yes
84set sidebar_format = '%B%?F? [%F]?%* %?N?%N/?%S'
85set sidebar_short_path = yes
86bind index,pager B sidebar-toggle-visible
87bind index,pager \Cp sidebar-prev
88bind index,pager \Cn sidebar-next
89bind index,pager \Co sidebar-open
90bind index,pager <F5> sidebar-prev-new
91bind index,pager <F6> sidebar-next-new
92color indicator cyan black
93color sidebar_highlight white color8
94color sidebar_divider color8 black
95color sidebar_flagged red black
96color sidebar_new green black
97
98# basic colors
99color normal white black
100color error red black
101color tilde white black
102color message cyan black
103color markers red black
104color attachment brightred black
105color search brightmagenta black
106color status brightwhite black
107color indicator white blue
108color tree magenta black # arrows in threads
109
110# For list
111# Highlight mails by their status. For a specific pattern(e.g. ~N), pleas read mutt manual 4.2
112color index red black "~A" # all messages
113color index brightred black "~E" # expired messages
114color index brightcyan black "~N" # new messages
115color index brightcyan black "~O" # old messages
116color index brightmagenta black "~Q" # messages that have been replied to
117color index white black "~R" # read messages
118color index brightblue black "~U" # unread messages
119color index brightblue black "~U~$" # unread, unreferenced messages
120color index brightblue black "~v" # messages part of a collapsed thread
121color index brightblue black "~P" # messages from me
122color index cyan black "~p!~F" # messages to me
123color index brightgreen black "~N~p!~F" # new messages to me
124color index brightgreen black "~U~p!~F" # unread messages to me
125color index green black "~R~p!~F" # messages to me
126color index red black "~F" # flagged messages
127color index red black "~F~p" # flagged messages to me
128color index red black "~N~F" # new flagged messages
129color index red black "~N~F~p" # new flagged messages to me
130color index red black "~U~F~p" # new flagged messages to me
131color index brightgreen black "~T" # tagged messages
132color index black brightmagenta "~D" # deleted messages
133color index white black "~v~(!~N!~O)" # collapsed thread with no unread
134color index magenta black "~v~(~N|~O)" # collapsed thread with some unread
135color index magenta black "~N~v~(~N)" # collapsed thread with unread parent
136color index red white "~v~(~F)!~N" # collapsed thread with flagged, no unread
137color index yellow white "~v~(~F~N)" # collapsed thread with some unread & flagged
138color index green white "~N~v~(~F~N)" # collapsed thread with unread parent & flagged
139color index green white "~N~v~(~F)" # collapsed thread with unread parent, no unread inside, but some flagged
140color index yellow red "~v~(~D)" # thread with deleted (doesn't differentiate between all or partial)
141
142# color header
143color header green black "^(From)"
144color header brightyellow black "^(Subject)"
145
146# Set quote's starting symbol
147set quote_regexp = "^([ ]t]*[|>:}#])+"
148set quote_regexp = "^([ \t ]*[>])+"
149
150# Highlight quotes by indent
151color quoted blue black
152color quoted1 magenta black
153color quoted2 cyan black
154color quoted3 yellow black
155color quoted4 red black
156
157# urls
158color body brightblue black "(^|<| )mailto:[^ ]+@[^ ]( |>|$)"
159color body brightblue black "(^|<| )(http|https|ftp|file|telnet|news|finger)://[^ ]+( |>|$)"
160
161# *bold*, _underline_, and /italic/
162color body brightcyan black "(^| )\\*[^ ]+\\*( |$)"
163color body brightcyan black "(^| )_[^ ]+_( |$)"
164color body brightcyan black "(^| )/[^ ]+/( |$)"