Command | Description |
---|---|
tmux new -s NAME |
Create new tmux session |
tmux ls |
List all sessions started on the machine/user |
tmux a -t NAME |
Reattach a tmux session |
tmux kill-session -t NAME |
Terminate session |
Command | Description |
---|---|
[ctrl + b] [d] | Detach from the current session. Executed from inside the session |
[ctrl + b] [%] | Create a new pane (Split Vertically) |
[ctrl + b] ["] | Create a new pane (Split Horizantally) |
[ctrl + b] [x] | Kill pane |
[ctrl + b] [ARROWS] | Navigate between panes |
[ctrl + b] [o] | Swap panes |
[ctrl + b] [SPACE] | Toggle between layouts |
[ctrl + b] [c] | Create window |
[ctrl + b] [w] | List windows |
[ctrl + b] [n] | Next window |
[ctrl + b] [0-9] | Select window |
[ctrl + b] [p] | Previous window |
[ctrl + b] [&] | Kill window |
[ctrl + b] [ [ ] | Scroll mode, to quit press q |