diff options
author | Hsieh Chin Fan <typebrook@gmail.com> | 2022-03-31 21:31:02 +0800 |
---|---|---|
committer | Hsieh Chin Fan <typebrook@gmail.com> | 2022-03-31 21:31:02 +0800 |
commit | d2ea1db38939fbb1201127855a0f50b7952602b5 (patch) | |
tree | b0bfd879f286dad21051a7f69e6e6bb00a5a0fe9 /muttrc | |
parent | 7066f5b315de8af9b8776e1fa8ee6ae5170e7775 (diff) |
update
Diffstat (limited to 'muttrc')
-rw-r--r-- | muttrc | 32 |
1 files changed, 24 insertions, 8 deletions
@@ -19,10 +19,8 @@ set postponed = "+Drafts" | |||
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 | 21 | # replace D21D8761 with your gpg key id |
22 | set pgp_sign_as=6DD8C14A | ||
23 | set pgp_timeout=300 | 22 | set pgp_timeout=300 |
24 | 23 | set pgp_sign_as=6DD8C14A | |
25 | #mailboxes =INBOX =mbox =Sent =Trash =Drafts #=talk-tw =pay =service | ||
26 | 24 | ||
27 | subscribe talk-tw@openstreetmap.org | 25 | subscribe talk-tw@openstreetmap.org |
28 | 26 | ||
@@ -33,12 +31,11 @@ set header = no | |||
33 | set pager_stop | 31 | set pager_stop |
34 | set sleep_time=0 # When changing folder | 32 | set sleep_time=0 # When changing folder |
35 | 33 | ||
36 | # Open mail externally | ||
37 | bind attach x view-mailcap | ||
38 | |||
39 | # Vim-style key binding, \c means Ctrl | 34 | # Vim-style key binding, \c means Ctrl |
40 | # 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 | 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 |
41 | bind pager G bottom | 36 | bind pager G bottom |
37 | bind pager g noop | ||
38 | bind pager gg top | ||
42 | bind pager j next-line | 39 | bind pager j next-line |
43 | bind pager k previous-line | 40 | bind pager k previous-line |
44 | bind pager \cf next-page | 41 | bind pager \cf next-page |
@@ -47,17 +44,36 @@ bind pager \cd half-down | |||
47 | bind pager \cu half-up | 44 | bind pager \cu half-up |
48 | bind pager \cj next-entry | 45 | bind pager \cj next-entry |
49 | bind pager \ck previous-entry | 46 | bind pager \ck previous-entry |
50 | bind pager gg top | 47 | bind index g noop |
51 | bind pager G bottom | ||
52 | bind index gg first-entry | 48 | bind index gg first-entry |
49 | bind index l select-entry | ||
50 | bind index \cl limit | ||
53 | bind index G last-entry | 51 | bind index G last-entry |
54 | bind index R group-reply | 52 | bind index R group-reply |
53 | bind index q change-folder | ||
55 | bind index \cf next-page | 54 | bind index \cf next-page |
56 | bind index \cb previous-page | 55 | bind index \cb previous-page |
57 | bind index \cd half-down | 56 | bind index \cd half-down |
58 | bind index \cu half-up | 57 | bind index \cu half-up |
59 | bind index } bottom-page | 58 | bind index } bottom-page |
60 | bind index x tag-entry | 59 | bind index x tag-entry |
60 | bind attach x view-mailcap | ||
61 | |||
62 | # Sidebar | ||
63 | mailboxes =INBOX =mbox =Sent =Trash =Drafts =talk-tw =pay =service | ||
64 | set sidebar_visible = yes | ||
65 | set sidebar_format = '%B%?F? [%F]?%* %?N?%N/?%S' | ||
66 | set sidebar_short_path = yes | ||
67 | set sidebar_sort_method = 'new' | ||
68 | bind index,pager B sidebar-toggle-visible | ||
69 | bind index \Cp sidebar-prev | ||
70 | bind index \Cn sidebar-next | ||
71 | bind index \Co sidebar-open | ||
72 | color indicator cyan black | ||
73 | color sidebar_highlight black color8 | ||
74 | color sidebar_divider color8 black | ||
75 | color sidebar_flagged red black | ||
76 | color sidebar_new green black | ||
61 | 77 | ||
62 | # basic colors ------------------------------------------------------- | 78 | # basic colors ------------------------------------------------------- |
63 | color normal white black | 79 | color normal white black |