12

我想更改窗格的位置,例如我想在窗格 3 退出后将窗格 4 更改为窗格 3。

4

2 回答 2

29

在窗格 3 退出后将窗格 4 更改为窗格 3:

C-b {          move the current pane to the previous position

以下是移动窗格的更多快捷方式:

C-b }          move the current pane to the next position
C-b C-o        rotate window ‘up’ (i.e. move all panes)
C-b M-o        rotate window ‘down’
C-b !          move the current pane into a new separate
               window (‘break pane’)
C-b :move-pane -t :3.2
               split window 3's pane 2 and move the current pane there

来源:tmux 备忘单

于 2017-10-03T09:01:22.950 回答
4

最新版本的 tmux (1.7) 支持对 windows 重新编号

如果您只想将窗口 4 的数量更改为 3,请在窗口 4 中执行此操作:

move-window -t 3
于 2012-10-17T15:00:41.623 回答