我的问题很简单。我在 tmux 会话中有两个窗口,1 和 2。我怎样才能将这两个窗口合并为一个水平/垂直分割的窗口?我在手册页中找不到答案,所以我在这里提问。
答案1
我认为您正在寻找join-pane
:
join-pane [-bdhv] [-l size | -p percentage] [-s src-pane] [-t dst-pane]
(alias: joinp)
Like split-window, but instead of splitting dst-pane and creating a new pane,
split it and move src-pane into the space. This can be used to reverse
break-pane. The -b option causes src-pane to be joined to left of or above
dst-pane.
您可以通过命令行使用它(C-b :
)。