summaryrefslogtreecommitdiffstats
path: root/mutt
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2024-02-16 19:52:44 +0000
committerMatthew Lemon <y@yulqen.org>2024-02-16 19:52:44 +0000
commit085a9ea7a6fa645767ef5dcde46cbd60426bf339 (patch)
tree35ff29359d953124df96b5111107e6acdfb567bb /mutt
parent9247e45de64d74d64841b48457c42a26e9be5e45 (diff)
parent4abbeea3b804eb0cab4523b6b7939768dd6ac14c (diff)
Merge branch 'master' of ssh://git.yulqen.org:2222/home/git/repositories/dotfiles/debian-dotfiles
Diffstat (limited to '')
-rw-r--r--muttrc19
1 files changed, 19 insertions, 0 deletions
diff --git a/muttrc b/muttrc
index 6ad4c06..17745de 100644
--- a/muttrc
+++ b/muttrc
@@ -231,6 +231,25 @@ macro index T "<pipe-message>mutt2task<enter> <move-message>purelymail/INBOX.Arc
#new notmuch-mutt for linux
+# Notmuch
+#set virtual_spoolfile=yes # uncomment this to have mutt open the first virtual-mailbox below when it launches
+macro index \\\\ "<vfolder-from-query>"
+virtual-mailboxes "Today" "notmuch://?query=date:today"
+virtual-mailboxes "Flagged" "notmuch://?query=tag:flagged"
+virtual-mailboxes "FromMe" "notmuch://?query=from:matt@matthewlemon.com"
+set nm_db_limit = 5000
+#set nm_default_url = ""
+set nm_open_timeout = 5
+set nm_query_window_enable=yes
+set nm_query_window_duration=2
+set nm_query_window_timebase="month" # or "hour", "day", "week", "month", "year"
+set nm_query_window_or_terms="tag:unread and tag:flagged"
+# read entire thread of the current message
+bind index,pager + entire-thread
+# generate virtual folder from query
+#bind index,pager \cf vfolder-from-query
+bind index < vfolder-window-backward
+bind index > vfolder-window-forward
macro index <F8> \
"<enter-command>set my_old_pipe_decode=\$pipe_decode my_old_wait_key=\$wait_key nopipe_decode nowait_key<enter>\