From 6211d7d8f2eb992525d7ab791ad2027da940b067 Mon Sep 17 00:00:00 2001 From: Niels Mokkenstorm Date: Mon, 20 Jul 2026 13:50:52 +0200 Subject: [PATCH] feat(tmux): add send-to-all-panes binding --- .tmux.conf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.tmux.conf b/.tmux.conf index 8781c14..c1aafea 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -74,6 +74,11 @@ set -g @rose_pine_status_right_append_section '#(cd #{pane_current_path} && git # Window configuration set -g @rose_pine_window_status_separator " | " +# Send a command to all panes in the current window +bind S command-prompt -p "Command:" \ + "run \"tmux list-panes -F '##{session_name}:##{window_index}.##{pane_index}' \ + | xargs -I PANE tmux send-keys -t PANE '%1' Enter\"" + # Hide pane borders completely (must be after theme to override) set -g pane-border-style fg=default,bg=default set -g pane-active-border-style fg=default,bg=default -- 2.51.2