X-Git-Url: https://git.madduck.net/etc/mutt.git/blobdiff_plain/f05a7f8f94769f45c7c0b0cdf8c1d53b18adc998..908ef65a9b475db8238385ee8c8bd32692946ce1:/.mutt/keybindings diff --git a/.mutt/keybindings b/.mutt/keybindings index 6934699..eeb0e3c 100644 --- a/.mutt/keybindings +++ b/.mutt/keybindings @@ -8,7 +8,7 @@ bind index,pager \eD delete-subthread bind pager,index previous-unread -macro pager,index p "" "do nothing" +macro index p "" "do nothing" ##macro index L "=store" macro index S "=store" "save messages to store" @@ -23,9 +23,7 @@ macro index,pager \ex 'source "$my_confdir/remove-header X-Postpo macro index,pager \es "=store" "go to store folder" macro index,pager \ed "=debian" "go to debian folder" macro index,pager \ei "=inbox" "go to inbox folder" -macro index,pager \eu "=ul" "go to ul folder" -macro index,pager \ea "=admin" "go to admin folder" -macro index,pager \eh "=phd" "go to phd folder" +macro index,pager \ea "=ardex" "go to ardex folder" macro index,pager \eR "source $my_confdir/muttrc" "reload muttrc" macro compose \eR "source $my_confdir/muttrc" "reload muttrc" @@ -38,11 +36,19 @@ macro pager Z "=retrain/ham" "retrain message as ham" macro index,pager \Cb 'set my_pipe_decode="$pipe_decode"set pipe_decode/usr/bin/urlviewset pipe_decode="$my_pipe_decode"' "invoke urlview" macro compose Y '' "send message without storing" -macro compose \Cy 'cY' "send message without storing or signing" +macro compose \Cy 'c' "send message without signing" +macro compose \CY 'cY' "send message without storing signing" +macro compose N 'unset fcc_attach' "do not fcc-store attachment" macro index,pager F '~L ' "search for correspondents" +macro index,pager \ef '~(~L )' "search for correspondents (show complete threads)" -bind pager \en search-opposite +macro index ~ '~' "shortcut to pattern search" +macro pager ~ '~' "shortcut to pattern search" + +bind index,pager \en search-opposite + +macro pager p 'less -c' "pipe message into pager" bind pager [ half-up bind pager ] half-down @@ -50,8 +56,8 @@ bind pager ] half-down macro index,pager \eS 'set noweed' macro index,pager \eC 'set noweed' -macro index \Co 'imaps://logcheck-todo%40madduck.net:logcheck@imap.madduck.net' 'save message to logcheck-todo' -macro pager \Co 'imaps://logcheck-todo%40madduck.net:logcheck@imap.madduck.net' 'save message to logcheck-todo' +#macro index \Co 'imaps://logcheck-todo%40madduck.net:logcheck@imap.madduck.net' 'save message to logcheck-todo' +#macro pager \Co 'imaps://logcheck-todo%40madduck.net:logcheck@imap.madduck.net' 'save message to logcheck-todo' macro index,pager \eo 'imaps://logcheck-todo%40madduck.net:logcheck@imap.madduck.net' 'go to logcheck todo folder' #TODO this is a hack until switch-profile does not readd headers. @@ -60,4 +66,7 @@ macro index,pager e 'set my_editor="$editor"set my_editor="$editor"source "$my_confdir/batch-subject-editor|"set editor="$my_editor"' "change message subject" +macro index "unset wait_key~/.mutt/mutt-notmuch --prompt search~/.cache/mutt_results" "search mail (using notmuch)" +macro index "unset wait_key~/.mutt/mutt-notmuch thread~/.cache/mutt_resultsset wait_key" "search and reconstruct owning thread (using notmuch)" + # vim:sw=12:noet:sts=12:ts=12:ft=muttrc