๐งฉ Tmux
Tmux is my terminal multiplexer of choice โ an essential tool for navigating and managing remote environments. Whether Iโm coding in a Proxmox VM or SSHโed into a Raspberry Pi from my main Arch Linux machine, Tmux gives me complete session control with a beautiful and productive interface.
๐ป How I Use Tmux
I use Tmux across all my VMs to persist sessions while switching contexts or disconnecting remotely. This means I can SSH into any dev machine, attach to a Tmux session, and instantly resume work โ whether Iโm writing code, running servers, or monitoring logs.
๐ My Typical Workflow
- Start a session for each project using
tmux new -s project-name
- Split panes vertically & horizontally to run frontend/backend/database servers in parallel
- Detach from session using
Ctrl + B, D
and reattach later from any device - Use Tmux inside SSH from VSCode for consistent terminal state across reboots
๐จ Custom Theme & Looks
I've customized my .tmux.conf
to improve visibility, aesthetics, and key bindings. My setup includes:
- ๐งช A minimal status bar with Git branch info and CPU/memory usage
- ๐ฏ Color-coded pane borders and active window highlights
- ๐ Fast window switching with intuitive keybinds
I use the Gpakosz Tmux config as a base and tweak it to match my dark terminal themes across machines.
set-option -g mouse on
setw -g mode-keys vi
set -g status-bg colour234
set -g status-fg white
bind r source-file ~/.tmux.conf \; display 'Reloaded!'
๐ฆ Favorite Tmux Plugins
- Tmux Plugin Manager (TPM) โ Easy plugin management
- tmux-sensible โ Best default settings
- tmux-resurrect โ Save & restore sessions