Emulate Vim’s C-w
in tmux, making pane navigation really snazzy.
Keys | Meaning |
---|---|
@ctrlw_key 0-9 |
Focus the numbered pane in the current window |
@ctrlw_key = |
Equalize the pane sizes |
@ctrlw_key | |
Split pane vertically |
@ctrlw_key - |
Split pane horizontally |
@ctrlw_key h |
Focus one pane to the left |
@ctrlw_key j |
Focus one pane to the down |
@ctrlw_key k |
Focus one pane to the up |
@ctrlw_key l |
Focus one pane to the right |
@ctrlw_key p |
Focus the previously focused pane |
@ctrlw_key s 0-9 |
Swap this pane with the numbered pane |
@ctrlw_key s p |
Swap this pane with previously focused pane |
@ctrlw_key r |
Focus the REPL or shell pane ( |
@ctrlw_key , |
Repeat last REPL or shell command by sending C-p Enter to |
@ctrlw_key . |
Send @ctrlw_key |
@ctrlw_key @ctrlw_key |
Send @ctrlw_key |
@ctrlw_key unmodified-@ctrlw_key |
Send @ctrlw_key. e.g. if |
@ctrlw_key
defaults to C-w but can be set to any other key.
@ctrlw_repl_pane
defaults to {bottom-right}
but can be set to any tmux pane
identifier.