tmux Plugins and Productivity Setup

tmux plugin manager patterns, TPM setup, and common plugin snippets for restoring sessions, sensible defaults, and clipboard workflows.

View
StandardDetailedCompact
Export
Copy the compact sheet, download it, or print it.
Download
`D` dense toggle · `C` copy all

Plugin manager basics

Popular tmux plugin manager setup and lifecycle patterns.

Add TPM to the plugin list

Declare the tmux plugin manager in config.

tmuxANYtmuxpluginstpm
tmux
set -g @plugin "tmux-plugins/tpm"
Notes

TPM is a popular way to manage tmux plugins.

Add sensible defaults plugin

Load opinionated defaults.

tmuxANYtmuxpluginstpm
tmux
set -g @plugin "tmux-plugins/tmux-sensible"
Notes

A simple first plugin for better defaults.

Bootstrap TPM from config

Initialize TPM at the bottom of .tmux.conf.

tmuxANYtmuxpluginsbootstrap
tmux
run "~/.tmux/plugins/tpm/tpm"
Notes

TPM typically expects this run line near the end of the config.

Clone TPM

Install the plugin manager itself.

bashANYtmuxpluginsgit
bash
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
Notes

Clone TPM before reloading tmux or using its key bindings.

Recommended next

No recommendations yet.