From 0cf914e046b699afebe04114a5daf2935c06c6e7 Mon Sep 17 00:00:00 2001 From: Johannes Rothe Date: Thu, 29 Nov 2018 21:13:51 +0100 Subject: [PATCH] tmux: vim keys and statusbar --- tmux.conf | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/tmux.conf b/tmux.conf index 4e3e60d..e51c0ad 100644 --- a/tmux.conf +++ b/tmux.conf @@ -1,3 +1,4 @@ +# KEYS # remap prefix from 'C-b' to 'C-a' unbind C-b set-option -g prefix C-a @@ -5,10 +6,17 @@ bind-key C-a send-prefix # remap from 'n' for next to 'space' setw -g xterm-keys on bind-key Space next-window +# vim style switch +bind h select-pane -L +bind j select-pane -D +bind k select-pane -U +bind l select-pane -R + +# statusbar +set -g status-right '#[fg=white]%a %d %b #[fg=white,bold]%R' # THEME #### COLOUR (Solarized 256) - # default statusbar colors set-option -g status-bg colour235 #base02 set-option -g status-fg colour136 #yellow