tmux
MX-01 // MULTIPLEXER
tmux lets you run multiple terminal sessions in a single window with split panes and session persistence.
Image not found
Image not found
Configuration
Section titled “Configuration”Config lives at ~/.config/tmux/tmux.conf.
Key Settings
Section titled “Key Settings”| Setting | Value |
|---|---|
| Prefix | Ctrl + Space (also Ctrl + B) |
| Base index | 1 (windows and panes) |
| Mouse | Enabled |
| Copy mode | Vi keybindings |
| Status bar | Top position, themed |
| Colors | 256 color with RGB overrides |
Key Bindings
Section titled “Key Bindings”All prefixed bindings require pressing Ctrl + Space first.
| Shortcut | Action |
|---|---|
| Prefix + h | Split horizontally |
| Prefix + v | Split vertically |
| Ctrl + Alt + Arrows | Navigate panes |
| Ctrl + Alt + Shift + Arrows | Resize panes |
| Prefix + x | Kill pane |
Windows
Section titled “Windows”| Shortcut | Action |
|---|---|
| Prefix + c | New window |
| Prefix + , | Rename window |
| Alt + 1-9 | Select window |
| Alt + Arrows | Navigate windows |
Sessions
Section titled “Sessions”| Shortcut | Action |
|---|---|
| Prefix + C | New session |
| Prefix + R | Rename session |
| Alt + Up/Down | Switch sessions |
Copy Mode
Section titled “Copy Mode”Enter copy mode with Prefix + [, then use Vi keys:
| Key | Action |
|---|---|
| v | Begin selection |
| y | Copy selection |
Customization
Section titled “Customization”Edit ~/.config/tmux/tmux.conf. The config uses Prefix + r to reload.
The bash alias t attaches to an existing session or creates a new one:
t # attach or new session