]> git.madduck.net Git - etc/neomutt.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

re-enable some of neomutt features/bindings for testing
authormartin f. krafft <madduck@madduck.net>
Sun, 3 Sep 2023 19:06:48 +0000 (21:06 +0200)
committermartin f. krafft <madduck@madduck.net>
Sun, 3 Sep 2023 19:06:48 +0000 (21:06 +0200)
.config/neomutt/hooks
.config/neomutt/neomuttrc

index 29b0706a41fb2a9fb4f48beff0d28f3ecc9fce6b..c9934cdc8f16a54d7b797b79ac8799f54d67c90c 100644 (file)
@@ -9,9 +9,6 @@ send-hook '~s "Re: confirm" ~t -request@' 'push pc'
 send2-hook . 'set followup_to'
 send2-hook '~C @vger\.kernel\.org' 'unset followup_to'
 
-send2-hook . 'set send_multipart_alternative"
-send2-hook '~C @vger\.kernel\.org' 'unset send_multipart_alternative"
-
 # do a <group-reply> for L when sending to the git mailing list
 # http://marc.info/?l=mutt-users&m=118734866910357&w=2
 #message-hook . 'bind pager L list-reply'
index d0e6bb86e76aac4b093eea2481ee80cf994e2a21..ad9e82a2f0eaedfc487f52c928767daed8ebc025 100644 (file)
@@ -24,44 +24,47 @@ 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 X 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"
+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 --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