From a75633b75781237e4376c8cae136cd98d714ebab Mon Sep 17 00:00:00 2001 From: Hsieh Chin Fan Date: Sat, 2 Apr 2022 21:59:45 +0800 Subject: update --- muttrc | 30 ++++++++++++++++++------------ 1 file changed, 18 insertions(+), 12 deletions(-) (limited to 'muttrc') diff --git a/muttrc b/muttrc index ccda88a..cc6d992 100644 --- a/muttrc +++ b/muttrc @@ -1,7 +1,7 @@ -set folder = "imaps://pham@mail.topo.tw:993" +set folder = "imaps://pham@mail.topo.tw:993/" set imap_pass = `pass pham@topo.tw` -set message_cachedir = "~/.mail" -set header_cache = "~/.mail" +set header_cache = "~/.cache/mutt" +set message_cachedir = "~/.cache/mutt" set smtp_url = "smtp://pham@mail.topo.tw:25" set smtp_pass = "$imap_pass" @@ -30,10 +30,12 @@ set charset = "utf-8" set send_charset = "us-ascii:utf-8" set header = no set pager_stop -set sleep_time=0 # When changing folder +set sleep_time = 0 # When changing folder set timeout = 10 set quit = ask-no set sort = threads +set pager_index_lines = 5 +set markers = no # Remove '+' for long links with multiple lines # 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 @@ -48,12 +50,14 @@ bind pager \cd half-down bind pager \cu half-up bind pager \cj next-entry bind pager \ck previous-entry -bind index g noop -bind index gg first-entry -#bind index l select-entry bind index sync-mailbox +bind index q browse-mailboxes bind index \cl limit -bind index G last-entry +bind index \cj next-entry +bind index \ck previous-entry +bind index,browser G last-entry +bind index,browser g noop +bind index,browser gg first-entry bind index R group-reply bind index \cf next-page bind index \cb previous-page @@ -63,11 +67,13 @@ bind index } bottom-page bind index x tag-entry bind attach x view-mailcap macro generic,index,pager \cr ":source ~/.config/mutt/muttrc\n" "Reload mutt's configuration file" -macro index ":exec sync-mailbox sidebar-open\n" "Sync Mailbox" +macro index ":exec sync-mailbox\n" "Sync Mailbox" # Sidebar -mailboxes =INBOX =mbox =pay =Sent =Trash =Drafts =talk-tw =service =keep +mailboxes =INBOX =mbox "+---------- Watch ----------" =pay =osm =keep "+-------- Processed --------" =Sent =Trash =Drafts +set mail_check = 120 set mail_check_stats +set imap_check_subscribed set sidebar_visible = yes set sidebar_format = '%B%?F? [%F]?%* %?N?%N/?%S' set sidebar_short_path = yes @@ -78,7 +84,7 @@ bind index,pager \Co sidebar-open bind index,pager sidebar-prev-new bind index,pager sidebar-next-new color indicator cyan black -color sidebar_highlight black color8 +color sidebar_highlight white color8 color sidebar_divider color8 black color sidebar_flagged red black color sidebar_new green black @@ -117,7 +123,7 @@ color index red black "~F~p" # color index red black "~N~F" # new flagged messages color index red black "~N~F~p" # new flagged messages to me color index red black "~U~F~p" # new flagged messages to me -color index white brightmagenta "~D" # deleted messages +color index black brightmagenta "~D" # deleted messages color index white black "~v~(!~N!~O)" # collapsed thread with no unread color index magenta black "~v~(~N|~O)" # collapsed thread with some unread color index magenta black "~N~v~(~N)" # collapsed thread with unread parent -- cgit v1.2.3-70-g09d2