2020-05-07 14:34:22 +02:00
|
|
|
# Start window and pane indices at 1.
|
|
|
|
set -g base-index 1
|
|
|
|
set -g pane-base-index 1
|
|
|
|
|
|
|
|
# Status bar styling and content.
|
2020-05-13 10:54:49 +02:00
|
|
|
#set -g status-bg black
|
|
|
|
#set -g status-fg white
|
2020-05-07 14:34:22 +02:00
|
|
|
set -g status-left '#S '
|
|
|
|
|
2020-05-13 10:54:49 +02:00
|
|
|
# Theme
|
|
|
|
set -g @plugin "arcticicestudio/nord-tmux"
|
|
|
|
|
2020-05-07 14:34:22 +02:00
|
|
|
# Highlight the active window in the status bar.
|
|
|
|
set-window-option -g window-status-current-bg cyan
|
|
|
|
set-window-option -g window-status-current-fg black
|
|
|
|
|
|
|
|
# Don't prompt to kill panes/windows.
|
|
|
|
bind-key x kill-pane
|
|
|
|
bind-key & kill-window
|
|
|
|
|
|
|
|
# More intuitive split-window mappings.
|
|
|
|
bind "\\" split-window -h
|
|
|
|
bind - split-window -v
|
|
|
|
|
|
|
|
# Maximize pane, e.g. for copying.
|
|
|
|
bind-key z resize-pane -Z
|
|
|
|
|
|
|
|
# Reload tmux conf.
|
|
|
|
unbind r
|
|
|
|
bind r source-file ~/.tmux.conf\; display "Reloaded conf."
|