back to xoc3.io

2021-07-16 - sync tmux pane input

i had a situation at work where i wanted to edit two files that were very similar. i could have used a macro on one file and applied it to the other. but i thought there must be a better way. so i searched if tmux could sync input between panes and sure enough it can.

sync tmux panes blogpost

the command to sync text is:

run the same command again to untoggle the synchronize mode.

that blog also mentions it can be useful to ssh into multiple systems that share a similar structure.