I'd like to switch directly to a pane in Tmux, by pane #.
How can I do this? I know how to cycle between panes, and move to panes that are beside the current pane.
I'd like to be able to run the display-panes
command, which shows the "pane #" on each pane, then later on jump directly to a pane using the pane #'s that were displayed by display-panes
.
Is this possible?
NOTE: And just to be clear, I don't mean window, I mean pane. Thanks!
Best Answer
You can jump directly to a pane by typing pane's index while it is showed by
display-panes
command.From
man tmux
:Or instead of typing command, you can use:
C-b
send prefix keyq
display panes indexes