Tmux Plugin Manager (tpm) 是用来安装和加载 tmux 插件的插件...
Install
Download
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
Config
vi ~/.tmux.conf
在文件底部追加以下内容:
# List of plugins |
Reload
tmux source ~/.tmux.conf
Usage
Add new plugin
Add new plugin to ~/.tmux.conf
with set -g @plugin '...'
输入 prefix + I 来执行安装
Uninstalling plugins
- Remove (or comment out) plugin line from the list (
~/.tmux.conf
). - Press prefix + alt + u (lowercase u as in uninstall) to remove the plugin.
All the plugins 被安装到 ~/.tmux/plugins/
, 所以 alternatively 你可以找到 plugin 对应目录并移除它.