XuLaLa.Tech

首页客户端下载Windows 使用V2Ray 教程SSR 教程Clash 教程

tpm: tmux插件管理器

2025.04.09

在使用iterm2或者terminal终端时,都会配合tmux一起使用,如果再tmux插件,你的tmux就会想VIM成为神之工具,极大的提供你的生产效率,tpm是一款很好的tmux插件管理器,有了它你的tmux插件安装管理将会非常方便。

安装

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

在~/.tmux.conf中新增以下配置:

# 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 '[email protected]:user/plugin'
# set -g @plugin '[email protected]:user/plugin'
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'
重新加载tmux.conf配置文件
$ tmux source ~/.tmux.conf

安装插件

  • 将新插件添加到~/。tmux.conf公司使用set-g@plugin’…’
  • 按prefix+I(如Install中的大写字母I)安装插件

awesome插件推荐

  • tmux copycat-一个插件,用于在tmux中搜索regex和快速匹配选择
  • tmux yank-允许将突出显示的文本复制到系统剪贴板
  • tmuxopen-一个快速打开突出显示的文件或url的插件
  • tmux continuum-自动恢复和连续保存tmux env
© 2010-2022 XuLaLa 保留所有权利 本站由 WordPress 强力驱动
请求次数:69 次,加载用时:0.665 秒,内存占用:32.19 MB