X-Git-Url: https://git.madduck.net/etc/mutt.git/blobdiff_plain/db13fabef4016b65602264e263ac23ae332ec660..d435a3111f03e3c9b0ad7f307a3f09076f47c05e:/.mutt/keybindings?ds=inline diff --git a/.mutt/keybindings b/.mutt/keybindings index d25af5c..e746f38 100644 --- a/.mutt/keybindings +++ b/.mutt/keybindings @@ -19,9 +19,12 @@ 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 \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|" push S' "schedule messages with tickler" macro index,pager \ex ' source "$my_confdir/remove-header X-Postponed|"' "release postponed messages" @@ -63,8 +66,6 @@ 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"