Introduction
"<C-b>" stands for the key combination "Ctrl+b".
Session Management
Command | Explanation |
---|
<C-b>s | List sessions |
<C-b>$ | Name sessions |
Window Management
Command | Explanation |
---|
<C-b>c | Create new window |
<C-b>n | Go to next window |
<C-b>p | Go to previous window |
<C-b>[i] | Go to [i] window |
<C-b>' | Select the window index |
<C-b>w | Interactive index to choose window (0-9a-z) |
<C-b>f | Find window by name |
<C-b>l | Go to last used window |
<C-b>. | Interactively move window |
<C-b>, | Rename current window |
<C-b>& | Kill current window |
Pane Management
Command | Explanation |
---|
<C-b>" | Split vertically |
<C-b>% | Split horizontally |
Moving between panes
Command | Explanation |
---|
|
<C-b>[β|β|β|β] | Move through panes |
<C-b>o | Go to next pane (cycle) |
<C-b>; | Go to last used pane |
Resizing panes
Command | Explanation |
---|
<C-b> Esc+[β|β|β|β] | Change size of active pane |
<C-b> Alt+[β|β|β|β] | Change size of active pane |
Links
Permalink: https://hanez.org/document/tmux-cheat-sheet/