63 lines
1.6 KiB
Plaintext
63 lines
1.6 KiB
Plaintext
# Status bar --------------------------------------
|
|
|
|
# center align the window list
|
|
set -g status-justify centre
|
|
|
|
# set the status bar
|
|
set -g status-left ""
|
|
set -g status-right ""
|
|
|
|
# Start windows and panes at 1, not 0
|
|
set -g base-index 1
|
|
setw -g pane-base-index 1
|
|
|
|
# Custom bindings ---------------------------------
|
|
|
|
# Change prefix to Ctrl-a like in Screen
|
|
unbind C-b
|
|
set -g prefix C-a
|
|
bind C-a send-prefix
|
|
|
|
# confirm before killing a window or the server
|
|
bind-key C-d confirm kill-pane
|
|
bind-key C-k confirm kill-window
|
|
bind-key M-k confirm kill-server
|
|
|
|
# toggle statusbar
|
|
bind-key b set-option status
|
|
|
|
# Colors ------------------------------------------
|
|
|
|
# default statusbar colors
|
|
set -g status-fg "#eeeeee"
|
|
set -g status-bg "#005577"
|
|
set -g status-attr default
|
|
|
|
# default window title colors
|
|
set-window-option -g window-status-fg "#002b36"
|
|
set-window-option -g window-status-bg default
|
|
set-window-option -g window-status-attr default
|
|
|
|
# active window title colors
|
|
set-window-option -g window-status-current-fg "#eeeeee"
|
|
set-window-option -g window-status-current-bg default
|
|
set-window-option -g window-status-current-attr default
|
|
|
|
# default pane border colors
|
|
set -g pane-border-fg default
|
|
set -g pane-border-bg default
|
|
|
|
# active pane border colors
|
|
set -g pane-active-border-fg "#005577"
|
|
set -g pane-active-border-bg default
|
|
|
|
# Plugin manager ----------------------------------
|
|
|
|
set -g @tpm_plugins ' \
|
|
tmux-plugins/tpm \
|
|
tmux-plugins/tmux-sensible \
|
|
'
|
|
|
|
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
|
|
run '~/.tmux/plugins/tpm/tpm'
|