Skip to content

Tmux

tmux is a terminal multiplexer. It enables a number of terminals to be created, accessed, and controlled from a single screen.

Installation

Install instructions

Install tmux on Ubuntu:

sudo apt install tmux

Install tmux on MacOS:

brew install tmux

Setup the tmux plugin manager if it is not already installed:

rm -rf $HOME/.tmux/plugins/tpm  || true
rm -rf $HOME/.config/tmux/plugins/tpm || true
git clone https://github.com/tmux-plugins/tpm $HOME/.config/tmux/plugins/tpm

Run this while in a tmux session

tmux source $HOME/.config/.tmux.conf
# Install tmux plugins.
$HOME/.config/tmux/plugins/tpm/scripts/install_plugins.sh

Plugins

The plugin manager is tpm.

Name Purpose Dependencies Notes
tmux-logging Looging of all outputs in the current pane ✔️
tmux-pain-control Controlling and navigating panes ✔️
tmux-resurrect Persists tmux environment across system restarts ✔️
tmux-sensible A set of sensible default options ✔️
tmux-yank Copy to the system clipboard xsel ✔️
tmux-continuum Continuous saving of tmux environment. Automatic restore when tmux is started. Automatic tmux start when computer is turned on. tmux-resurrect ✔️
vim-tmux-navigator Seamless navigation between vim panes and tmux splits ✔️
tmux-gruvbox Gruvbox color scheme for Tmux ✔️