From 0ff7f5f6670ec6cde4e67d13bcc92b8a4faecd99 Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Mon, 10 Nov 2014 14:00:43 +0000 Subject: mutt modifs --- mutt/colormutt | 2 +- mutt/muttrc | 71 ++++++++++++++++++++++++---------------------------------- 2 files changed, 30 insertions(+), 43 deletions(-) (limited to 'mutt') diff --git a/mutt/colormutt b/mutt/colormutt index d0e1225..51e9da1 100644 --- a/mutt/colormutt +++ b/mutt/colormutt @@ -3,7 +3,7 @@ h=`date +%H` if [ $h -lt 9 ]; then theme=dark -elif [ $h -lt 18 ]; then +elif [ $h -lt 17 ]; then theme=light else theme=dark diff --git a/mutt/muttrc b/mutt/muttrc index 01122af..48504db 100644 --- a/mutt/muttrc +++ b/mutt/muttrc @@ -78,58 +78,45 @@ source `sh /home/urbain/.mutt/colormutt` auto_view text/html # Key bindings -bind generic l select-entry - -bind index,browser g top-page -bind index,browser GG bottom-page -bind pager,index,browser \Cb previous-page -bind pager,index,browser \Cf next-page - -bind index gg first-entry -bind index G last-entry +bind index gg first-entry +bind index G last-entry +bind index \Cf next-page +bind index \Cb previous-page ## Bindings -# Generic -bind generic l select-entry -bind generic select-entry # Index -bind index l display-message -bind index h change-folder -bind index display-message -bind index change-folder -bind index H display-toggle-weed -macro index , '!^M' -macro index I '~N^M' - -# Pager -bind pager j next-line -bind pager k previous-line -bind pager h exit -bind pager l view-attachments -bind pager next-line -bind pager previous-line -bind pager exit -bind pager view-attachments -bind pager H display-toggle-weed -macro pager , '!^M' - -# Attach -bind attach l view-attach -bind attach view-attach -bind attach h exit -bind attach exit -bind attach H display-toggle-weed +bind index l display-message +bind index h quit +bind index q change-folder +bind index G group-reply -# Compose -bind compose l view-attach -bind compose view-attach +# Attach +bind attach h exit -# Sidebar Navigation --------------------------------- +# Pager +bind pager j next-line +bind pager k previous-line +bind pager "}" next-entry +bind pager "{" previous-entry +bind pager h exit +bind pager N search-opposite +bind pager R group-reply +bind pager gg top +bind pager G bottom +macro index c "?" "change folder" + +# Sidebar Navigation bind index,pager J sidebar-next bind index,pager K sidebar-prev bind index,pager O sidebar-open +# Compose +bind compose p postpone-message + + +## Aliases + set reverse_alias alias krystle Krystle Acquah alias khoi Khoi Nguyen -- cgit v1.2.3