apple
batterywifiFri, September 19 10:15 AM

๐Ÿงฉ 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.

# Sample from my .tmux.conf
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

๐Ÿ”— Useful Links

mailmailmailtwitter
mailsettings