X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/4b1d62d1350c90c23d9d365ffcb1ecdf1f088e3d..refs/heads/master:/mutt/bindings diff --git a/mutt/bindings b/mutt/bindings index 8e6302a..649b0f2 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 +macro index q "echo 'Press \^C to quit!'" +bind index,pager Q noop +bind index,pager x noop # completion bind editor complete-query @@ -22,13 +25,23 @@ 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" + +#FIXME: doesn't work because is interactive +# macro index,pager f "\ +# set my_mime_forward=\$mime_forward mime_forward=yes\ +# \ +# set mime_forward=\$my_mime_forward" \ +# "Forward message as attachement" # Remap bounce-message function to “B” bind index,pager B bounce-message @@ -36,11 +49,12 @@ 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!'