ghostty配置1
05-25 发布 | 08-17 更新 | 浏览数 30
AI 摘要
Boost Your Terminal Experience! Install and configure JetBrains Mono Nerd Font, btop, starship, and fastfetch for a sleek and efficient workflow. Dive into the world of Catppuccin Mocha theme and optimize your terminal settings for a more productive coding experience.
brew install --cask font-jetbrains-mono-nerd-font
brew install btop starship fastfetch
# ============================================
# 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
# 重载快捷键:Cmd + Shift + ,
# ============================================
# --- Typography ---
#font-family = Maple Mono NF CN
#font-family = JetBrainsMono Nerd Font
font-family = JetBrainsMono Nerd Font Mono
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
confirm-close-surface = always
