Resize the pane in tmux
In tmux, press Ctrl+B Ctrl+↑ or Ctrl+B Ctrl+↓ or Ctrl+B Ctrl+← or Ctrl+B Ctrl+→ on Mac, Linux.
EscF1F2F3F4F5F6F7F8F9F10F11F12PrtScScrLkPause
`1234567890-=deleteInsHomePgUp
TabQWERTYUIOP[]\DelEndPgDn
CapsASDFGHJKL;'return
ShiftZXCVBNM,./Shift↑
fnctrloptcmdcmdopt←↓→
EscF1F2F3F4F5F6F7F8F9F10F11F12PrtScScrLkPause
`1234567890-=BkspInsHomePgUp
TabQWERTYUIOP[]\DelEndPgDn
CapsASDFGHJKL;'Enter
ShiftZXCVBNM,./Shift↑
CtrlSuperAltAltSuperMenuCtrl←↓→
See it happen Press the shortcut above, or
More tmux shortcuts: panes
| Action | Mac | Linux |
|---|---|---|
| Split the pane left and right | CtrlB,Shift5 | CtrlB,Shift5 |
| Split the pane top and bottom | CtrlB,Shift' | CtrlB,Shift' |
| Move to the pane in a direction | CtrlB,←orCtrlB,→orCtrlB,↑orCtrlB,↓ | CtrlB,←orCtrlB,→orCtrlB,↑orCtrlB,↓ |
| Next pane | CtrlB,O | CtrlB,O |
| Last used pane | CtrlB,; | CtrlB,; |
| Zoom or unzoom the pane | CtrlB,Z | CtrlB,Z |
| Kill the pane | CtrlB,X | CtrlB,X |
| Show pane numbers | CtrlB,Q | CtrlB,Q |
| Swap with the next pane | CtrlB,Shift] | CtrlB,Shift] |
| Swap with the previous pane | CtrlB,Shift[ | CtrlB,Shift[ |