dotfiles

My opinionated dotfiles
git clone git://git.erethon.com/dotfiles
Log | Files | Refs

commit 268b22a3788bdaffe117726224ba15f8e6429289
parent 09b429de36bdf2f729ff49ee358f4a9835b59f26
Author: Dionysis Grigoropoulos <dgrig@grnet.gr>
Date:   Thu,  9 Oct 2014 15:44:56 +0300

tmux: Add .tmux.conf and update setup.sh

Diffstat:
.tmux.conf | 36++++++++++++++++++++++++++++++++++++
setup.sh | 1+
2 files changed, 37 insertions(+), 0 deletions(-)

diff --git a/.tmux.conf b/.tmux.conf @@ -0,0 +1,36 @@ +# Use screen bindings +unbind C-b +set -g prefix C-a +bind C-a send-prefix + +# Vi bindings :D +setw -g mode-keys vi + +# Rename terminals +set -g set-titles on +set -g set-titles-string '#(whoami)::#h' + +# Shortcut to reload tmux config file +bind r source-file ~/.tmux.conf + +# Status bar customization +set -g status-utf8 on +set -g status-bg colour241 +set -g status-fg white +set -g status-interval 60 +set -g status-left-length 90 +set -g status-right-length 60 +set -g status-left "#[fg=Green]#(whoami)#[fg=white]::#[fg=yellow]#h" + +set -g status-justify left +set -g status-right '#[fg=Cyan]#S #[fg=white]%a %d %b %R' + +# Pane navigation based on vi's hjkl +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 l select-pane -R diff --git a/setup.sh b/setup.sh @@ -5,6 +5,7 @@ mkdir -p ~/.vim/colors mkdir -p ~/.newsbeuter cp .gitconfig ~ +cp .tmux.conf ~ cp .vimrc ~ cp .bashrc ~ cp .bash_aliases ~