Use notmuch with mutt for searching mails
This commit is contained in:
parent
8a58bb9264
commit
ad18e894f3
@ -8,5 +8,7 @@ Software to install:
|
||||
- Mutt as a mail client.
|
||||
- OfflineImap and Getmail to retrieve mail on disk.
|
||||
- Msmtp to send mail.
|
||||
- abook for managing addresses.
|
||||
- gpg for password storage and mail encryption.
|
||||
- notmuch for indexing and searching mail. To integrate it with mutt, use
|
||||
[mutt-notmuch](https://upsilon.cc/~zack/blog/posts/2011/01/how_to_use_Notmuch_with_Mutt/)
|
||||
- abook for managing addresses.
|
||||
|
9
muttrc
9
muttrc
@ -45,6 +45,15 @@ folder-hook $folder 'source ~/.mutt/perso'
|
||||
macro index,pager <f2> '<sync-mailbox><enter-command>source ~/.mutt/perso<enter><change-folder>!<enter>'
|
||||
macro index,pager <f3> '<sync-mailbox><enter-command>source ~/.mutt/gmail<enter><change-folder>!<enter>'
|
||||
|
||||
# use notmuch, see mutt-notmuch
|
||||
macro index <F8> \
|
||||
"<enter-command>unset wait_key<enter><shell-escape>~/bin/mutt-notmuch --prompt search<enter><change-folder-readonly>~/.cache/mutt_results<enter>" \
|
||||
"search mail (using notmuch)"
|
||||
|
||||
macro index <F9> \
|
||||
"<enter-command>unset wait_key<enter><pipe-message>~/bin/mutt-notmuch thread<enter><change-folder-readonly>~/.cache/mutt_results<enter><enter-command>set wait_key<enter>" \
|
||||
"search and reconstruct owning thread (using notmuch)"
|
||||
|
||||
#colors
|
||||
source ~/.mutt/colors.linux
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user