From ab8a24c3334c4847408c9de434233f2fdd1fef97 Mon Sep 17 00:00:00 2001 From: habiwan <48130922+habiwan@users.noreply.github.com> Date: Mon, 4 May 2026 14:16:40 +0100 Subject: [PATCH] Update tmuxcommand added explanation --- tmuxcommand | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/tmuxcommand b/tmuxcommand index 86f01e8..c86182d 100644 --- a/tmuxcommand +++ b/tmuxcommand @@ -1 +1,13 @@ -bind-key C-x setw synchronize-panes on \; set-window-option status-bg red \; display-message "pane sync on"; bind-key M-x setw synchronize-panes off \; set-window-option status-bg green \; display-message "pane sync off" +create or add to ~/.tmux.conf: + +# Toggle Pane Synchronization ON with Ctrl-x +bind-key C-x \ + setw synchronize-panes on \; \ + set-window-option status-bg red \; \ + display-message "Pane sync ON" + +# Toggle Pane Synchronization OFF with Alt-x +bind-key M-x \ + setw synchronize-panes off \; \ + set-window-option status-bg green \; \ + display-message "Pane sync OFF"