I recently discovered this neat feature in tmux which has changed my life. To repeat the same command in multiple panes in a tmux window, hit your tmux prefix and enter:
:setw synchronize-panes
Run the same command again to toggle off.
Thanks to Jahan Syed for this tip.