tmux 安装配置主题

作者: dreamfly 分类: linux,vim 发布时间: 2021-10-26 12:11

窗口管理工具tmux是可以配置主题的,配置之前,首先需要安装插件管理器

下载插件管理工具tpm

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

安装tpm

修改tmux配置文件.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 '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'

激活插件tpm

进入tmux环境,重新导入配置文件

tmux source ~/.tmux.conf

安装主题

讲下面的配置添加到配置文件中

set -g @dracula-plugins "cpu-usage gpu-usage ram-usage"

如果觉得我的文章对您有用,请随意打赏。您的支持将鼓励我继续创作!

评论已关闭!