55 lines
1.3 KiB
Plaintext
55 lines
1.3 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-style bg="#005577",fg="#eeeeee"
|
|
|
|
# default window title colors
|
|
set -g window-status-style bg=default,fg="#002b36"
|
|
|
|
# active window title colors
|
|
set -g window-status-current-style bg=default,fg="#eeeeee"
|
|
|
|
# default pane border colors
|
|
set -g pane-border-style bg=default,fg=default
|
|
|
|
# active pane border colors
|
|
set -g pane-active-border-style bg=default,fg="#005577"
|
|
|
|
# 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'
|