X-Git-Url: https://git.madduck.net/etc/mutt.git/blobdiff_plain/db5ee3cf542920369a7ff73308c7949c0c42e8ea..da8e3bda52a1741f55bfb42c08a0877226457b87:/.mutt/keybindings diff --git a/.mutt/keybindings b/.mutt/keybindings index 461782d..a65ca04 100644 --- a/.mutt/keybindings +++ b/.mutt/keybindings @@ -6,16 +6,23 @@ bind index,pager next-entry bind index,pager \eU undelete-subthread bind index,pager \eD delete-subthread +bind index 0 first-entry +bind index G last-entry +bind pager 0 top +bind pager G bottom + bind pager,index previous-unread 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 \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 \ex 'source "$my_confdir/remove-header X-Postponed|"' "release postponed messages" @@ -63,10 +70,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" @@ -80,4 +83,8 @@ macro index,pager \el 'set my_editor="$editor" "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)" +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 M 'set my_weed="$weed"set noweedformail -czx X-RSS-URL: | xargs sensible-browserset weed="$my_weed"' + # vim:sw=12:noet:sts=12:ts=12:ft=muttrc