aboutsummaryrefslogtreecommitdiff
path: root/muttrc
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2021-07-09 18:22:48 +0200
committerFlorian Fischer <florian.fischer@muhq.space>2021-07-09 18:22:48 +0200
commitfe69f5ba615224f3277ff53c23320b66c47c53b1 (patch)
treef92bef9bcdf79e8d7f67e4be6794db61311cee1d /muttrc
parentf0905518d3a6b4f7f98f995cbe1fd8d8f7f094ca (diff)
downloaddotfiles-fe69f5ba615224f3277ff53c23320b66c47c53b1.tar.gz
dotfiles-fe69f5ba615224f3277ff53c23320b66c47c53b1.zip
[mutt] add more vi bindings, correct mailcap file, diff highlighting, io_uring mailinglist
Diffstat (limited to 'muttrc')
-rw-r--r--muttrc16
1 files changed, 16 insertions, 0 deletions
diff --git a/muttrc b/muttrc
index 62bd2cb..fa5d24e 100644
--- a/muttrc
+++ b/muttrc
@@ -50,8 +50,24 @@ bind editor ^T complete
# use xdg-mime to determine mime types
set mime_type_query_command = "xdg-mime query filetype"
+set mailcap_path = ~/.mutt/mailcap
+
############## COLOR #######################
+# Patch syntax highlighting
+# https://www.do-not-panic.com/2014/07/colored-diffs-with-mutt.html
+color normal white default
+color body brightwhite default ^[[:space:]].*
+color body brightwhite default ^(diff).*
+color body white default ^[\-\-\-].*
+color body white default ^[\+\+\+].*
+color body green default ^[\+].*
+color body red default ^[\-].*
+color body brightblue default [@@].*
+color body brightwhite default ^(\s).*
+color body brightwhite default ^(Signed-off-by).*
+color body brightwhite default ^(Cc)
+
source ~/.mutt/theme
############ STATUSBAR #####################