X-Git-Url: https://git.madduck.net/etc/neomutt.git/blobdiff_plain/ee7555fbc21b3643a4eb4459a7b02c63d8ee4d10..1165ebc76a44d454a8e9acb3d9cd0682025df26b:/.config/neomutt/neomuttrc?ds=inline

diff --git a/.config/neomutt/neomuttrc b/.config/neomutt/neomuttrc
index d0e6bb8..41c34a6 100644
--- a/.config/neomutt/neomuttrc
+++ b/.config/neomutt/neomuttrc
@@ -1,6 +1,6 @@
 set my_confdir="$HOME/.config/neomutt"
 
-set my_attribution_de="Hinsichtlich folgendem, das \"%n\" am %{%Y-%m-%d} um %{%H:%M Uhr %Z} schrieb:"
+set my_attribution_de="Hinsichtlich Folgendem, was \"%n\" am %{%Y-%m-%d} um %{%H:%M Uhr %Z} schrieb:"
 set my_attribution_en="Regarding the following, written by \"%n\" on %{%Y-%m-%d} at %{%H:%M Uhr %Z}:"
 
 source $my_confdir/confvars
@@ -10,7 +10,7 @@ source $my_confdir/alternates
 source $my_confdir/keybindings
 source $my_confdir/lists
 source $my_confdir/spam
-#source $my_confdir/hooks
+source $my_confdir/hooks
 
 auto_view text/html text/calendar
 #auto_view application/x-gunzip application/x-tar-gz application/x-tar application/x-gtar
@@ -24,44 +24,48 @@ mailto_allow cc in-reply-to references subject body
 
 source "test -f $alias_file && cat $alias_file 2>/dev/null || echo unset alias_file|"
 
+set my_mutt_mailboxes = "$VARDIR/mutt/mailboxes"
+source "test ! -f $my_mutt_mailboxes || cat $my_mutt_mailboxes|"
+
 #virtual-mailboxes "all" "notmuch://?query=*"
 #virtual-mailboxes "unread" "notmuch://?query=tag:unread"
 #virtual-mailboxes "read" "notmuch://?query=not:tag:unread"
 #virtual-mailboxes "spam" "notmuch://?query=tag:spam"
 
-#bind index,pager X change-vfolder
-#bind index,pager + entire-thread
-## generate virtual folder from query
-#bind index,pager \eX vfolder-from-query
-## generate virtual folder from query with time window
-#bind index < vfolder-window-backward
-#bind index > vfolder-window-forward
-#
+bind index,pager V change-vfolder
+bind index,pager + entire-thread
+# generate virtual folder from query
+bind index,pager <F8> vfolder-from-query
+# generate virtual folder from query with time window
+bind index < vfolder-window-backward
+bind index > vfolder-window-forward
+
 #bind index,pager \` modify-labels
 #macro index,pager \Ct "<modify-labels>!todo<enter>" "Toggle the 'todo' tag"
 #
-#index-format-hook  date  "~d<1d"    "%{%H:%M%Z}"
-#index-format-hook  date  "~A"       "%d"
-#
-#tag-transforms "unread"  "N"   \
-#               "replied" "r "  \
-#               "archive" "➥ "  \
-#               "todo"    "T"   \
-#               "deleted" "␡" \
-#               "invites" "CAL"
-#
-#tag-formats "inbox"   "GI" \
-#            "unread"  "GU" \
-#            "replied" "GR" \
-#            "sent"    "GS" \
-#            "todo"    "Gt" \
-#            "deleted" "GD" \
-#            "invites" "Gi"
-#
+index-format-hook  date  "~d<1d"    "%{%H:%M%z}"
+index-format-hook  date  "~A"       "%d"
+
+tag-transforms "unread"  "N"   \
+               "replied" "r "  \
+               "archive" "➥ "  \
+               "todo"    "T"   \
+               "deleted" "␡" \
+               "invites" "CAL"
+
+tag-formats "inbox"   "GI" \
+            "unread"  "GU" \
+            "replied" "GR" \
+            "sent"    "GS" \
+            "todo"    "Gt" \
+            "deleted" "GD" \
+            "invites" "Gi"
+
 #set index_format="%4C %?GU?%GU& ?%?GR?%GR& ?%?GI?%GI& ? %-10@date@ %-15.15F %4c%?M?/[%M]? %?H?[%H] ?%s"
-#
-#set pager_format="<%a> %*  %J (%P)"
 
-set my_markdown_extensions="admonition,codehilite,sane_lists,smarty,pymdownx.extra,pymdownx.highlight,pymdownx.critic,pymdownx.keys,pymdownx.magiclink,pymdownx.mark,pymdownx.saneheaders,pymdownx.smartsymbols"
-macro compose y "<enter-command> source '$my_confdir/buildmimetree.py --extensions $my_markdown_extensions --tempdir $tmpdir --only-build --css-file $my_confdir/htmlmail.css|'<enter><enter-command> source \$my_mdwn_postprocess_cmd_file<enter>" "Convert message into a modern MIME tree with inline images"
-bind compose Y send-message
+set pager_format="<%a> %*  %J (%P)"
+
+set my_markdown_extensions="admonition,codehilite,sane_lists,smarty,pymdownx.extra,pymdownx.highlight,pymdownx.critic,pymdownx.keys,pymdownx.magiclink,pymdownx.mark,pymdownx.saneheaders,pymdownx.smartsymbols,nl2br"
+macro compose y "<enter-command> source '$my_confdir/buildmimetree.py --extensions $my_markdown_extensions --tempdir $tmpdir --css-file $my_confdir/htmlmail.css --domain madduck.net|'<enter><enter-command> source \$my_mdwn_postprocess_cmd_file<enter>" "Convert message into a modern MIME tree with inline images"
+macro compose Y "<enter-command> source '$my_confdir/buildmimetree.py --just-build --max-number-other-attachments 100 --extensions $my_markdown_extensions --tempdir $tmpdir --css-file $my_confdir/htmlmail.css --domain madduck.net|'<enter><enter-command> source \$my_mdwn_postprocess_cmd_file<enter>" "Convert message into a modern MIME tree with inline images"
+bind compose \Cy send-message