在tmux中合并不同的窗口


16

我的问题很简单。我在tmux会话中有两个窗口,分别为1和2。如何将这两个窗口合并为一个水平/垂直拆分的窗口?我在联机帮助页中找不到答案,所以我在这里问。

Answers:


21

我认为您正在寻找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 :)中使用它。

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.