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 = ~/.cache set use_from = yes set use_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 = yes set reverse_name = yes set reverse_realname = yes 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" set attribution = "On %{%Y-%m-%d}, at %{%H:%M:%S %Z}, %a wrote:" folder-hook .*/Inbox 'set date_format="!%b %d"' folder-hook .*/Archive 'set date_format="!%Y-%m-%d"' # auto view auto_view text/html # bindings bind index F "flag-message" # macros set wait_key = no macro index,pager G "mbsync primary && notmuch new 2>/dev/null" #macro index,pager H "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" macro pager c "?" "open a different folder" macro index M "T.*\n;WN" "Mark all messages as read" # abook set query_command = "abook --mutt-query '%s'" bind editor complete-query # headers ignore * unignore from date subject to cc 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/Lists =primary/Archive # secondary mailboxes #mailboxes " " #mailboxes =secondary/Inbox =secondary/Drafts =secondary/Archive # folder hooks folder-hook primary/* source ~/.mutt/primary.rc #folder-hook secondary/* source ~/.mutt/secondary.rc # notmuch macro index "," \ "set my_old_pipe_decode=\$pipe_decode my_old_wait_key=\$wait_key nopipe_decode nowait_key\ notmuch-mutt -r --prompt search\ `echo ${XDG_CACHE_HOME:-$HOME/.cache}/notmuch/mutt/results`\ set pipe_decode=\$my_old_pipe_decode wait_key=\$my_old_wait_key" \ "notmuch: " # status bar set status_chars = " *%A" # html auto_view text/html alternative_order text/plain text/enriched text/html bind attach view-mailcap # sidebar bind index,pager sidebar-next bind index,pager sidebar-prev bind index,pager sidebar-open set sidebar_visible = yes set sidebar_width = 16 set sidebar_format = '%B%> %!%?N? %N? ' set sidebar_short_path = yes set sidebar_folder_indent = yes set sidebar_indent_string = ' ' set sidebar_new_mail_only = no # pager set pager_index_lines = 20 set pager_context = 3 set pager_stop set menu_scroll set tilde unset markers unset help # ui source ~/.mutt/ui.rc # default is primary source ~/.mutt/primary.rc