From 0b7f3ae4c0a9adf1bf09b438769d6df92295fffb Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Wed, 4 Nov 2020 15:09:29 +0100 Subject: [mutt] add notmuch macros * search mail * reconstruct thread --- mutt/notmuch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 mutt/notmuch (limited to 'mutt/notmuch') diff --git a/mutt/notmuch b/mutt/notmuch new file mode 100644 index 0000000..cc04dae --- /dev/null +++ b/mutt/notmuch @@ -0,0 +1,14 @@ +macro index \ +"set my_old_pipe_decode=\$pipe_decode my_old_wait_key=\$wait_key nopipe_decode nowait_key\ +notmuch-mutt -r --prompt search\ +`echo ${XDG_CACHE_HOME:-$HOME/.cache}/notmuch/mutt/results`\ +set pipe_decode=\$my_old_pipe_decode wait_key=\$my_old_wait_key" \ + "notmuch: search mail" + +macro index \ +"set my_old_pipe_decode=\$pipe_decode my_old_wait_key=\$wait_key nopipe_decode nowait_key\ +notmuch-mutt -r thread\ +`echo ${XDG_CACHE_HOME:-$HOME/.cache}/notmuch/mutt/results`\ +set pipe_decode=\$my_old_pipe_decode wait_key=\$my_old_wait_key" \ + "notmuch: reconstruct thread" + -- cgit v1.2.3