From cdeea3871e20a7b6137bb17114935c0a0859a1af Mon Sep 17 00:00:00 2001 From: Valentin Brandl Date: Sat, 19 Nov 2022 03:08:07 +0100 Subject: [PATCH] Add neomutt extra config and mailcap --- home/mailcap | 3 +++ home/neomutt/neomuttrc | 59 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+) create mode 100644 home/mailcap create mode 100644 home/neomutt/neomuttrc diff --git a/home/mailcap b/home/mailcap new file mode 100644 index 0000000..ea7fe68 --- /dev/null +++ b/home/mailcap @@ -0,0 +1,3 @@ +text/html; w3m -I %{charset} -T text/html; copiousoutput; +image/*; feh %s; +application/pdf; zathura %s; diff --git a/home/neomutt/neomuttrc b/home/neomutt/neomuttrc new file mode 100644 index 0000000..45fdf58 --- /dev/null +++ b/home/neomutt/neomuttrc @@ -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 + +# 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