# replace the default prefix key [Ctrl-b] with [Ctrl-a] set -g prefix C-a unbind C-b bind C-a send-prefix
| key | usage |
|---|---|
| sessions | |
| d | detach from current session |
| s | list sessions |
| $ | rename current session, you're probably looking for a means to rename the current window |
| windows | |
| 0 to 9 | select window 0 to 9 |
| c | create new window |
| n | go to the next window |
| p | go to the previous window |
| w | list windows |
| " | split vertically 𑨚 |
| % | split horizontally 𑨑 |
| & | kill current window |
| , | rename current window |
| others | |
| ? | list hotkeys |
what groups windows
screen
screenabove is actually the terminal window
| i.e. there are ... panes | and the splitting line is | |
|---|---|---|
| vertically | top and bottom | horizontal |
| horizontally | left and right | vertical |
attach attach to a session -t sessionName attach to session 'sessionName' new create a new session -s sessionName create a named session -n windowName create a new window named 'windowName'
| anonymous session | named session | comments | |
|---|---|---|---|
| start session | tmux new [other options] | tmux new -s sessionName [other options] | new is an alias for new-session |
| attach to session | tmux a | tmux a -t sessionName | a is an alias for attach / attach-session |