From dc9a8e668c844b6ebd7bf292ddd360cdf8c1e218 Mon Sep 17 00:00:00 2001 From: pks Date: Tue, 10 Nov 2020 10:39:26 +0100 Subject: overhault mutt config --- mutt/.mutt/muttrc | 85 ++++++++++++++++++++++++++++++------------------------- 1 file changed, 47 insertions(+), 38 deletions(-) (limited to 'mutt/.mutt/muttrc') diff --git a/mutt/.mutt/muttrc b/mutt/.mutt/muttrc index 0de9b6d..d1db0d3 100644 --- a/mutt/.mutt/muttrc +++ b/mutt/.mutt/muttrc @@ -1,20 +1,37 @@ -set mbox_type=Maildir -set folder="~/.mail/" -set alias_file = ~/.mutt/alias -set header_cache = ~/.mutt/cache/headers -set mailcap_path = ~/.mutt/mailcap -set signature = ~/.mutt/sig -set tmpdir = /tmp/mutt -set realname = "Patrick Simianer" -set from = "p@simianer.de" -set use_from = yes -set sort = threads -set charset = "utf-8" -set send_charset = "utf-8" -set config_charset = "utf-8" -set read_inc = 1 -set sleep_time = 0 -set rfc2047_parameters = yes +set mbox_type = Maildir +set folder = "~/.mail/" +set alias_file = ~/.mutt/alias +set header_cache = ~/.mutt/cache/headers +set mailcap_path = ~/.mutt/mailcap +set signature = ~/.mutt/sig +set tmpdir = /tmp/pks/mutt +set use_from = yes +set envelope_from = yes +set sort = threads +set charset = "utf-8" +set send_charset = "utf-8" +set config_charset = "utf-8" +set read_inc = 2500 +set sleep_time = 0 +set rfc2047_parameters = yes +set mail_check_stats = yes +set mail_check_stats_interval = 3 +set mail_check = 3 +set edit_headers = no +set reverse_name = yes +set reverse_realname = no +set weed = yes +set fast_reply = yes +set include = yes + +# formats +set date_format = "!%b %d %Y" +set index_format = " %Z %D %-16.16L %s" +folder-hook */inbox 'set date_format="!%b %d"' +folder-hook */all 'set date_format="!%Y-%m-%d"' +set attribution = "On %{%Y-%m-%d}, at %{%H:%M:%S %Z}, %a wrote:" + +# auto view auto_view text/html # bindings @@ -23,7 +40,7 @@ bind index F "flag-message" # macros set wait_key = no macro index,pager G "imapfilter -c ~/.imapfilter/primary.lua &>/dev/null && mbsync primary && notmuch new 2>/dev/null" -macro index,pager H "imapfilter -c ~/.imapfilter/secondary.lua &>/dev/null && mbsync secondary && notmuch new 2>/dev/null" +#macro index,pager H "imapfilter -c ~/.imapfilter/secondary.lua &>/dev/null && mbsync secondary && notmuch new 2>/dev/null" macro index,pager J "mbsync -a && notmuch new 2>/dev/null" macro index m "T~N;WNT~O;WO\CT~T" "mark all messages read" macro index c "?" "open a different folder" @@ -37,23 +54,23 @@ bind editor complete-query # headers ignore * unignore from date subject to cc -hdr_order from to cc date subject +unhdr_order * +hdr_order from: to: cc: bcc: date: subject: +alternative_order text/plain text/enriched text/html # primary mailboxes -mailboxes =primary/inbox =primary/drafts =primary/all +mailboxes =primary/inbox =primary/drafts =primary/lists =primary/all + # secondary mailboxes -mailboxes +#mailboxes " " +#mailboxes =secondary/inbox =secondary/drafts =secondary/all # folder hooks folder-hook primary/* source ~/.mutt/primary.rc -folder-hook secondary/* source ~/.mutt/secondary.rc -folder-hook . 'set read_inc=1' -folder-hook primary/all 'set read_inc=1000' -folder-hook secondary/all 'set read_inc=1000' -folder-hook secondary/lists 'set read_inc=1000' +#folder-hook secondary/* source ~/.mutt/secondary.rc # notmuch -set my_notmuchfs_folder="~/.notmuchfs" +set my_notmuchfs_folder="/tmp/pks/notmuchfs" macro index "," "prompt_mkdir $my_notmuchfs_folder~/.mail/current_search" "Search" # status bar @@ -69,19 +86,12 @@ bind index,pager sidebar-next bind index,pager sidebar-prev bind index,pager sidebar-open set sidebar_visible = yes -set sidebar_width = 23 +set sidebar_width = 13 set sidebar_format = '%B%> %!%?N? %N? ' -set sidebar_short_path = no +set sidebar_short_path = yes set sidebar_folder_indent = yes set sidebar_indent_string = ' ' -set mail_check_stats = yes -set mail_check_stats_interval = 3 set sidebar_new_mail_only = no -set mail_check = 3 -set edit_headers = no -set reverse_name = yes -set reverse_realname = no -alternates ^.*@simianer.de$ ^.*@pks.rocks$ ^.*@fru.gal$ # pager set pager_index_lines = 20 @@ -95,6 +105,5 @@ unset help # ui source ~/.mutt/ui.rc -# default primary +# default is primary source ~/.mutt/primary.rc - -- cgit v1.2.3