aboutsummaryrefslogtreecommitdiff
path: root/contrib/notmuch-mutt/notmuch-mutt.rc
diff options
context:
space:
mode:
authorKevin McCarthy <kevin@8t8.us>2012-08-01 10:09:41 +0200
committerDavid Bremner <bremner@debian.org>2012-08-02 21:12:14 -0300
commitfffb92da8e09bb2fed63dc565e6ab7fa9b44d2f9 (patch)
tree807cd342cb615281f9e1984c5b42047722472d27 /contrib/notmuch-mutt/notmuch-mutt.rc
parent3fa00020eaac7dfb403cac239a5e59fb2b5d3e2c (diff)
Add duplicate message removal for notmuch-mutt.
Add a --remove-dups flag which removes duplicate files from search and thread results. Uses fdupes if installed. Otherwise it runs a size and Digest::SHA scan on each file to detect duplicates. Signed-off-by: Stefano Zacchiroli <zack@upsilon.cc>
Diffstat (limited to 'contrib/notmuch-mutt/notmuch-mutt.rc')
-rw-r--r--contrib/notmuch-mutt/notmuch-mutt.rc4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/notmuch-mutt/notmuch-mutt.rc b/contrib/notmuch-mutt/notmuch-mutt.rc
index b0a38d1..ddc4b48 100644
--- a/contrib/notmuch-mutt/notmuch-mutt.rc
+++ b/contrib/notmuch-mutt/notmuch-mutt.rc
@@ -1,8 +1,8 @@
macro index <F8> \
- "<enter-command>unset wait_key<enter><shell-escape>notmuch-mutt --prompt search<enter><change-folder-readonly>`echo ${XDG_CACHE_HOME:-$HOME/.cache}/notmuch/mutt/results`<enter>" \
+ "<enter-command>unset wait_key<enter><shell-escape>notmuch-mutt -r --prompt search<enter><change-folder-readonly>`echo ${XDG_CACHE_HOME:-$HOME/.cache}/notmuch/mutt/results`<enter>" \
"notmuch: search mail"
macro index <F9> \
- "<enter-command>unset wait_key<enter><pipe-message>notmuch-mutt thread<enter><change-folder-readonly>`echo ${XDG_CACHE_HOME:-$HOME/.cache}/notmuch/mutt/results`<enter><enter-command>set wait_key<enter>" \
+ "<enter-command>unset wait_key<enter><pipe-message>notmuch-mutt -r thread<enter><change-folder-readonly>`echo ${XDG_CACHE_HOME:-$HOME/.cache}/notmuch/mutt/results`<enter><enter-command>set wait_key<enter>" \
"notmuch: reconstruct thread"
macro index <F6> \
"<enter-command>unset wait_key<enter><pipe-message>notmuch-mutt tag -- -inbox<enter>" \