summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mutt/colormutt2
-rw-r--r--mutt/muttrc71
-rw-r--r--vim/vimrc2
-rw-r--r--zshrc3
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 <right> select-entry
# Index
-bind index l display-message
-bind index h change-folder
-bind index <right> display-message
-bind index <left> change-folder
-bind index H display-toggle-weed
-macro index , '<change-folder>!^M'
-macro index I '<tag-pattern>~N^M<tag-prefix><toggle-new><tag-prefix><tag-entry>'
-
-# Pager
-bind pager j next-line
-bind pager k previous-line
-bind pager h exit
-bind pager l view-attachments
-bind pager <down> next-line
-bind pager <up> previous-line
-bind pager <left> exit
-bind pager <right> view-attachments
-bind pager H display-toggle-weed
-macro pager , '<change-folder>!^M'
-
-# Attach
-bind attach l view-attach
-bind attach <right> view-attach
-bind attach h exit
-bind attach <left> 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 <right> 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>?<toggle-mailboxes>" "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 <krystle.acquah-arhin13@imperial.ac.uk>
alias khoi Khoi Nguyen <khoi@member.fsf.org>
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"'