X-Git-Url: https://git.madduck.net/etc/mutt.git/blobdiff_plain/2fdc884286a726deb55cdb25820172ea920f133d..6df3f32e1d7c5846a527dbe1624439b7d8463834:/.mutt/keybindings?ds=sidebyside diff --git a/.mutt/keybindings b/.mutt/keybindings index 6a33e3b..1328a2b 100644 --- a/.mutt/keybindings +++ b/.mutt/keybindings @@ -1,3 +1,5 @@ +macro generic,pager " zcat /usr/share/doc/mutt/manual.txt.gz | sensible-pager" "show Mutt documentation" + bind index,pager | pipe-message bind index,pager ! flag-message bind index,pager \eP print-message @@ -57,9 +59,6 @@ macro compose N 'unset fcc_attach' "do not fcc-store attac macro index,pager F '~L ' "search for correspondents" macro index,pager \ef '~(~L )' "search for correspondents (show complete threads)" -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" @@ -80,11 +79,13 @@ macro index,pager \er 'set my_editor="$editor"set my_editor="$editor"set editor="~/.mutt/reuse-message $my_editor"set editor="$my_editor"' "invoke normal editor to edit message" macro index,pager \el 'set my_editor="$editor"set editor="~/.mutt/reuse-message $my_editor"set editor="$my_editor"' "invoke normal editor to edit message" -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)" +# override F6 from notmuch-mutt +macro index "" "do nothing" -macro attach e 'set my_mailcap_path="$mailcap_path"set mailcap_path="~/.mutt/mailcap-edit-wrapper"set mailcap_path="$my_mailcap_path"' "edit temporary file of attachment" +macro attach e 'set my_mailcap_path="$mailcap_path"set mailcap_path="~/.mutt/mailcap.editing"set mailcap_path="$my_mailcap_path"' "edit temporary file of attachment" macro index,pager M 'set my_weed="$weed"set noweedformail -czx X-RSS-URL: | xargs sensible-browserset weed="$my_weed"' +macro index,pager 'set my_pipe_decode="$pipe_decode"unset pipe_decode~/.mutt/viewmailattachmentsset pipe_decode="$my_pipe_decode"' "view attachments in browser" + # vim:sw=12:noet:sts=12:ts=12:ft=muttrc