Permalink
Browse files

conf

  • Loading branch information...
1 parent 4efa972 commit 79137f135f3ccf06277913fc5e788e33c825b7e2 @adiospace committed Apr 3, 2012
Showing with 25 additions and 16 deletions.
  1. +3 −4 bashrc
  2. +22 −12 tmux.conf
View
7 bashrc
@@ -3,12 +3,11 @@ alias ll='ls -alF'
alias la='ls -A'
alias l='ls -CF'
-# maybe there's a better method...like exporting the TERM
-alias tmux='TERM=screen-256color-bce tmux'
# custom prompt including VCS status - use http://vc.gerg.ca/hg/vcprompt
export PS1='\W$(vcprompt -f " (%u%m%b)"): '
-# for dircolors - use http://github.com/seebi/dircolors-solarized
-# only for GNOME
+[ -z "$TMUX" ] && export TERM=xterm-256color
+
+# for GNOME dircolors - use http://github.com/seebi/dircolors-solarized
eval `dircolors ~/.dir_colors`
View
@@ -1,25 +1,35 @@
-# use http://github.com/seebi/tmux-colors-solarized
-source-file ~/.tmuxcolors.conf
+source-file /home/adrian/code/tmux-colors-solarized/tmuxcolors.conf
+
+set -g default-terminal "screen-256color"
+set -g update-environment -r
unbind C-b
set -g prefix C-a
-# report that we can handle 256 colors
-set -g default-terminal "screen-256color"
-
-# I'm a Vim user, this make nav easier
set -g mode-keys vi
unbind-key j
-bind-key j select-pane -D
unbind-key k
-bind-key k select-pane -U
unbind-key h
-bind-key h select-pane -L
unbind-key l
+bind-key j select-pane -D
+bind-key k select-pane -U
+bind-key h select-pane -L
bind-key l select-pane -R
-# '0' is at the wrong end of the keyboard
+bind r source-file ~/.tmux.conf \; display "Reloaded!"
+
set -g base-index 1
+set -g pane-base-index 1
-# Don't lose track of SSH_AGENT etc. from parent env
-set -g update-environment -r
+set -sg escape-time 1
+setw -g aggressive-resize on
+
+bind -r C-h select-window -t :-
+bind -r C-l select-window -t :+
+
+bind -r H resize-pane -L 5
+bind -r J resize-pane -D 5
+bind -r K resize-pane -U 5
+bind -r L resize-pane -R 5
+
+setw -g mode-mouse off

0 comments on commit 79137f1

Please sign in to comment.