57 lines
1.6 KiB
Bash
57 lines
1.6 KiB
Bash
# KEYS
|
|
# 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
|
|
# 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=colour242]#S'
|
|
set -g status-left ' '
|
|
set -g window-status-format '#W'
|
|
set -g window-status-current-format '#W'
|
|
#set -g status-right '#[fg=white]%a %d %b #[fg=white,bold]%R'
|
|
#set -g status-justify centre
|
|
|
|
# THEME
|
|
#### COLOUR (Solarized 256)
|
|
# default statusbar colors
|
|
set-option -g status-bg colour233
|
|
set-option -g status-fg colour136 #yellow
|
|
set-option -g status-attr default
|
|
|
|
# default window title colors
|
|
set-window-option -g window-status-fg colour244 #base0
|
|
set-window-option -g window-status-bg default
|
|
#set-window-option -g window-status-attr dim
|
|
|
|
# active window title colors
|
|
set-window-option -g window-status-current-fg colour166 #orange
|
|
set-window-option -g window-status-current-bg default
|
|
#set-window-option -g window-status-current-attr bright
|
|
|
|
# pane border
|
|
set-option -g pane-border-fg colour235 #base02
|
|
set-option -g pane-active-border-fg colour240 #base01
|
|
|
|
# message text
|
|
set-option -g message-bg colour235 #base02
|
|
set-option -g message-fg colour166 #orange
|
|
|
|
# pane number display
|
|
set-option -g display-panes-active-colour colour33 #blue
|
|
set-option -g display-panes-colour colour166 #orange
|
|
|
|
# clock
|
|
set-window-option -g clock-mode-colour colour64 #green
|
|
|
|
# bell
|
|
set-window-option -g window-status-bell-style fg=colour235,bg=colour160 #base02, red
|