til

Today I Learned: collection of notes, tips and tricks and stuff I learn from day to day working with computers and technology as an open source contributor and product manager

View project on GitHub

Use Tmux Plugin Manager

Tmux Plugin Manager extends your tmux capabilities

Installation is via GitHub:

$ git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm

Add the following to your ~/.tmux.config:

# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'

# Other examples:
# set -g @plugin 'github_username/plugin_name'
# set -g @plugin 'git@github.com:user/plugin'
# set -g @plugin 'git@bitbucket.com:user/plugin'

# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'

Source your newly updated configuration

$ tmux source ~/.tmux.conf

To install, in tmux you do:

prefix + I (capital i, as in Install) to fetch the plugin, this also refreshes the tmux environment

And later to update from tmux do:

prefix + U

Of noticable plugins I can mention:

Or check this repository of plugins

Resources and References

  1. GitHub repository for tpm
  2. GitHub plugin repository