If you spend any time in Linux terminals, tmux will change how you work. This video covers everything from basic pane splits to plugin management, session persistence, and VS Code integration ā with a special appearance by Ned the Alligator.
šŗ Watch on YouTube
What's Covered
- Installing tmux and navigating panes and windows
- Sessions ā detach, reconnect, and survive dropped connections
- The
~/.tmux.confconfig file and mouse support - Plugins: TPM, tmux-resurrect, tmux-sensible, and Dracula theme
- A reusable workspace template script
- VS Code / VSCodium terminal integration
tmux Keyboard Shortcuts
All shortcuts use the default prefix Ctrl+b (release before the next key).
| Shortcut | Action |
|---|---|
Ctrl+b then % |
Split pane left-right |
Ctrl+b then " |
Split pane up-down |
Ctrl+b then arrow key |
Navigate panes |
Ctrl+b then z |
Toggle pane fullscreen |
Ctrl+b then c |
New window |
Ctrl+b then w |
List/switch windows |
Ctrl+b then 0, 1, 2 |
Switch to window by number |
Ctrl+b then , |
Rename window |
Ctrl+b then Ctrl+z |
Simulate dropped connection |
Ctrl+b then d |
Detach session |
Ctrl+b then q |
Show pane numbers |
Ctrl+b then Shift+I |
Install plugins (TPM) |
Ctrl+b then Shift+R |
Reload config (tmux-sensible) |
Ctrl+b then Ctrl+s |
Save sessions (tmux-resurrect) |
Ctrl+b then Ctrl+r |
Restore sessions (tmux-resurrect) |
Ctrl+b then [ |
Enter copy mode |
Ctrl+b then ] |
Paste inside tmux |
Links
š Linux Networking & Security Video Course
Free 10-day trial available:
Linux Networking and Security ā O'Reilly