diff options
| author | Florian Fischer <florian.fl.fischer@fau.de> | 2020-11-04 15:09:29 +0100 |
|---|---|---|
| committer | Florian Fischer <florian.fl.fischer@fau.de> | 2020-11-04 15:09:29 +0100 |
| commit | 0b7f3ae4c0a9adf1bf09b438769d6df92295fffb (patch) | |
| tree | 552d06a9b066df9a0ec61909354567e08e68a1ca /mutt/notmuch | |
| parent | 657c8ede44075636c77cd06de7cc2a57b7b63b41 (diff) | |
| download | dotfiles-0b7f3ae4c0a9adf1bf09b438769d6df92295fffb.tar.gz dotfiles-0b7f3ae4c0a9adf1bf09b438769d6df92295fffb.zip | |
[mutt] add notmuch macros
* <F8> search mail
* <F9> reconstruct thread
Diffstat (limited to 'mutt/notmuch')
| -rw-r--r-- | mutt/notmuch | 14 |
1 files changed, 14 insertions, 0 deletions
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 <F8> \ +"<enter-command>set my_old_pipe_decode=\$pipe_decode my_old_wait_key=\$wait_key nopipe_decode nowait_key<enter>\ +<shell-escape>notmuch-mutt -r --prompt search<enter>\ +<change-folder-readonly>`echo ${XDG_CACHE_HOME:-$HOME/.cache}/notmuch/mutt/results`<enter>\ +<enter-command>set pipe_decode=\$my_old_pipe_decode wait_key=\$my_old_wait_key<enter>" \ + "notmuch: search mail" + +macro index <F9> \ +"<enter-command>set my_old_pipe_decode=\$pipe_decode my_old_wait_key=\$wait_key nopipe_decode nowait_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 pipe_decode=\$my_old_pipe_decode wait_key=\$my_old_wait_key<enter>" \ + "notmuch: reconstruct thread" + |
