我常用的ghostty配置
05-25 发布 | 08-17 更新 | 浏览数 31
AI 摘要
Ghostty配置文件:优化终端体验,提升工作效率。探索主题、字体、颜色等个性化设置,提升终端美观度。
# ============================================
# https://ghostty.zerebos.com
# https://www.nodeseek.com/post-653184-1
# https://github.com/BruceLanLan/bruceblue-ghostty-config
# https://x.com/BruceBlue/status/2032703807189299694
# https://zhuanlan.zhihu.com/p/2016625071427428917
# https://juejin.cn/post/7616681500684419099
# 重载快捷键:Cmd + Shift + ,
# ============================================
# --- Typography ---
font-family = Maple Mono NF CN
#font-family = JetBrainsMono Nerd Font
font-size = 14
font-thicken = true
#font-feature = calt
#font-feature = liga
adjust-cell-height = 2
# --- Theme and Colors ---
theme = Catppuccin Mocha
# --- Window and Appearance ---
background-opacity = 0.9
background-blur-radius = 20
macos-titlebar-style = transparent
window-padding-x = 10
window-padding-y = 8
window-save-state = always
window-theme = auto
window-colorspace = display-p3
# --- Cursor ---
cursor-style = bar
cursor-style-blink = true
cursor-opacity = 0.8
# --- Mouse ---
mouse-hide-while-typing = true
copy-on-select = clipboard
# --- Quick Terminal ---
quick-terminal-position = top
quick-terminal-screen = mouse
quick-terminal-autohide = true
quick-terminal-animation-duration = 0.15
# --- Security ---
clipboard-paste-protection = true
clipboard-paste-bracketed-safe = true
# --- Shell Integration ---
shell-integration = zsh
# --- Performance ---
scrollback-limit = 25000000
keybind = global:ctrl+grave_accent=toggle_quick_terminal
term = xterm-256color
