aboutsummaryrefslogtreecommitdiff
path: root/contrib/notmuch-mutt/notmuch-mutt.rc
diff options
context:
space:
mode:
authorStefano Zacchiroli <zack@upsilon.cc>2012-03-26 10:45:58 +0200
committerDavid Bremner <bremner@debian.org>2012-03-30 18:12:49 -0300
commitd13810dc1e044446ad5eb85474c87e20924f9473 (patch)
tree702b16e7a7033133a8ac6178ce6b5f36a5382125 /contrib/notmuch-mutt/notmuch-mutt.rc
parent2b97293b15311f61dc73aa149484e7c1293f4ad2 (diff)
contrib: new mutt-notmuch utility for Mutt integration
Diffstat (limited to 'contrib/notmuch-mutt/notmuch-mutt.rc')
-rw-r--r--contrib/notmuch-mutt/notmuch-mutt.rc9
1 files changed, 9 insertions, 0 deletions
diff --git a/contrib/notmuch-mutt/notmuch-mutt.rc b/contrib/notmuch-mutt/notmuch-mutt.rc
new file mode 100644
index 0000000..c0ff000
--- /dev/null
+++ b/contrib/notmuch-mutt/notmuch-mutt.rc
@@ -0,0 +1,9 @@
+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>" \
+ "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>" \
+ "notmuch: reconstruct thread"
+macro index <F6> \
+ "<enter-command>unset wait_key<enter><pipe-message>notmuch-mutt tag -inbox<enter>" \
+ "notmuch: remove message from inbox"