aboutsummaryrefslogtreecommitdiff
path: root/mutt
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2017-11-03 09:56:09 +0100
committerneodarz <neodarz@neodarz.net>2017-11-03 09:56:09 +0100
commit74e6e9a529ce6fd0d198666944d61eee829f77ce (patch)
tree990b3b8b47db013f0a00a79d793d199fff3e790d /mutt
parentea63f6724bb75ef0732f4a690a00f28d5b4e869b (diff)
downloaddotfiles_ascii-74e6e9a529ce6fd0d198666944d61eee829f77ce.tar.xz
dotfiles_ascii-74e6e9a529ce6fd0d198666944d61eee829f77ce.zip
Add notmuch conf
Diffstat (limited to '')
-rw-r--r--mutt/.muttrc21
1 files changed, 17 insertions, 4 deletions
diff --git a/mutt/.muttrc b/mutt/.muttrc
index 1a23f62..9dfa2c3 100644
--- a/mutt/.muttrc
+++ b/mutt/.muttrc
@@ -29,15 +29,13 @@ folder-hook 'account.net.neodarz.corentin.breton' 'source ~/.mutt/account.net.ne
# GPG commands
source ~/.mutt/gpg.rc
-# Default account
-source ~/.mutt/account.net.neodarz.neodarz
-
# Macros for switching accounts
macro index <f2> '<sync-mailbox><refresh><enter-command>source ~/.mutt/account.net.neodarz.neodarz<enter><change-folder>!<enter>'
macro index <f3> '<sync-mailbox><refresh><enter-command>source ~/.mutt/account.net.neodarz.corentin.breton<enter><change-folder>!<enter>'
# Fetch mail shortcut
-bind index G imap-fetch-mail
+#bind index G imap-fetch-mail
+macro index,pager U '<shell-escape>offlineimap &<enter>'
macro index 'c' '<change-folder>?<change-dir><home>^K=<enter>'
macro attach W <save-entry><kill-line>/home/neodarz/attachments/
@@ -123,3 +121,18 @@ set mailcap_path="~/.mutt/mailcap"
# handover mail to htmail-view (works only for multipart mails containing text/html payload)
macro index,pager H "<pipe-message>htmail-decode<return>" "render html mail using htmail-view"
+
+# This variable specifies notmuch query type, supported types: 'threads' and
+# 'messages'.
+set nm_query_type = threads
+
+# When set, mutt will use the first virtual mailbox (see virtual-mailboxes)
+# as a spoolfile.
+set virtual_spoolfile = yes
+
+# virtual-mailboxes description notmuch-URI { description notmuch-URI ...}
+virtual-mailboxes "Inbox" "notmuch://?query=tag:inbox"
+
+# Default account
+source ~/.mutt/account.net.neodarz.neodarz
+