40 lines
1.0 KiB
Bash
40 lines
1.0 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 '#I:#W'
|
|
set -g window-status-current-format '#I:#W'
|
|
set -g allow-rename off
|
|
|
|
# THEME
|
|
#### COLOUR
|
|
# default statusbar colors
|
|
set-option -g status-style bg=colour232,fg=colour239,default
|
|
|
|
# border
|
|
set -g pane-border-style fg=colour234,bg=default
|
|
set -g pane-active-border-style fg=colour236,bg=default
|
|
|
|
# active window title colors
|
|
set-window-option -g window-status-current-style fg=colour231,bg=default
|
|
set-window-option -g window-status-style fg=colour239,bg=default
|
|
|
|
# bell
|
|
set-window-option -g window-status-bell-style fg=colour232,bg=colour253
|
|
|
|
# Correct colors, NOTE you also need to alias tmux as `tmux -2`
|
|
set -g default-terminal "tmux-256color"
|