Terminal 如何关闭tmux中的选项卡?
是否有关闭选项卡的快捷键?Terminal 如何关闭tmux中的选项卡?,terminal,tmux,Terminal,Tmux,是否有关闭选项卡的快捷键? 我要求创建一个选项卡CTRL b+c 如果我想关闭1:cmatrix*选项卡,我应该使用什么快捷方式? 我想这就是你想要的: 具体而言,本部分: kill the current pane: ^b x OR (logout/^D) close other panes except the current one: ^b ! The formatting here is simple enough to understand (I would hope).
我要求创建一个选项卡
CTRL b+c
如果我想关闭
1:cmatrix*
选项卡,我应该使用什么快捷方式?
我想这就是你想要的: 具体而言,本部分:
kill the current pane: ^b x OR (logout/^D)
close other panes except the current one: ^b !
The formatting here is simple enough to understand (I would hope).
^ means ctrl+, so ^x is ctrl+x. M- means meta (generally left-alt or escape)+,
so M-x is left-alt+x
prefix+x:终止当前窗格
前缀+&:终止当前窗口
注意窗格和窗口之间的区别。OP实际上想杀死一扇窗户。所以prefix+&更合适,尤其是当一个窗口有多个窗格拆分时。谢谢你的Webbies。这就是我要找的。”“杀死当前窗格:^b x或(注销/^D)”=Ctrl+b x另外,您也可以在退出(
^c
)终端中当前正在运行的程序后执行^D
或键入退出。