From 3ffa6750f1339827e331628e6db3d87faa536f4f Mon Sep 17 00:00:00 2001 From: fleaz Date: Mon, 2 Jun 2025 17:27:49 +0200 Subject: [PATCH] tmux: better highlight active pane and add hotkeys for synchronize-panes --- home-manager/modules/tmux.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/home-manager/modules/tmux.nix b/home-manager/modules/tmux.nix index b453d96..e065981 100644 --- a/home-manager/modules/tmux.nix +++ b/home-manager/modules/tmux.nix @@ -15,6 +15,16 @@ bind -n M-l select-pane -R bind -n M-k select-pane -U 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}" ''; };