For example, I have three panes in a window with tmux. Now my cursor is in the second pane. If I use:
C-b o
I can move to the third pane.
But I want to move to the first pane on the second pane. How to do?
It can list all the panes in one window:
C-b q
It will show: 0, 1, 2
Is there any key I can press to go to the special pane number? If there is, I can switch to the first pane in a short way, too.
Tmux uses the keybinding 'Prefix' followed by 'Ctrl+o' to cycle around the panes. When you use this key-binding for the first time, it moves the pane in one position clockwise.
Key binding By default, Ctrl + b , ! would break the active pane into a new window and switch to it. Where Ctrl + b is the default prefix for tmux.
ctrl-b, <arrow key> switch to the pane in whichever direction you press. ctrl-b, d. detach from tmux, leaving everything running in the background.
Copied from @lyuboslav-kanev
prefix + ;
worked perfectly for me.
prefix + l
switch to last windowprefix + L
switch to last session
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With