美文网首页其他
tmux精美主题Dracula配置

tmux精美主题Dracula配置

作者: 追梦人在路上不断追寻 | 来源:发表于2022-10-18 21:45 被阅读0次

安装tpm插件管理器

Dracula tmux.png

首先下载tpm插件管理器

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

配置激活插件管理器

# 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 'github_username/plugin_name#branch'
# 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'

从新加载tmux配置

tmux source ~/.tmux.conf

安装Dracula

将Dracula插件配置添加到.tmux.conf文件中。

set -g @plugin 'dracula/tmux'
#其它配置
# available plugins: battery, cpu-usage, git, gpu-usage, ram-usage, network, network-bandwidth, network-ping, weather, time
set -g @dracula-plugins "cpu-usage gpu-usage ram-usage"
# 颜色配置
# available colors: white, gray, dark_gray, light_purple, dark_purple, cyan, green, orange, red, pink, yellow
# set -g @dracula-[plugin-name]-colors "[background] [foreground]"
set -g @dracula-cpu-usage-colors "pink dark_gray"
#状态栏配置
set -g @dracula-show-powerline true

更多的配置请查看官网:https://draculatheme.com/tmux

安装激活插件

Press prefix + I (capital i, as in Install) to fetch the plugin.

卸载插件

移除.tmux.conf中的插件配置文件。

通过快捷键卸载移除插件。

Press prefix + alt + u (lowercase u as in uninstall) to remove the plugin.

相关文章

网友评论

    本文标题:tmux精美主题Dracula配置

    本文链接:https://www.haomeiwen.com/subject/ftpszrtx.html