How to type in all panes at once in tmux

Toggle sending input to every pane in the window:

The classic multi-server workflow

Split a window into one pane per server, SSH into each, then turn on synchronize-panes — every keystroke now goes to all of them. Run it again (or setw synchronize-panes off) to stop. Bind it for quick toggling:

~/.tmux.conf
bind S setw synchronize-panes

Know when it's on

It's easy to forget it's enabled and type somewhere destructive. Show it in your status bar: #{?pane_synchronized,SYNC ,} renders a SYNC flag only while active.

Related

Verified against tmux 3.6 · updated July 2026 · back to the full cheat sheet