X-Git-Url: https://git.madduck.net/etc/mutt.git/blobdiff_plain/d99d06cf8df8ebcf5905a0d63c668fec150e24e3..85718a3f24dce4e58896a7e25e4b0aa7f3101ab7:/.mutt/keybindings diff --git a/.mutt/keybindings b/.mutt/keybindings index 17fa1ab..2f6ae30 100644 --- a/.mutt/keybindings +++ b/.mutt/keybindings @@ -21,10 +21,10 @@ bind index h noop macro index S "=store" "save messages to store" macro pager S "=store" "save message to store" -macro index \Cs '=resubmit' "resubmit messages" -macro pager \Cs '=resubmit' "resubmit message" +macro index \Cl '=resubmit' "resubmit messages" +macro pager \Cl '=resubmit' "resubmit message" -macro index,pager E 'source "$my_confdir/supersede-header X-Tickle get-timestamp|"push \Cs' "schedule messages with tickler" +macro index,pager E 'source "$my_confdir/supersede-header X-Tickle get-timestamp|"push S' "schedule messages with tickler" macro index,pager \ex 'source "$my_confdir/remove-header X-Postponed|"' "release postponed messages" macro index,pager \es "=store" "go to store folder" @@ -57,9 +57,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" @@ -70,10 +67,6 @@ 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,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. macro compose e 'set my_editor="$editor"set editor=sensible-editorset editor="$my_editor"' "invoke normal editor to edit message" macro index,pager e 'set my_editor="$editor"set editor=sensible-editorset editor="$my_editor"' "invoke normal editor to edit message" @@ -84,9 +77,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.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 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 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