myconfig

my config files
git clone https://a3nm.net/git/myconfig/
Log | Files | Refs | README

commit ebec935a3341962782e8d5dc9943431601420046
parent 2079864083f2917d9072d3a376d48165b6cbe8ad
Author: Antoine Amarilli <a3nm@a3nm.net>
Date:   Sun, 14 Aug 2016 23:36:08 +0200

neomutt

Diffstat:
mutt/muttrc | 12++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/mutt/muttrc b/mutt/muttrc @@ -96,6 +96,9 @@ macro index,pager ? <search-reverse> macro index,pager <Esc>/ "<search>~b " macro index,pager <Esc>? "<search-reverse>~b " +# no NNTP +bind pager i exit + # remove unneccessary bindings bind index,pager p noop bind index,pager <Esc>b noop @@ -119,14 +122,19 @@ macro index,pager S "<change-folder-readonly>~/temp/sent_materialized<enter>G" " bind index,pager , next-unread-mailbox -macro index \\ \ +# notmuch + +bind index,pager \\ vfolder-from-query +bind index,pager z entire-thread + +macro index + \ "<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>G\ <enter-command>set pipe_decode=\$my_old_pipe_decode wait_key=\$my_old_wait_key<enter>" \ "notmuch: search mail" -macro index z \ +macro index Alt-X \ "<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>\