Pane ManagementPrefix + arrow keys, or Prefix + o to cycle
select-pane
Short form: selectp
Select a pane. Various flags allow selecting panes by direction or marking them.
Synopsis
bash
tmux select-pane [-DdeLlMmRUZ] [-T title] [-t target-pane]Options
| Flag | Description |
|---|---|
| -D | Select pane below |
| -U | Select pane above |
| -L | Select pane to the left |
| -R | Select pane to the right |
| -l | Select last (previously active) pane |
| -m | Mark the current pane |
| -M | Clear the marked pane |
| -t target-pane | Select specified pane |
Examples
Select pane to the left
bash
tmux select-pane -LSelect pane below
bash
tmux selectp -DSelect pane 1
bash
tmux selectp -t 1Select last active pane
bash
tmux selectp -lDefault Keybinding
Prefix + arrow keys, or Prefix + o to cycle
Default prefix is Ctrl+b
Pro Tips
- •Prefix + o cycles through panes in order
- •Prefix + ; goes to the last active pane
- •Consider vim-tmux-navigator for seamless vim integration