From: Alain Bench Date: Sat, 17 Sep 2005 17:39:18 +0000 (+0000) Subject: Clean up some Muttrc macros, and add macro 'y' to jump to the mailboxes X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ab9057062c38cfbb0b654e6042006b40c01c9175;p=neomutt Clean up some Muttrc macros, and add macro 'y' to jump to the mailboxes view. Closes: #2069. --- diff --git a/Muttrc.head.in b/Muttrc.head.in index 081daf569..44ec4d2c1 100644 --- a/Muttrc.head.in +++ b/Muttrc.head.in @@ -8,16 +8,17 @@ ignore "from " received content- mime-version status x-status message-id ignore sender references return-path lines # imitate the old search-body function -macro index \eb '/~b ' 'search in message bodies' +macro index \eb "~b " "search in message bodies" # simulate the old url menu -macro index \cb |urlview\n 'call urlview to extract URLs out of a message' -macro pager \cb |urlview\n 'call urlview to extract URLs out of a message' +macro index,pager \cb "urlview" "call urlview to extract URLs out of a message" # Show documentation when pressing F1 -macro generic "!less @docdir@/manual.txt\n" "Show Mutt documentation" -macro index "!less @docdir@/manual.txt\n" "Show Mutt documentation" -macro pager "!less @docdir@/manual.txt\n" "Show Mutt documentation" +macro generic,pager "less @docdir@/manual.txt" "show Mutt documentation" + +# show the incoming mailboxes list (just like "mutt -y") and back when pressing "y" +macro index,pager y "?" "show incoming mailboxes list" +bind browser y exit # If Mutt is unable to determine your site's domain name correctly, you can # set the default here.