From 302cfbc8082f08498d9f36f191021d08b7435a2e Mon Sep 17 00:00:00 2001 From: Hsieh Chin Fan Date: Sat, 2 Apr 2022 23:17:47 +0800 Subject: update --- muttrc | 46 ++++++++++++++++++++++++++-------------------- 1 file changed, 26 insertions(+), 20 deletions(-) (limited to 'muttrc') diff --git a/muttrc b/muttrc index cc6d992..ff4496a 100644 --- a/muttrc +++ b/muttrc @@ -16,6 +16,7 @@ set move = yes set record = "+Sent" set trash = "+Trash" set postponed = "+Drafts" +set index_format = "%4C %Z %{%b %d} %-15.15L (%?l?%4l&%4c?) %s" set pgp_use_gpg_agent=yes set crypt_use_gpgme=yes @@ -39,19 +40,11 @@ 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 -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 -bind pager \cb previous-page -bind pager \cd half-down -bind pager \cu half-up -bind pager \cj next-entry -bind pager \ck previous-entry bind index sync-mailbox bind index q browse-mailboxes +bind index y edit-label +bind index x tag-entry +bind index t edit-label bind index \cl limit bind index \cj next-entry bind index \ck previous-entry @@ -64,10 +57,22 @@ 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 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 +bind pager \cb previous-page +bind pager \cd half-down +bind pager \cu half-up +bind pager \cj next-entry +bind pager \ck previous-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\n" "Sync Mailbox" +macro index *a "Tall\n" "Select All" +macro index *n "\ctall\n" "Deselect All" # Sidebar mailboxes =INBOX =mbox "+---------- Watch ----------" =pay =osm =keep "+-------- Processed --------" =Sent =Trash =Drafts @@ -123,20 +128,21 @@ 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 brightgreen black "~T" # tagged 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 -color index red white "~v~(~F)!~N" # collapsed thread with flagged, no unread -color index yellow white "~v~(~F~N)" # collapsed thread with some unread & flagged -color index green white "~N~v~(~F~N)" # collapsed thread with unread parent & flagged -color index green white "~N~v~(~F)" # collapsed thread with unread parent, no unread inside, but some flagged -color index yellow red "~v~(~D)" # thread with deleted (doesn't differentiate between all or partial) +color index magenta black "~v~(~N|~O)" # collapsed thread with some unread +color index magenta black "~N~v~(~N)" # collapsed thread with unread parent +color index red white "~v~(~F)!~N" # collapsed thread with flagged, no unread +color index yellow white "~v~(~F~N)" # collapsed thread with some unread & flagged +color index green white "~N~v~(~F~N)" # collapsed thread with unread parent & flagged +color index green white "~N~v~(~F)" # collapsed thread with unread parent, no unread inside, but some flagged +color index yellow red "~v~(~D)" # thread with deleted (doesn't differentiate between all or partial) # Highlight mail header ------------------------------------------ # color header -color header green black "^(From)" +color header green black "^(From)" color header brightyellow black "^(Subject)" # Set quote's starting symbol -- cgit v1.2.3-70-g09d2