Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/vb6/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Terminal 如何关闭tmux中的选项卡?_Terminal_Tmux - Fatal编程技术网

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
或键入
退出