tmux: better highlight active pane and add hotkeys for synchronize-panes

This commit is contained in:
fleaz 2025-06-02 17:27:49 +02:00
parent e1b65252cc
commit 3ffa6750f1

View file

@ -15,6 +15,16 @@
bind -n M-l select-pane -R bind -n M-l select-pane -R
bind -n M-k select-pane -U bind -n M-k select-pane -U
bind -n M-j select-pane -D bind -n M-j select-pane -D
# Better marking of active windo
set-option -g pane-active-border-style fg=purple
set-option -g pane-border-lines double
# Synchonized panes
set -g @inactive_bg '#012938'
bind-key S setw synchronize-panes
bind-key e select-pane -e -P "bg=off"
bind-key d select-pane -d -P "bg=#{@inactive_bg}"
''; '';
}; };