Bde*_*ing 1 linux console fonts tmux
我最近开始使用 tmux 并一直致力于对其进行配置。安装catppuccin 主题后,屏幕底部的一些符号无法正确显示。
我在流行操作系统上运行敏捷。我尝试重新配置我的配置文件,重新加载 tmux,使用 -u 标志启动 tmux(根据这篇文章解决类似问题),并通过 gnome 终端启动 tmux,但无济于事。
这是我的 tmux.conf:
# Set ture color
set-option -sa terminal-overrides ",xterm*:Tc"
# Set prefix
unbind C-b
set -g prefix C-Space
bind C-Space send-prefix
# Shift Alt vim keys to switch windows
bind -n M-H previous-window
bind -n M-L next-window
# List of plugins
set -g @tpm_plugins ' \
tmux-plugins/tpm \
tmux-plugins/tmux-sensible \
christoomey/vim-tmux-navigator \
catppuccin/tmux \
'
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'
set-environment -g TMUX_PLUGIN_MANAGER_PATH '~/.tmux/plugins/'
Run Code Online (Sandbox Code Playgroud)
更新:我现在使用“Fira Code Nerd Font”,我的 tmux 如下所示:
小智 5
看来你没有安装合适的字体。根据其文档:
In order to have the correct icons displayed please use your favorite nerd fonts patched font.
Run Code Online (Sandbox Code Playgroud)
您可以到这里下载并安装您喜欢的字体。一些流行的字体有 FiraCode、MesloLG、Iosevka。
| 归档时间: |
|
| 查看次数: |
2228 次 |
| 最近记录: |