Ghostty
外观
项目网站:Ghostty 是一个快速、功能丰富、跨平台的 终端模拟器,它使用平台原生 UI 和 GPU 加速。
安装
安装 ghostty 包。
配置
注意 请参阅 ghostty(5) 或 Ghostty 官方文档 以获得更深入的了解。
配置文件 config 按以下顺序从这些位置加载。配置是可选的,如果找不到配置文件,Ghostty 将使用其默认设置。
$XDG_CONFIG_HOME/ghostty/config- 如果未定义 XDG_CONFIG_HOME,则为
$HOME/.config/ghostty/config
完整的默认配置,ghostty +show-config --default --docs。最好使用 less 命令查看。
$ ghostty +show-config --default --docs | less
基本语法
# The syntax is "key = value". The whitespace around the # equals does not matter. background = 282c34 background=282c34 background =282c34 background= 282c34 # Comments start with a `#` # Empty values reset the configuration to the default value font-family =
字体
font-size = 15 font-family = "Monospace" font-family-bold = "Monospace"