prefix refers to CTRL-b by default.
- Create a new tmux session named session_name:
tmux new -s session_name- Attach to an existing tmux session named session_name:
tmux a -t session_name- Switch to an existing session named session_name:
tmux switch -t session_name- List existing tmux sessions: prefix sor
tmux ls- Detach the currently attached session: prefix dor
tmux detach- Kill an existing tmux session named session_name:
tmux kill-session -t session-name- Rename the current session to session_name:prefix $or
tmux rename-session -t session_name- Create a new window: prefix c
- Move to the next window: prefix n
- Move to the previous window: prefix p
- Rename the current window: prefix ,
- Select windows 0 through 9: prefix 0-9
- List windows: prefix w
- Kill the current window: prefix &
- Create a horizontal pane: prefix %
- Create a vertical pane: prefix "
- Switch to next pane: prefix o
- Move  between panes: prefix arrow-keys
- Enable scrolling: prefix [
- Toggle fullscreen: prefix z
- Resize pane: hold prefix arrow-keys
- Swap with next pane: prefix }
- Swap with previous pane: prefix {
- Kill the current pane: prefix x
- Enter copy mode: prefix [
- Start selection: CTRL-Space
- Copy into tmux clipboard: ALT-w
- Paste from tmux clipboard: prefix ]