X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/82a3e0f96e62623f23f5e48738fc790992e8f95a..refs/heads/master:/mutt/bindings diff --git a/mutt/bindings b/mutt/bindings index d441abc..649b0f2 100644 --- a/mutt/bindings +++ b/mutt/bindings @@ -7,36 +7,54 @@ 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 bind editor ^T complete -# sidebar -bind index,pager \CK sidebar-prev -bind index,pager \CJ sidebar-next -bind index,pager \CO sidebar-open - macro index b "toggle sidebar_visible" "Toggle sidebar" macro pager b "toggle sidebar_visible" "Toggle sidebar" -macro pager \Cu "|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 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 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!'