Last active
June 29, 2026 07:27
-
Star
(109)
You must be signed in to star a gist -
Fork
(38)
You must be signed in to fork a gist
-
-
Save zhangchitc/7dead7c1b517390e061e07759ed80277 to your computer and use it in GitHub Desktop.
my ghostty config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # ============================================ | |
| # Ghostty Terminal - Complete Configuration | |
| # ============================================ | |
| # File: ~/.config/ghostty/config | |
| # Reload: Cmd+Shift+, (macOS) | |
| # View options: ghostty +show-config --default --docs | |
| # --- Typography --- | |
| font-family = "Maple Mono NF CN" | |
| font-size = 14 | |
| font-thicken = true | |
| adjust-cell-height = 2 | |
| # --- Theme and Colors --- | |
| # Catppuccin with automatic light/dark switching | |
| theme = Catppuccin Mocha | |
| # --- Window and Appearance --- | |
| background-opacity = 0.85 | |
| background-blur-radius = 30 | |
| macos-titlebar-style = transparent | |
| window-padding-x = 10 | |
| window-padding-y = 8 | |
| window-save-state = always | |
| window-theme = auto | |
| # --- Cursor --- | |
| cursor-style = bar | |
| cursor-style-blink = true | |
| cursor-opacity = 0.8 | |
| # --- Mouse --- | |
| mouse-hide-while-typing = true | |
| copy-on-select = clipboard | |
| # --- Quick Terminal (Quake-style dropdown) --- | |
| 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 = detect | |
| # --- Keybindings --- | |
| # Tabs | |
| keybind = cmd+t=new_tab | |
| keybind = cmd+shift+left=previous_tab | |
| keybind = cmd+shift+right=next_tab | |
| keybind = cmd+w=close_surface | |
| # Splits | |
| keybind = cmd+d=new_split:right | |
| keybind = cmd+shift+d=new_split:down | |
| keybind = cmd+alt+left=goto_split:left | |
| keybind = cmd+alt+right=goto_split:right | |
| keybind = cmd+alt+up=goto_split:top | |
| keybind = cmd+alt+down=goto_split:bottom | |
| # Font size | |
| keybind = cmd+plus=increase_font_size:1 | |
| keybind = cmd+minus=decrease_font_size:1 | |
| keybind = cmd+zero=reset_font_size | |
| # Quick terminal global hotkey | |
| keybind = global:ctrl+grave_accent=toggle_quick_terminal | |
| # Splits management | |
| keybind = cmd+shift+e=equalize_splits | |
| keybind = cmd+shift+f=toggle_split_zoom | |
| # Reload config | |
| keybind = cmd+shift+comma=reload_config | |
| # --- Performance --- | |
| # Generous scrollback (25MB) | |
| scrollback-limit = 25000000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
好看