X-Git-Url: https://git.madduck.net/etc/mutt.git/blobdiff_plain/54bc97853a9d2c6f3d1ad0ad584f76f2939af2aa..a83d50d5a64488deb3796bbd0ca0a03b0516cc77:/.mutt/keybindings?ds=sidebyside diff --git a/.mutt/keybindings b/.mutt/keybindings index 4af9b42..109fff6 100644 --- a/.mutt/keybindings +++ b/.mutt/keybindings @@ -19,21 +19,19 @@ macro index p "" "do nothing" bind index h noop -##macro index L "=store" -macro index S "=store" "save messages to store" -macro pager S "=store" "save message to store" - -macro index,pager E ' source "$my_confdir/supersede-header X-Tickle get-timestamp|" push S' "schedule messages with tickler" +macro index \es " set my_weed=\$weed set my_resolve=\$resolve set noweed noresolve^n set weed=\$my_weed set resolve=\$my_resolve" "decode message to current folder" +macro pager \es " set my_weed=\$weed set my_resolve=\$resolve set noweed noresolve^n set weed=\$my_weed set resolve=\$my_resolve" "decode message to current folder" +macro index \eS "<" "save messages to store" +macro pager \eS "<" "save message to store" +macro index S " set my_weed=\$weed set my_resolve=\$resolve set noweed noresolve< set weed=\$my_weed set resolve=\$my_resolve" "decode message to $record folder" +macro pager S " set my_weed=\$weed set my_resolve=\$resolve set noweed noresolve< set weed=\$my_weed set resolve=\$my_resolve" "decode message to $record folder" + +macro index,pager E ' source "$my_confdir/supersede-header X-Tickle get-timestamp|"=resubmit' "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" -macro index,pager \ec "=debian/debconf" "go to debconf folder" -macro index,pager \ed "=debian" "go to debian folder" -macro index,pager \ei "=inbox" "go to inbox folder" -macro index,pager \ea "=ardex" "go to ardex folder" -macro index,pager \ek "=kbkg" "go to kbkg folder" -macro index,pager \eu "=uniwh" "go to uniwh folder" -macro index,pager \et "=toni" "go to toni folder" +macro index,pager \e, "<" "go to $record folder" +macro index,pager \e. ">" "go to $spool folder" +macro index,pager \e1 "!" "go to inbox folder" bind index \eT tag-thread bind index,pager \eK mail-key @@ -46,7 +44,7 @@ macro pager X "=retrain/spam" "retrain message as spam" macro index Z "=retrain/ham" "retrain message as ham" macro pager Z "=retrain/ham" "retrain message as ham" -macro index,pager \Cb " set my_pipe_decode=\$pipe_decode set pipe_decode/usr/bin/urlscan set pipe_decode=\$my_pipe_decode" "invoke urlscan" +macro index,pager,attach,compose \Cb " set my_pipe_decode=\$pipe_decode set pipe_decode/usr/bin/urlscan set pipe_decode=\$my_pipe_decode" "invoke urlscan" macro compose Y '' "send message without storing" macro compose \Cy 'c' "send message without signing" @@ -63,17 +61,15 @@ macro pager p 'less -c' "pipe message into pager" bind pager [ half-up bind pager ] half-down -macro index,pager \eS " set my_weed=\$weed set my_resolve=\$resolve set noweed noresolve^n set weed=\$my_weed set resolve=\$my_resolve" "decode message to current folder" - #TODO this is a hack until switch-profile does not readd headers. macro compose e " set my_editor=\$editor set editor=sensible-editor set editor=\$my_editor" "invoke normal editor to edit message" macro index,pager e " set my_editor=\$editor set editor=sensible-editor set editor=\$my_editor" "invoke normal editor to edit message" macro index \ej " set my_editor=\$editor source $my_confdir/batch-subject-editor| set editor=\$my_editor" "change message subject" -macro index,pager \er " set my_editor=\$editor set editor=~/.mutt/reuse-message \$my_editor set editor=\$my_editor" "invoke normal editor to edit message" -macro index,pager \eg " 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,pager \er " set my_editor=\$editor set editor=\"~/.mutt/reuse-message \$my_editor\" set editor=\$my_editor" "invoke normal editor to edit message" +macro index,pager \eg " 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" # override F6 from notmuch-mutt macro index "" "do nothing"