2018-11-29 21:13:51 +01:00
|
|
|
# KEYS
|
2018-09-21 13:37:30 +02:00
|
|
|
# remap prefix from 'C-b' to 'C-a'
|
|
|
|
unbind C-b
|
|
|
|
set-option -g prefix C-a
|
|
|
|
bind-key C-a send-prefix
|
|
|
|
# remap from 'n' for next to 'space'
|
|
|
|
setw -g xterm-keys on
|
|
|
|
bind-key Space next-window
|
2018-11-29 21:13:51 +01:00
|
|
|
# vim style switch
|
|
|
|
bind h select-pane -L
|
|
|
|
bind j select-pane -D
|
|
|
|
bind k select-pane -U
|
|
|
|
bind l select-pane -R
|
|
|
|
|
|
|
|
# statusbar
|
2018-11-29 22:05:16 +01:00
|
|
|
set -g status-right '#[fg=colour242]#S'
|
2019-02-13 18:53:02 +01:00
|
|
|
set -g status-left ' '
|
2019-02-13 23:05:35 +01:00
|
|
|
set -g window-status-format '#I:#W'
|
|
|
|
set -g window-status-current-format '#I:#W'
|
2018-11-30 12:24:57 +01:00
|
|
|
set -g allow-rename off
|
2018-09-21 13:37:30 +02:00
|
|
|
|
|
|
|
# THEME
|
2019-02-13 18:53:02 +01:00
|
|
|
#### COLOUR
|
2018-09-21 13:37:30 +02:00
|
|
|
# default statusbar colors
|
2020-01-11 19:27:06 +01:00
|
|
|
set-option -g status-style bg=colour232,fg=colour239,default
|
2018-09-21 13:37:30 +02:00
|
|
|
|
2019-02-13 23:05:35 +01:00
|
|
|
# border
|
2020-01-11 19:27:06 +01:00
|
|
|
set -g pane-border-style fg=colour234,bg=default
|
|
|
|
set -g pane-active-border-style fg=colour236,bg=default
|
2018-09-21 13:37:30 +02:00
|
|
|
|
|
|
|
# active window title colors
|
2020-01-11 19:27:06 +01:00
|
|
|
set-window-option -g window-status-current-style fg=colour231,bg=default
|
|
|
|
set-window-option -g window-status-style fg=colour239,bg=default
|
2018-09-21 13:37:30 +02:00
|
|
|
|
|
|
|
# bell
|
2019-02-13 18:53:02 +01:00
|
|
|
set-window-option -g window-status-bell-style fg=colour232,bg=colour253
|