2021-10-20 07:19:48 +00:00
|
|
|
|
|
|
|
set mail_check = 60
|
|
|
|
set mail_check_stats
|
|
|
|
|
2022-03-19 10:34:29 +00:00
|
|
|
set quit # at least for rapid prototyping
|
|
|
|
set sleep_time = 0 # no pause for info messages
|
|
|
|
set mark_old = no # things should only be new/unread or I actually looked at them
|
|
|
|
set pager_read_delay = 3 # mark read after 3 sec
|
|
|
|
set pipe_decode # get rid of headers when passing messages along
|
|
|
|
set auto_tag # apply commands to all tagged messages automatically
|
|
|
|
set wait_key = no # don't wait for user input after shell cmds, auto-view, piping, etc
|
|
|
|
set thorough_search = no # don't pre-process mail for ~b/~B searches
|
|
|
|
set flag_safe # make it impossible to delete flagged mails
|
|
|
|
# Pager settings
|
|
|
|
# filetypes and mailcap
|
2021-10-20 07:19:48 +00:00
|
|
|
set mailcap_path = "~/.config/neomutt/mailcap:~/.mailcap:/usr/share/neomutt/mailcap:/etc/mailcap:/etc/mailcap:/usr/etc/mailcap:/usr/local/etc/mailcap"
|
2022-03-19 10:34:29 +00:00
|
|
|
# Consult mime.types for determining types of these attachments
|
2021-10-20 07:19:48 +00:00
|
|
|
mime_lookup application/octet-stream
|
2022-03-19 10:34:29 +00:00
|
|
|
# This requires a ~/.mailcap entry with the copiousoutput flag, such as:
|
|
|
|
# text/html; lynx -dump -width ${COLUMNS:-80} %s; nametemplate=%s.html; copiousoutput
|
|
|
|
# Prefer plain text to html but multipart to plain for those only sending that
|
|
|
|
auto_view application/ics
|
|
|
|
auto_view text/calendar
|
|
|
|
auto_view text/plain
|
2021-10-20 07:19:48 +00:00
|
|
|
auto_view text/html
|
2022-03-19 10:34:29 +00:00
|
|
|
alternative_order text/calendar application/ics text/plain text/enriched text/html text/* multipart/mixed multipart/related text/plain
|
|
|
|
set count_alternatives = yes # look for attachments also in multipart/alternatives
|
|
|
|
# Remember to `mkdir -p ~/.neomutt/hcache` first:
|
2021-10-20 07:19:48 +00:00
|
|
|
set header_cache= "~/.neomutt/hcache"
|
2022-03-19 10:34:29 +00:00
|
|
|
# Compose settings
|
|
|
|
set edit_headers # allow editing headers while writing mail
|
|
|
|
set sig_dashes # separate signature from mail
|
|
|
|
set fast_reply # automatically fill in from and subject for replies
|
2021-10-20 07:19:48 +00:00
|
|
|
set forward_format = "Fwd: %s"
|
2022-03-19 10:34:29 +00:00
|
|
|
set reply_to # default send back to reply-to: header instead of from: header
|
|
|
|
set reverse_name # default to reply as person e-mail was originally sent to
|
|
|
|
set include # include original msg in reply
|
|
|
|
set forward_quote # include original msg as quote in fwd
|
|
|
|
set forward_format = "FW: %s" # subject for forwarding
|
|
|
|
set mime_forward = no # forward attachments with mail
|
|
|
|
set fcc_attach # attachments saved with body
|
|
|
|
# set editor = "emacsclient -a emacs -t"
|
|
|
|
# set editor = "vim"
|
2021-10-20 07:19:48 +00:00
|
|
|
set mime_type_query_command = "xdg-mime query filetype"
|
2022-03-19 10:34:29 +00:00
|
|
|
# send settings
|
2023-12-12 11:37:13 +00:00
|
|
|
set sendmail = "/usr/bin/msmtp"
|
2021-10-20 07:19:48 +00:00
|
|
|
set sendmail_wait = 0
|
|
|
|
|
|
|
|
# Display Settings
|
2022-03-19 10:34:29 +00:00
|
|
|
set allow_ansi # allow escape codes for color etc
|
2021-10-20 07:19:48 +00:00
|
|
|
set sort = threads
|
|
|
|
set sort_re # thread based on regex below
|
|
|
|
set reply_regex = "^(([Rr][Ee]?(\[[0-9]+\])?: *)?(\[[^]]+\] *)?)*"
|
2022-03-19 10:34:29 +00:00
|
|
|
set quote_regex = "^( {0,4}[>|:#%]| {0,4}[A-Za-z0-9]+[>|]+)+"
|
2022-06-13 17:31:56 +00:00
|
|
|
set sort_aux = last-date-received
|
|
|
|
#### Thread ordering
|
|
|
|
set use_threads=reverse
|
|
|
|
set sort='last-date'
|
|
|
|
set collapse_all = yes
|
|
|
|
set uncollapse_new = no
|
|
|
|
set thread_received = yes
|
|
|
|
set narrow_tree=no
|
2022-03-19 10:34:29 +00:00
|
|
|
# set date_format = "%z/%m/%d %I:%M%p"
|
2021-10-20 07:19:48 +00:00
|
|
|
# set date_format = "%m/%d"
|
2022-03-19 10:34:29 +00:00
|
|
|
# set index_format = "%4C [%Z] %{%y/%b %d} %-20.20F %s"
|
2021-10-20 07:19:48 +00:00
|
|
|
# sidebar view options
|
|
|
|
set sidebar_visible = yes
|
2022-03-19 10:34:29 +00:00
|
|
|
set sidebar_width = 24
|
|
|
|
# set sidebar_format = "%B%?F? [%F]?%* %?N?%N/?%S"
|
|
|
|
set sidebar_divider_char = ' ░'
|
|
|
|
set sidebar_folder_indent = yes
|
|
|
|
set sidebar_indent_string = ' - '
|
|
|
|
set sidebar_visible = no
|
|
|
|
set sidebar_next_new_wrap = yes
|
|
|
|
set sidebar_short_path = yes
|
|
|
|
set sidebar_component_depth = 0
|
2021-10-20 07:19:48 +00:00
|
|
|
color sidebar_new color221 color233
|
|
|
|
# statusbar view options
|
|
|
|
set status_chars = " *%A"
|
2022-03-19 10:34:29 +00:00
|
|
|
# set status_format = "───[ Folder: %f ]───[%r%m messages%?n? (%n new)?%?d? (%d to delete)?%?t? (%t tagged)? ]───%>─%?p?( %p postponed )?───"
|
2021-10-20 07:19:48 +00:00
|
|
|
# pager view options
|
2022-03-19 10:34:29 +00:00
|
|
|
set pager_index_lines = 10
|
2021-10-20 07:19:48 +00:00
|
|
|
set pager_context = 3
|
|
|
|
set pager_stop # do not go to next msg if at bottom of pager
|
|
|
|
set menu_scroll = yes
|
|
|
|
set tilde # show tildes for blank lines
|
|
|
|
unset markers # no + markers for wrapped stuff
|
2022-03-19 10:34:29 +00:00
|
|
|
set wrap = 90
|
2021-10-20 07:19:48 +00:00
|
|
|
# hide headers except for those explicitly unignored
|
|
|
|
ignore *
|
|
|
|
unignore From To Cc Bcc Date Subject Message-ID
|
|
|
|
unhdr_order *
|
|
|
|
unignore From To Cc Bcc Date Subject Message-ID
|
|
|
|
|
|
|
|
set query_command = "khard email --parsable --search-in-source-files '%s'"
|
|
|
|
set nm_query_type = "threads" # Makes notmuch return threads rather than messages
|