💾 Archived View for xoc3.io › blog › 2021-07-16 captured on 2022-07-16 at 13:46:38. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2022-04-28)
-=-=-=-=-=-=-
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.
the command to sync text is:
:setw synchronize-panes
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.