Add neomutt extra config and mailcap

This commit is contained in:
Valentin Brandl 2022-11-19 03:08:07 +01:00
parent 1941cf5f12
commit cdeea3871e
Signed by: vbrandl
GPG Key ID: CAD4DA1A789125F9
2 changed files with 62 additions and 0 deletions

3
home/mailcap Normal file
View File

@ -0,0 +1,3 @@
text/html; w3m -I %{charset} -T text/html; copiousoutput;
image/*; feh %s;
application/pdf; zathura %s;

59
home/neomutt/neomuttrc Normal file
View File

@ -0,0 +1,59 @@
# edit mail headers when composing
set edit_headers
# check mailbox stats periodically
set mail_check_stats = yes
# don't indicate line wraps
set markers = no
# reply with tagged email
# unset envelope_from_address
# set use_envelope_from
# prefer plaintext over html
alternative_order text/enriched text/plain text/html text
# colors
###############################################################################
# Dracula Theme for Mutt: https://draculatheme.com/
#
# @author Paul Townsend <paul@caprica.org>
# general ------------ foreground ---- background -----------------------------
color error color231 color212
color indicator color231 color241
color markers color210 default
color message default default
color normal default default
color prompt default default
color search color84 default
color status color141 color236
color tilde color231 default
color tree color141 default
# message index ------ foreground ---- background -----------------------------
color index color84 default ~F # flagged messages
color index color117 default ~N|~O # new messages
color index color210 default ~D # deleted messages
color index color212 default ~Q # messages which have been replied to
color index color215 default ~T # tagged messages
color index color141 default ~v # messages part of a collapsed thread
# message headers ---- foreground ---- background -----------------------------
color hdrdefault color117 default
color header color231 default ^Subject:.*
# message body ------- foreground ---- background -----------------------------
color attachment color228 default
color body color231 default [\-\.+_a-zA-Z0-9]+@[\-\.a-zA-Z0-9]+ # email addresses
color body color228 default (https?|ftp)://[\-\.,/%~_:?&=\#a-zA-Z0-9]+ # URLs
color body color231 default (^|[[:space:]])\\*[^[:space:]]+\\*([[:space:]]|$) # *bold* text
color body color231 default (^|[[:space:]])_[^[:space:]]+_([[:space:]]|$) # _underlined_ text
color body color231 default (^|[[:space:]])/[^[:space:]]+/([[:space:]]|$) # /italic/ text
color quoted color61 default
color quoted1 color117 default
color quoted2 color84 default
color quoted3 color215 default
color quoted4 color212 default
color signature color212 default