From d2ea1db38939fbb1201127855a0f50b7952602b5 Mon Sep 17 00:00:00 2001 From: Hsieh Chin Fan Date: Thu, 31 Mar 2022 21:31:02 +0800 Subject: update --- muttrc | 32 ++++++++++++++++++++++++-------- 1 file changed, 24 insertions(+), 8 deletions(-) (limited to 'muttrc') diff --git a/muttrc b/muttrc index 4d1ef75..11db2bd 100644 --- a/muttrc +++ b/muttrc @@ -19,10 +19,8 @@ set postponed = "+Drafts" set pgp_use_gpg_agent=yes set crypt_use_gpgme=yes # replace D21D8761 with your gpg key id -set pgp_sign_as=6DD8C14A set pgp_timeout=300 - -#mailboxes =INBOX =mbox =Sent =Trash =Drafts #=talk-tw =pay =service +set pgp_sign_as=6DD8C14A subscribe talk-tw@openstreetmap.org @@ -33,12 +31,11 @@ set header = no set pager_stop set sleep_time=0 # When changing folder -# Open mail externally -bind attach x view-mailcap - # 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 @@ -47,17 +44,36 @@ bind pager \cd half-down bind pager \cu half-up bind pager \cj next-entry bind pager \ck previous-entry -bind pager gg top -bind pager G bottom +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 -- cgit v1.2.3-70-g09d2