From f6cde060af190e459593b98015868d3a35ea0436 Mon Sep 17 00:00:00 2001 From: hellerve Date: Wed, 1 Apr 2015 18:14:37 +0200 Subject: [PATCH] Updated tmux --- tmux.conf | 9 +++++++++ zshrc | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/tmux.conf b/tmux.conf index d83883e..5375ab4 100644 --- a/tmux.conf +++ b/tmux.conf @@ -1,3 +1,12 @@ +bind-key Escape copy-mode +set -g status-bg blue +set -g status-fg white +set -g status-interval 60 +set -g status-left-length 0 +set -g status-left '' +set-window-option -g window-status-current-bg red +set -g status-right '#[default]#[fg=green]#H #[fg=white]%m/%d %I:%M%p #[default]' + set-option -g default-command /bin/zsh set-option -g default-shell /bin/zsh set-window-option -g mode-mouse on diff --git a/zshrc b/zshrc index 3fad6c2..6f47d3c 100644 --- a/zshrc +++ b/zshrc @@ -59,7 +59,7 @@ alias sloccount="sloccount --addlang makefile --addlang html --multiproject --du alias vlc="/Applications/VLC.app/Contents/MacOS/VLC" alias tmv="tmux split-window" alias tmh="tmux split-window -h" -alias tms="tmux select-pane" +alias tms="tmux select-pane -t" alias tmk="killall tmux; tmux" PROMPT="[%{$fg[red]%}%n%{$reset_color%}@%{$fg[blue]%}%m %{$fg_no_bold[yellow]%}%1~%{$reset_color%}]\$"