From bf2dfc4e46bc6952200051050cbe24c8c7c29a5a Mon Sep 17 00:00:00 2001 From: Pierre Neidhardt Date: Sun, 28 May 2017 12:07:08 +0200 Subject: [PATCH] Mutt: Switch to vi bindings only --- .config/mutt/muttrc | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/.config/mutt/muttrc b/.config/mutt/muttrc index 494ce256..36377004 100644 --- a/.config/mutt/muttrc +++ b/.config/mutt/muttrc @@ -174,31 +174,27 @@ bind index "Q" quit bind index q query bind index "q" noop -## Vi/Emacs bindings. +## Vi bindings. bind pager j next-line bind pager k previous-line +bind attach,index,pager \CB previous-page bind attach,index,pager \CD next-page +bind attach,index,pager \CF next-page bind attach,index,pager \CU previous-page -bind attach,index,pager f next-page bind attach,index,pager ? search-reverse bind attach,index,pager h help bind attach,index,pager \Ch display-toggle-weed bind attach,index,pager N search-opposite -bind index x collapse-thread -bind index X collapse-all -bind attach,index,pager \CV next-page -bind attach,index,pager v previous-page -bind attach,index,pager b previous-page bind pager g top bind pager G bottom -bind pager < top -bind pager > bottom bind attach,index g first-entry bind attach,index G last-entry -bind attach,index < first-entry -bind attach,index > last-entry -bind index,pager w set-flag +bind index x collapse-thread +bind index X collapse-all + +## Flags +bind index,pager w set-flag ## Remove N/O flag in one key stroke. macro index w 'N'