Basic Operation
To launch tmux session, use
1 | tmux new -s <SESSION_NAME> |
To detach from tmux session, press CTRL B + D (Detach)
To re-attach to an existing tmux session, use
1 | tmux attach -t <SESSION_NAME> |
Splitting Window
To split windows, we mainly have 2 operations:
- CTRL B + %: Split left and right
- CTRL B + ": Split up and down
- CTRL B + <ArrowKey>: Switch between panels
- CTRL B + x: Close current panel