Tmux Plugin Manager (TPM) Setup
Intermediatev1.0.0
Install and configure TPM for tmux plugin management — essential plugins for session persistence, clipboard integration, status themes, and pane navigation.
Content
Overview
TPM (Tmux Plugin Manager) automates tmux plugin installation, updates, and cleanup. It's the standard way to extend tmux with community plugins for session persistence, better copy/paste, status bar themes, and Vim-tmux integration.
Why This Matters
- -One-command plugin install — prefix + I installs all listed plugins
- -Easy updates — prefix + U updates all plugins
- -Community ecosystem — hundreds of pre-built tmux extensions
- -Session persistence — survive reboots with tmux-resurrect
How It Works
Step 1: Install TPM
Step 2: Configure Plugins in tmux.conf
Step 3: Install Plugins
Step 4: Manage Plugins
Essential Plugin Stack
tmux-sensible (sane defaults)
tmux-resurrect (session save/restore)
tmux-continuum (auto save/restore)
vim-tmux-navigator (seamless pane navigation)
Best Practices
- -TPM init must be last line in tmux.conf — plugins won't load otherwise
- -Start with tmux-sensible — it sets sane defaults for everyone
- -Always use resurrect + continuum — session persistence is non-negotiable
- -Keep plugin count low — 5-8 plugins maximum
- -Source after changes:
tmux source-file ~/.tmux.conf
Common Mistakes
- -Putting TPM initialization before plugin list (nothing loads)
- -Forgetting to press prefix + I after adding new plugins
- -Not running
git clonefor TPM before first use - -Installing too many theme/status plugins that conflict
FAQ
Discussion
Loading comments...