From 746860ded21c59dd49a755fd38f8f56ee07b0846 Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Wed, 15 Oct 2014 17:53:15 +0100 Subject: Adding tmux + zsh aliases --- .dotfilesrc | 2 +- .mailfilter | 3 +-- .muttrc | 13 +++++++++---- .mynotes | 11 ++++++++++- .vimrc | 14 ++++++++++++-- .zshrc | 11 ++++++++++- 6 files changed, 43 insertions(+), 11 deletions(-) diff --git a/.dotfilesrc b/.dotfilesrc index 96297aa..c4949e8 100755 --- a/.dotfilesrc +++ b/.dotfilesrc @@ -4,7 +4,7 @@ dir=~/dotfiles olddir=~/dotfiles_old # Files: bash, vim, zsh, mutt, vim, xmodmap, notes, fetchmail, maildrop, installation file. -files="bashrc vimrc zshrc muttrc vim xmodmap mynotes mailfilter krystle dotfilesrc" +files="bashrc vimrc zshrc muttrc vim xmodmap mynotes mailfilter krystle tmux.conf dotfilesrc" rm -rf $olddir mkdir -p $olddir diff --git a/.mailfilter b/.mailfilter index 251ad9d..00b1f3e 100644 --- a/.mailfilter +++ b/.mailfilter @@ -1,6 +1,5 @@ HOME=/home/urbain -DEFAULT=/var/spool/mail/urbain -SPAM=/var/spool/spamdrop/ +DEFAULT=/home/urbain/.mail logfile "$HOME/.maillog" diff --git a/.muttrc b/.muttrc index a85d94c..a084343 100644 --- a/.muttrc +++ b/.muttrc @@ -3,8 +3,8 @@ set realname = "Charles Bogosse" set use_from = yes set envelope_from = "yes" -set spoolfile = /var/spool/mail/urbain set folder = "~/Mail" +set spoolfile = /home/urbain/.mail set record = "+sent" set postponed = "+postponed" set move = no @@ -16,11 +16,16 @@ set certificate_file = ~/.mutt/certificates set editor="vim" set edit_headers +set include=yes + set sendmail="/usr/sbin/ssmtp" -set sort = reverse-date-received -set allow_ansi = yes -source ~/mutt-colors-solarized/mutt-colors-solarized-dark-16.muttrc +set sort = threads +set sort_aux = reverse-last-date-received +set sort_browser = reverse-date +set allow_ansi = yes + +source ~/mutt-colors-solarized/mutt-colors-solarized-light-16.muttrc alias krystle Krystle Acquah alias khoi Binh-Khoi Nguyen diff --git a/.mynotes b/.mynotes index 2895a08..2d954a4 100644 --- a/.mynotes +++ b/.mynotes @@ -4,7 +4,16 @@ Money - Khoi: Oyster card To do -- Get swimming trunk +- By Torpe ticket +- Get Nino +- Change address bank - British Gas - Black Rock - Stoch proc + +Expecting +- Taste card +- Oyster card + +Interesting +http://www.drbunsen.org/the-text-triumvirate/ diff --git a/.vimrc b/.vimrc index 8e4e730..38ccba4 100644 --- a/.vimrc +++ b/.vimrc @@ -97,7 +97,6 @@ else set t_Co=256 endif set guitablabel=%N\ %t\ %M -set background=dark set showcmd " Layout text @@ -105,8 +104,19 @@ set wrap set linebreak set textwidth=0 set conceallevel=2 -set guifont=Monaco\ 11 +set guifont=Monaco\ 12 + +" Colorscheme +function! UpdateColorscheme() + if strftime("%H") >= 9 && strftime("%H") < 19 + set background=light + else + set background=dark + endif +endfunction try | colorscheme solarized | catch | endtry +call UpdateColorscheme() +autocmd! BufNewFile,BufRead,BufWrite * :call UpdateColorscheme() " Case and spell set nospell diff --git a/.zshrc b/.zshrc index 76ce5c7..ea122d2 100644 --- a/.zshrc +++ b/.zshrc @@ -2,7 +2,7 @@ # todo: add vim support # ~/xcape/xcape -e 'Shift_L=Escape' -xmodmap ~/.xmodmap +xmodmap -quiet ~/.xmodmap # Path to your oh-my-zsh installation. export ZSH=$HOME/.oh-my-zsh @@ -76,3 +76,12 @@ export EDITOR=/usr/bin/vim # Example aliases # alias zshconfig="mate ~/.zshrc" # alias ohmyzsh="mate ~/.oh-my-zsh" + +alias -s vim=vim +alias -s cpp=vim +alias -s c=vim +alias -s tex=vim + +alias tmux="TERM=screen-256color-bce tmux" + +bindkey -v -- cgit v1.2.3