From e5b240a5e54699548aa6260610bee67114301aa9 Mon Sep 17 00:00:00 2001 From: Alexander Wagner Date: Thu, 28 Jul 2016 16:29:48 +0200 Subject: [PATCH] tmux.conf Enable vi keys for pane switching --- .tmux.conf | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/.tmux.conf b/.tmux.conf index d1ac578..fb97118 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -7,6 +7,9 @@ bind-key -t vi-copy 'y' copy-selection # use sensible terminal set -g default-terminal "xterm-256color" +# if we use a solarized palette for the terminal emulator use 16 +# colours as those actually match already solarized colours +set -g default-terminal "xterm" # enable wm window titles set -g set-titles on @@ -46,7 +49,8 @@ set-window-option -g window-status-current-bg default # pane border set-option -g pane-border-fg white #base2 -set-option -g pane-active-border-fg cyan #base1 +set-option -g pane-active-border-bg blue #base1 +set-option -g pane-active-border-fg white #base1 # message text set-option -g message-bg white #base2 @@ -76,12 +80,12 @@ set-window-option -g clock-mode-colour green #green ### set-window-option -g mode-keys vi ### bind-key -t vi-copy 'v' begin-selection ### bind-key -t vi-copy 'y' copy-selection -### bind h select-pane -L -### bind j select-pane -D -### bind k select-pane -U -### bind l select-pane -R -### bind-key -r C-h select-window -t :- -### bind-key -r C-l select-window -t :+ +bind h select-pane -L +bind j select-pane -D +bind k select-pane -U +bind l select-pane -R +## bind-key -r C-h select-window -t :- +## bind-key -r C-l select-window -t :+ set -g status-left-length 32 @@ -90,8 +94,8 @@ set -g status-right-length 150 set -g status-fg white set -g status-bg colour234 # set -g window-status-activity-attr bold -set -g pane-border-fg colour245 -set -g pane-active-border-fg colour39 +## set -g pane-border-fg colour245 +## set -g pane-active-border-fg colour39 set -g message-fg colour16 set -g message-bg colour221 set -g message-attr bold