diff options
author | Hsieh Chin Fan <typebrook@gmail.com> | 2022-03-31 23:36:37 +0800 |
---|---|---|
committer | Hsieh Chin Fan <typebrook@gmail.com> | 2022-03-31 23:36:37 +0800 |
commit | 932e31f3379ff51d8a4ae492fe3ca7220fb75b81 (patch) | |
tree | cda967f0f15d4062d8893d65b4438a90c5620aab | |
parent | d2ea1db38939fbb1201127855a0f50b7952602b5 (diff) |
update
-rw-r--r-- | muttrc | 20 |
1 files changed, 13 insertions, 7 deletions
@@ -18,8 +18,8 @@ set postponed = "+Drafts" | |||
18 | 18 | ||
19 | set pgp_use_gpg_agent=yes | 19 | set pgp_use_gpg_agent=yes |
20 | set crypt_use_gpgme=yes | 20 | set crypt_use_gpgme=yes |
21 | # replace D21D8761 with your gpg key id | ||
22 | set pgp_timeout=300 | 21 | set pgp_timeout=300 |
22 | # replace 6DD8C14A with your gpg key id | ||
23 | set pgp_sign_as=6DD8C14A | 23 | set pgp_sign_as=6DD8C14A |
24 | 24 | ||
25 | subscribe talk-tw@openstreetmap.org | 25 | subscribe talk-tw@openstreetmap.org |
@@ -30,6 +30,8 @@ set send_charset = "us-ascii:utf-8" | |||
30 | set header = no | 30 | set header = no |
31 | set pager_stop | 31 | set pager_stop |
32 | set sleep_time=0 # When changing folder | 32 | set sleep_time=0 # When changing folder |
33 | set timeout=10 | ||
34 | set quit=ask-no | ||
33 | 35 | ||
34 | # Vim-style key binding, \c means Ctrl | 36 | # Vim-style key binding, \c means Ctrl |
35 | # 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 | 37 | # 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 |
@@ -50,7 +52,6 @@ bind index l select-entry | |||
50 | bind index \cl limit | 52 | bind index \cl limit |
51 | bind index G last-entry | 53 | bind index G last-entry |
52 | bind index R group-reply | 54 | bind index R group-reply |
53 | bind index q change-folder | ||
54 | bind index \cf next-page | 55 | bind index \cf next-page |
55 | bind index \cb previous-page | 56 | bind index \cb previous-page |
56 | bind index \cd half-down | 57 | bind index \cd half-down |
@@ -58,17 +59,22 @@ bind index \cu half-up | |||
58 | bind index } bottom-page | 59 | bind index } bottom-page |
59 | bind index x tag-entry | 60 | bind index x tag-entry |
60 | bind attach x view-mailcap | 61 | bind attach x view-mailcap |
62 | macro generic,index,pager \cr ":source ~/.config/mutt/muttrc\n" "Reload mutt's configuration file" | ||
61 | 63 | ||
62 | # Sidebar | 64 | # Sidebar |
63 | mailboxes =INBOX =mbox =Sent =Trash =Drafts =talk-tw =pay =service | 65 | mailboxes =INBOX =mbox =pay =Sent =Trash =Drafts =talk-tw =service =keep |
66 | set mail_check_stats | ||
67 | set imap_check_subscribed = yes | ||
68 | set imap_list_subscribed = yes | ||
64 | set sidebar_visible = yes | 69 | set sidebar_visible = yes |
65 | set sidebar_format = '%B%?F? [%F]?%* %?N?%N/?%S' | 70 | set sidebar_format = '%B%?F? [%F]?%* %?N?%N/?%S' |
66 | set sidebar_short_path = yes | 71 | set sidebar_short_path = yes |
67 | set sidebar_sort_method = 'new' | ||
68 | bind index,pager B sidebar-toggle-visible | 72 | bind index,pager B sidebar-toggle-visible |
69 | bind index \Cp sidebar-prev | 73 | bind index,pager \Cp sidebar-prev |
70 | bind index \Cn sidebar-next | 74 | bind index,pager \Cn sidebar-next |
71 | bind index \Co sidebar-open | 75 | bind index,pager \Co sidebar-open |
76 | bind index,pager <F5> sidebar-prev-new | ||
77 | bind index,pager <F6> sidebar-next-new | ||
72 | color indicator cyan black | 78 | color indicator cyan black |
73 | color sidebar_highlight black color8 | 79 | color sidebar_highlight black color8 |
74 | color sidebar_divider color8 black | 80 | color sidebar_divider color8 black |