Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to close tab in tmux?

Tags:

terminal

tmux

Is there a shortcut key to close a tab?
I'm asking for something like creating a tab CTRL b + c
What shortcut should I use if I would like to close the 1:cmatrix* tab? enter image description here

like image 956
Cristian Avatar asked Oct 08 '15 17:10

Cristian


People also ask

How do I kill a session in tmux?

Kill Tmux sessions. To kill when attached, press Ctrl+b and x . Hit "y" to kill the session.


1 Answers

I think this is what you are looking for: http://www.dayid.org/os/notes/tm.html

Specifically this part:

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
like image 174
Webbies Avatar answered Sep 30 '22 07:09

Webbies