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 ++++++++++++++++++++++++---------------------------------- vim/vimrc | 2 +- zshrc | 3 ++- 4 files changed, 33 insertions(+), 45 deletions(-) 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 diff --git a/vim/vimrc b/vim/vimrc index 8e23b6e..ac230bc 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -125,7 +125,7 @@ set encoding=utf-8 "" Colorscheme function! UpdateColorscheme() try | colorscheme solarized | catch | endtry - if strftime("%H") >= 9 && strftime("%H") < 18 + if strftime("%H") >= 9 && strftime("%H") < 17 set background=light else set background=dark diff --git a/zshrc b/zshrc index 1d2601e..9ab81c8 100644 --- a/zshrc +++ b/zshrc @@ -88,10 +88,11 @@ alias uc='cd ~/Dropbox/phd/programs' alias up='cd ~/Dropbox/phd/presentations' alias ul='cd ~/Dropbox/phd/literature' alias ur='cd ~/Dropbox/phd/reports' +alias cdd='cd ~/dotfiles' alias c='clear' alias m='mutt' alias a='vifm' -alias mn='vim .mynotes' +alias mn='vim ~/.mynotes' alias x='sh ~/.xmodmap' alias mail='offlineimap' # alias clear='print "\ec"' -- cgit v1.2.3