From 74e6e9a529ce6fd0d198666944d61eee829f77ce Mon Sep 17 00:00:00 2001 From: neodarz Date: Fri, 3 Nov 2017 09:56:09 +0100 Subject: Add notmuch conf --- mutt/.muttrc | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) (limited to 'mutt') 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 'source ~/.mutt/account.net.neodarz.neodarz!' macro index 'source ~/.mutt/account.net.neodarz.corentin.breton!' # Fetch mail shortcut -bind index G imap-fetch-mail +#bind index G imap-fetch-mail +macro index,pager U 'offlineimap &' macro index 'c' '?^K=' macro attach W /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 "htmail-decode" "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 + -- cgit v1.2.1