Question

I have opened two windows in a tmux session, how can I put them side-by-side like splitted horizontally?

Was it helpful?

Solution

Actually I found the way to do that. Suppose the two windows are number 1 and 2. Use

join-pane -s 2 -t 1 

This will move the 2nd window as a pane to the 1st window. The opposite command is break-pane

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top