From 3abc390375a8e8888b44abd0b79e2f2706910968 Mon Sep 17 00:00:00 2001 From: Pierre Habouzit Date: Thu, 10 Sep 2009 23:29:30 +0200 Subject: [PATCH] Various mutt bind updates Signed-off-by: Pierre Habouzit --- config/mutt/binds | 56 ++++++++++++++++++----------------------------- 1 file changed, 21 insertions(+), 35 deletions(-) diff --git a/config/mutt/binds b/config/mutt/binds index 22f4faf..878b2d8 100644 --- a/config/mutt/binds +++ b/config/mutt/binds @@ -1,51 +1,37 @@ -macro compose po "forget about gpg" - -macro generic c?\t "list mailboxes" -macro index c?\t "list mailboxes" - -macro generic c=\n "goto =" -macro index c=\n "goto =" -macro pager c=\n "goto =" -macro generic c?\t/\\.Sab\n\n "goto sab's mbox" -macro index c?\t/\\.Sab\n\n "goto sab's mbox" -macro pager c?\t/\\.Sab\n\n "goto sab's mbox" - -macro index c\Cuimaps://madcoder@imap.mail.intersec.com/\nu "open intersec imap" -macro pager c\Cuimaps://madcoder@imap.mail.intersec.com/\nu "open intersec imap" - -macro index ":source ~/.muttrc\n" "Reload the muttrc" -macro pager ":source ~/.muttrc\n" "Reload the muttrc" - -macro index ":toggle sidebar_visible\n" "Toggle sidebar" -macro pager ":toggle sidebar_visible\n" "Toggle sidebar" +macro generic,index c?\t "list mailboxes" +macro generic,index,pager c=\n "goto =" +macro generic,index,pager c?\t/\\.Sab\n\n "goto sab's mbox" +macro generic,index,pager c\Cuimaps://madcoder@imap.mail.intersec.com/\nu "open intersec imap" +macro generic,index,pager c=debian\n "goto =debian" +macro generic,index,pager ":source ~/.muttrc\n" "Reload the muttrc" +macro generic,index,pager ":toggle sidebar_visible\n" "Toggle sidebar" macro index \' \ "(~N|~O)NO~T" \ "set all mails as read" -macro index \e= "~=" - -#macro index + ":set editor=true\nfnonspam@m4x.org\n:set editor=vim\npoyd$" -#macro pager + ":set editor=true\nfnonspam@m4x.org\n:set editor=vim\npoyd$" -#macro index - ":set editor=true\nfspam@m4x.org\n:set editor=vim\npoyd$" -#macro pager - ":set editor=true\nfspam@m4x.org\n:set editor=vim\npoyd$" - -bind index \ek sidebar-prev -bind pager \ek sidebar-prev -bind index \ej sidebar-next -bind pager \ej sidebar-next -bind index \el sidebar-open -bind pager \el sidebar-open +macro index \e= "~=" "delete duplicates" + +bind generic,index,pager \ek sidebar-prev +bind generic,index,pager \ej sidebar-next +bind generic,index,pager \el sidebar-open bind index display-message bind index collapse-thread bind index collapse-thread +bind pager,index \er read-subthread +bind pager,index \eR read-thread +bind pager,index \ed delete-subthread +bind pager,index \eD delete-thread +bind pager,index \eu undelete-subthread +bind pager,index \eU undelete-thread + bind pager,index \Cu previous-page bind pager,index \Cy previous-line bind pager,index \Ce next-line bind pager,index \Cd next-page -bind pager next-line -bind pager previous-line +bind pager next-line +bind pager previous-line macro index "\eZ" \ '~P(~N|~O)NO~P' \ -- 2.20.1