如何撤消 iTerm2 中的拆分面板?
How to undo split panels in iTerm2?
我已经开始使用 iTerm2。我喜欢使用
拆分面板的功能
Cmd + d
和
Cmd + Shift + d
但是我怎样才能撤销这个分裂呢?
在标准终端中 Cmd + d
可以使用 Cmd + Shift + d
撤消,但在 iTerm 中它用于水平分割。
I like the functionality of splitting panels using Cmd + d
请注意,虽然这甚至在 iTerm2's official docs 中被描述为 Split Panes
Split Panes
iTerm2 allows you to divide a tab into many rectangular "panes", each of which is a different terminal session. The shortcuts cmd-d
and cmd-shift-d
divide an existing session vertically or horizontally, respectively. You can navigate among split panes with cmd-opt-arrow
or cmd-[
and cmd-]
. You can "maximize" the current pane--hiding all others in that tab--with cmd-shift-enter
. Pressing the shortcut again restores the hidden panes.
如果您只从一个终端会话开始,拆分会带来 开始另一个会话 的副作用。根据文档,您可以使用
最大化单个窗格
Cmd + Shift + Enter
这会使隐藏的窗格作为活动的终端会话保持活动状态。此外,您可以使用
终止活动窗格的终端会话
Cmd + w
iTerm2 附带的副作用是相应的窗格也会被关闭。
请注意,重复使用 Cmd + w
将在关闭所有终端会话后最终关闭最后一个终端会话和 iTerm2 选项卡本身。
Cmd + w
关闭终端会话的示例(具有关闭用于容纳它们的窗格的效果):
我已经开始使用 iTerm2。我喜欢使用
拆分面板的功能Cmd + d
和
Cmd + Shift + d
但是我怎样才能撤销这个分裂呢?
在标准终端中 Cmd + d
可以使用 Cmd + Shift + d
撤消,但在 iTerm 中它用于水平分割。
I like the functionality of splitting panels using
Cmd + d
请注意,虽然这甚至在 iTerm2's official docs 中被描述为 Split Panes
Split Panes
iTerm2 allows you to divide a tab into many rectangular "panes", each of which is a different terminal session. The shortcuts
cmd-d
andcmd-shift-d
divide an existing session vertically or horizontally, respectively. You can navigate among split panes withcmd-opt-arrow
orcmd-[
andcmd-]
. You can "maximize" the current pane--hiding all others in that tab--withcmd-shift-enter
. Pressing the shortcut again restores the hidden panes.
如果您只从一个终端会话开始,拆分会带来 开始另一个会话 的副作用。根据文档,您可以使用
最大化单个窗格Cmd + Shift + Enter
这会使隐藏的窗格作为活动的终端会话保持活动状态。此外,您可以使用
终止活动窗格的终端会话Cmd + w
iTerm2 附带的副作用是相应的窗格也会被关闭。
请注意,重复使用 Cmd + w
将在关闭所有终端会话后最终关闭最后一个终端会话和 iTerm2 选项卡本身。
Cmd + w
关闭终端会话的示例(具有关闭用于容纳它们的窗格的效果):