From f6ab625b89cd05feed4e82be1fd8b523854d6881 Mon Sep 17 00:00:00 2001 From: Dict Xiong Date: Wed, 12 Jun 2024 21:42:53 +0800 Subject: [PATCH] feat(tmux): prefix + C-x to toggle synchronize-panes --- .tmux.conf2 | 1 + 1 file changed, 1 insertion(+) diff --git a/.tmux.conf2 b/.tmux.conf2 index 659ecb0..5cfd35a 100644 --- a/.tmux.conf2 +++ b/.tmux.conf2 @@ -26,6 +26,7 @@ bind | split-window -h -c "#{pane_current_path}" # other key bindings bind r source-file ~/.tmux.conf \; display-message "tmux.conf reloaded" bind m run 'old=$(tmux show -gv mouse); new="off"; if [ "$old" = "off" ]; then new="on"; fi; tmux set -g mouse $new && tmux display-message toggle\ mouse\ mode\ $new' +bind C-x set-window-option synchronize-panes\; display-message "synchronize-panes is now #{?pane_synchronized,on,off}" # styles # status bar