X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/d921e9a7c26353358033d26c1fd26485e5a09ff4..c6a94b49c00ea320c67909cbe0d2df2f95d4fbb9:/mutt/bindings?ds=inline diff --git a/mutt/bindings b/mutt/bindings index 662dc73..1815027 100644 --- a/mutt/bindings +++ b/mutt/bindings @@ -1,30 +1,57 @@ # vim: ft=muttrc +bind editor delete-char + # moving around -bind pager J next-line -bind pager K previous-line +bind pager J next-line +bind pager K previous-line bind index,pager j next-undeleted bind index,pager k previous-undeleted +bind index g noop +bind index gg first-entry +bind index G last-entry +bind pager g noop +bind pager gg top +bind pager G bottom bind index q noop +bind index,pager Q noop +bind index,pager x noop # completion bind editor complete-query -bind editor ^T complete - -# sidebar -bind index,pager \CP sidebar-prev -bind index,pager \CN sidebar-next -bind index,pager \CO sidebar-open +bind editor ^T complete macro index b "toggle sidebar_visible" "Toggle sidebar" macro pager b "toggle sidebar_visible" "Toggle sidebar" +macro pager \Cb "|urlscan" "open urlscan" + +# flag without resolving +bind index F flag-message +bind pager F noop +macro pager F "\ + set my_resolve=\$resolve noresolve\ +\ + set resolve=\$my_resolve" \ +"Flag message without resolving" + # Remap bounce-message function to “B” -bind index B bounce-message +bind index,pager B bounce-message +bind index,pager R group-reply + +# limit when syncing +macro index $ "=(=U|=F)" +macro pager $ "=(=U|=F)" + +bind index collapse-thread # open mailcap in attach view bind attach view-mailcap # add sender to goobook macro index,pager a "goobook add" "add the sender address to goobook" + +macro index,pager 'source $my_config_dir/accounts/mailfence!' +macro index,pager 'source $my_config_dir/accounts/fpp!' +macro index,pager 'source $my_config_dir/accounts/gmail!'