mail by index

This commit is contained in:
Till 2026-02-16 01:41:59 +01:00
parent f7fd3a7fe9
commit 8099faa9ae
3 changed files with 186 additions and 231 deletions

View file

@ -1,71 +1,26 @@
# Alias
set alias_file = ~/.local/share/neomutt/aliases.neomuttrc
source $alias_file
set mailcap_path = ~/.config/neomutt/mailcap
# External
set my_download_folder = ~/tmp
set shell = /bin/sh
# Caching and tmp
set header_cache = $XDG_CACHE_HOME/neomutt/headers
set message_cachedir = $XDG_CACHE_HOME/neomutt/bodies
set header_cache_backend = "lmdb"
set tmpdir = $XDG_CACHE_HOME/neomutt/tmp
# Basic options
unset wait_key
set mbox_type = Maildir
set mail_check_stats
unset confirm_append
unset beep
unset mark_old
set sleep_time = 0
# Sending
set use_envelope_from
unset reverse_real_name
# Searching
set nm_default_url = "notmuch:///home/till/.local/share/mail/"
set my_nm_spoolfile = 'Inbox'
set my_nm_postponed = 'Drafts'
set my_nm_record = 'Sent'
set my_nm_trash = 'Trash'
folder-hook . source ~/.config/neomutt/bindings.neomuttrc
# Compose
set editor = "nvim -c 'call woof#init#Init()'"
set edit_headers
set forward_format = "Fwd: %s"
set forward_attachments
set fast_reply
set include
set forward_quote
unset recall
set resume_draft_files
set abort_noattach_regex = "(attach|enclosed|anbei|anhängen|angehängt|anhang|anhänge|hängt an)"
set abort_noattach = ask-yes
set mime_type_query_command = "file -b --mime-type %s"
set query_command= "khard email --parsable '%s'"
# Status bar
set status_chars = "✔↻٪A"
set status_format = "— [ %r ] %f (%lB) %>— %m messages%?n? [ %n new ]?%?d? [ %d to delete ]?%?t? [ %t tagged ]? —"
unset help
# Index
set index_format = "%-25.25F %<[y?%<[7d?%<[d?%[ %H:%M]&%[%a %H:%M]>&%[%d.%m. %Hh]>&%[%d.%m.%Y]> %Z %?X?▼ &?%s"
set strict_threads
set send_charset = "utf-8:iso-8859-1:us-ascii"
set charset = "utf-8"
# sorting
set sort = threads
set sort_aux = reverse-last-date-received
# Pager view
set pager_index_lines = 10
set pager_context = 3
set pager_stop
@ -81,31 +36,23 @@ alternative_order text/plain text/enriched text/html
auto_view text/html
# Attachments
set rfc2047_parameters
set attach_save_dir = $my_download_folder
## Indicator
color indicator brightwhite brightblack
# Colors
## Index
color indicator brightwhite brightblack
color index_flags brightmagenta default '.*'
color index_date cyan default
## New mail
color index brightblack default '~N'
## Header colors
color header brightblack default ".*"
color header brightgreen default "^(Subject)"
color header yellow default "^(From|To|CC|BCC)"
color header blue default "^Date"
## Mutt
color message cyan default
color error red default
color tilde black default
## Pager
color normal default default
color attachment brightblack default
color search black yellow
@ -117,8 +64,6 @@ color quoted4 red default
color quoted5 brightred default
color signature cyan default
color underline black default
## Email
color body blue default "[\-\.+_a-zA-Z0-9]+@[\-\.a-zA-Z0-9]+" # Email addresses
color body blue default "(https?|ftp)://[\-\.,/%~_:?&=\#a-zA-Z0-9]+" # URL
color body red default "(BAD signature)"