aboutsummaryrefslogtreecommitdiff
path: root/.config/mutt
diff options
context:
space:
mode:
authorLuca Matei Pintilie <luca@lucamatei.com>2024-02-02 22:00:59 +0000
committerLuca Matei Pintilie <luca@lucamatei.com>2024-02-02 22:00:59 +0000
commitc10fa602f7c30e03c0bacb9c5cf116d808e86f6d (patch)
tree9bdd2ecaa1af3a33b616ab7cdcdd79b133ea52cb /.config/mutt
parentaa0f8329497fea4d96be4e6740b4b70a8c212daa (diff)
downloaddotfiles-c10fa602f7c30e03c0bacb9c5cf116d808e86f6d.tar
dotfiles-c10fa602f7c30e03c0bacb9c5cf116d808e86f6d.tar.gz
dotfiles-c10fa602f7c30e03c0bacb9c5cf116d808e86f6d.tar.bz2
dotfiles-c10fa602f7c30e03c0bacb9c5cf116d808e86f6d.tar.lz
dotfiles-c10fa602f7c30e03c0bacb9c5cf116d808e86f6d.tar.xz
dotfiles-c10fa602f7c30e03c0bacb9c5cf116d808e86f6d.tar.zst
dotfiles-c10fa602f7c30e03c0bacb9c5cf116d808e86f6d.zip
Various updates to many dotfiles
Diffstat (limited to '.config/mutt')
-rw-r--r--.config/mutt/dracula.muttrc35
-rw-r--r--.config/mutt/muttrc3
2 files changed, 36 insertions, 2 deletions
diff --git a/.config/mutt/dracula.muttrc b/.config/mutt/dracula.muttrc
index 13e97be..d2bb11e 100644
--- a/.config/mutt/dracula.muttrc
+++ b/.config/mutt/dracula.muttrc
@@ -27,6 +27,7 @@ color header color231 default ^Subject:.*
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 color228 default mailto:[\-\.+_a-zA-Z0-9]+@[\-\.a-zA-Z0-9]+ # mailto 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
@@ -41,10 +42,11 @@ color signature color212 default
color index color210 default ~D # deleted messages
color index color84 default ~F # flagged messages
color index color117 default ~N # new messages
+color index color117 default ~O # new messages (old)
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
-ifndef index_color finish
+# ifndef index_color finish
color index_author color141 default ~v # messages part of a collapsed thread
color index_subject color141 default ~v # messages part of a collapsed thread
color index_author color228 default # All
@@ -56,7 +58,38 @@ color index_author color84 default ~F # flagged messages
color index_subject color84 default ~F # flagged messages
color index_author color117 default ~N # new messages
color index_subject color117 default ~N # new messages
+color index_author color117 default ~O # new messages (old)
+color index_subject color117 default ~O # new messages (old)
color index_author color212 default ~Q # messages which have been replied to
color index_subject color212 default ~Q # messages which have been replied to
color index_author color215 default ~T # tagged messages
color index_subject color215 default ~T # tagged messages
+
+## Patch syntax highlighting
+color normal white default
+color body brightwhite default ^[[:space:]].*
+color body yellow 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 cyan default ^(Signed-off-by).*
+color body cyan default ^(Docker-DCO-1.1-Signed-off-by).*
+color body brightwhite default ^(Cc)
+color body yellow default "^diff \-.*"
+color body brightwhite default "^index [a-f0-9].*"
+color body brightblue default "^---$"
+color body white default "^\-\-\- .*"
+color body white default "^[\+]{3} .*"
+color body green default "^[\+][^\+]+.*"
+color body red default "^\-[^\-]+.*"
+color body brightblue default "^@@ .*"
+color body green default "LGTM"
+color body brightmagenta default "-- Commit Summary --"
+color body brightmagenta default "-- File Changes --"
+color body brightmagenta default "-- Patch Links --"
+color body green default "^Merged #.*"
+color body red default "^Closed #.*"
+color body brightblue default "^Reply to this email.*"
diff --git a/.config/mutt/muttrc b/.config/mutt/muttrc
index d0d1a1b..6b60754 100644
--- a/.config/mutt/muttrc
+++ b/.config/mutt/muttrc
@@ -16,6 +16,7 @@ bind index,pager B sidebar-toggle-visible
set editor="$EDITOR '+set ft=mail'"
set mailcap_path = "$my_mutt_folder/mailcap" # Mailcap file is used to tell mutt how to open different types of file
set pager_index_lines = 10
+set implicit_auto_view = yes
set use_from = yes
set pager_context = 3 # show 3 lines of context
set menu_context = 5 # start scrolling 5 items before the end
@@ -45,7 +46,7 @@ set reply_regexp = "^(([Rr][Ee]?(\[[0-9]+\])?: *)?(\[[^]]+\] *)?)
set quote_regexp = "^( {0,4}[>|:#%]| {0,4}[a-z0-9]+[>|]+)+"
set send_charset = "utf-8:iso-8859-1:us-ascii" # send in utf-8
set assumed_charset = "iso-8859-1" # if there is no character set given on incoming messages, it is probably windows
-set sidebar_width = 12
+# set sidebar_width = 12
set sidebar_format = "%B%?F? [%F]?%* %?N?%N/?%S"
set sidebar_visible
set sidebar_short_path