aboutsummaryrefslogtreecommitdiffhomepage
path: root/muttrc
diff options
context:
space:
mode:
authorHsieh Chin Fan <typebrook@gmail.com>2022-04-02 21:59:45 +0800
committerHsieh Chin Fan <typebrook@gmail.com>2022-04-02 21:59:45 +0800
commita75633b75781237e4376c8cae136cd98d714ebab (patch)
tree88e0562a6708d13759a4928893fdacf840bb48e8 /muttrc
parent0399d98fa8519a72d66d323c7f1db9042ed6580f (diff)
update
Diffstat (limited to 'muttrc')
-rw-r--r--muttrc30
1 files changed, 18 insertions, 12 deletions
diff --git a/muttrc b/muttrc
index ccda88a..cc6d992 100644
--- a/muttrc
+++ b/muttrc
@@ -1,7 +1,7 @@
1set folder = "imaps://pham@mail.topo.tw:993" 1set folder = "imaps://pham@mail.topo.tw:993/"
2set imap_pass = `pass pham@topo.tw` 2set imap_pass = `pass pham@topo.tw`
3set message_cachedir = "~/.mail" 3set header_cache = "~/.cache/mutt"
4set header_cache = "~/.mail" 4set message_cachedir = "~/.cache/mutt"
5 5
6set smtp_url = "smtp://pham@mail.topo.tw:25" 6set smtp_url = "smtp://pham@mail.topo.tw:25"
7set smtp_pass = "$imap_pass" 7set smtp_pass = "$imap_pass"
@@ -30,10 +30,12 @@ set charset = "utf-8"
30set send_charset = "us-ascii:utf-8" 30set send_charset = "us-ascii:utf-8"
31set header = no 31set header = no
32set pager_stop 32set pager_stop
33set sleep_time=0 # When changing folder 33set sleep_time = 0 # When changing folder
34set timeout = 10 34set timeout = 10
35set quit = ask-no 35set quit = ask-no
36set sort = threads 36set sort = threads
37set pager_index_lines = 5
38set markers = no # Remove '+' for long links with multiple lines
37 39
38# Vim-style key binding, \c means Ctrl 40# Vim-style key binding, \c means Ctrl
39# 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 41# 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
@@ -48,12 +50,14 @@ bind pager \cd half-down
48bind pager \cu half-up 50bind pager \cu half-up
49bind pager \cj next-entry 51bind pager \cj next-entry
50bind pager \ck previous-entry 52bind pager \ck previous-entry
51bind index g noop
52bind index gg first-entry
53#bind index l select-entry
54bind index <Return> sync-mailbox 53bind index <Return> sync-mailbox
54bind index q browse-mailboxes
55bind index \cl limit 55bind index \cl limit
56bind index G last-entry 56bind index \cj next-entry
57bind index \ck previous-entry
58bind index,browser G last-entry
59bind index,browser g noop
60bind index,browser gg first-entry
57bind index R group-reply 61bind index R group-reply
58bind index \cf next-page 62bind index \cf next-page
59bind index \cb previous-page 63bind index \cb previous-page
@@ -63,11 +67,13 @@ bind index } bottom-page
63bind index x tag-entry 67bind index x tag-entry
64bind attach x view-mailcap 68bind attach x view-mailcap
65macro generic,index,pager \cr ":source ~/.config/mutt/muttrc\n" "Reload mutt's configuration file" 69macro generic,index,pager \cr ":source ~/.config/mutt/muttrc\n" "Reload mutt's configuration file"
66macro index <Return> ":exec sync-mailbox sidebar-open\n" "Sync Mailbox" 70macro index <Return> ":exec sync-mailbox\n" "Sync Mailbox"
67 71
68# Sidebar 72# Sidebar
69mailboxes =INBOX =mbox =pay =Sent =Trash =Drafts =talk-tw =service =keep 73mailboxes =INBOX =mbox "+---------- Watch ----------" =pay =osm =keep "+-------- Processed --------" =Sent =Trash =Drafts
74set mail_check = 120
70set mail_check_stats 75set mail_check_stats
76set imap_check_subscribed
71set sidebar_visible = yes 77set sidebar_visible = yes
72set sidebar_format = '%B%?F? [%F]?%* %?N?%N/?%S' 78set sidebar_format = '%B%?F? [%F]?%* %?N?%N/?%S'
73set sidebar_short_path = yes 79set sidebar_short_path = yes
@@ -78,7 +84,7 @@ bind index,pager \Co sidebar-open
78bind index,pager <F5> sidebar-prev-new 84bind index,pager <F5> sidebar-prev-new
79bind index,pager <F6> sidebar-next-new 85bind index,pager <F6> sidebar-next-new
80color indicator cyan black 86color indicator cyan black
81color sidebar_highlight black color8 87color sidebar_highlight white color8
82color sidebar_divider color8 black 88color sidebar_divider color8 black
83color sidebar_flagged red black 89color sidebar_flagged red black
84color sidebar_new green black 90color sidebar_new green black
@@ -117,7 +123,7 @@ color index red black "~F~p" #
117color index red black "~N~F" # new flagged messages 123color index red black "~N~F" # new flagged messages
118color index red black "~N~F~p" # new flagged messages to me 124color index red black "~N~F~p" # new flagged messages to me
119color index red black "~U~F~p" # new flagged messages to me 125color index red black "~U~F~p" # new flagged messages to me
120color index white brightmagenta "~D" # deleted messages 126color index black brightmagenta "~D" # deleted messages
121color index white black "~v~(!~N!~O)" # collapsed thread with no unread 127color index white black "~v~(!~N!~O)" # collapsed thread with no unread
122color index magenta black "~v~(~N|~O)" # collapsed thread with some unread 128color index magenta black "~v~(~N|~O)" # collapsed thread with some unread
123color index magenta black "~N~v~(~N)" # collapsed thread with unread parent 129color index magenta black "~N~v~(~N)" # collapsed thread with unread parent