aboutsummaryrefslogtreecommitdiffstats
path: root/muttrc
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2024-02-16 20:06:21 +0000
committerMatthew Lemon <y@yulqen.org>2024-02-16 20:06:21 +0000
commitc128f5ce927389c1614ec82aa9e3c1eca0678d15 (patch)
tree006ef8c3939ec11b1f3977ccf6682b22aaf70a20 /muttrc
parentc6c0734b3c26647ca3c8a90eba0439f067bdf523 (diff)
parenta56fc11b362f30cd5f55c28009933e892e553b8d (diff)
Merge branch 'master' of ssh://git.yulqen.org:2222/home/git/repositories/dotfiles/arch-dotfiles
Diffstat (limited to '')
-rw-r--r--muttrc20
1 files changed, 19 insertions, 1 deletions
diff --git a/muttrc b/muttrc
index bdcd23c..0ed202a 100644
--- a/muttrc
+++ b/muttrc
@@ -13,6 +13,7 @@ set certificate_file = ~/.mutt/certificates # where to store certs
set mailcap_path = ~/.mutt/mailcap # entries for filetypes
set tmpdir = ~/.mutt/temp # where to keep temp files
set signature = ~/.mutt/signature # my signature file
+set attach_save_dir = ~/Downloads
# Allow forwarding of attachments with emails
set mime_forward
@@ -233,8 +234,25 @@ macro index ,t "<pipe-message>mutt2task<enter> <move-message>purelymail/INBOX.Ar
#new notmuch-mutt for linux
# Notmuch
-set virtual_spoolfile=yes
+#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
+
# neomutt does not require notmuch-mutt, so this lot is commented out