tmux: vim keys and statusbar

This commit is contained in:
Johannes Rothe 2018-11-29 21:13:51 +01:00
parent 2adeef846a
commit 0cf914e046

View File

@ -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