X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/25b1287f4fa52985964fee23196556c9cbeaa46e..c6a94b49c00ea320c67909cbe0d2df2f95d4fbb9:/mutt/bindings diff --git a/mutt/bindings b/mutt/bindings index 8e6302a..1815027 100644 --- a/mutt/bindings +++ b/mutt/bindings @@ -7,13 +7,16 @@ 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 Q quit +bind index,pager Q noop +bind index,pager x noop # completion bind editor complete-query @@ -22,13 +25,16 @@ bind editor ^T complete macro index b "toggle sidebar_visible" "Toggle sidebar" macro pager b "toggle sidebar_visible" "Toggle sidebar" -macro pager \Cu "|urlview" "open urlview" +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;set noresolveset resolve=\$my_resolve"\ - "Flag message without resolving" +macro pager F "\ + set my_resolve=\$resolve noresolve\ +\ + set resolve=\$my_resolve" \ +"Flag message without resolving" # Remap bounce-message function to “B” bind index,pager B bounce-message @@ -36,6 +42,7 @@ bind index,pager R group-reply # limit when syncing macro index $ "=(=U|=F)" +macro pager $ "=(=U|=F)" bind index collapse-thread @@ -44,3 +51,7 @@ 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!'