Last active
March 27, 2026 14:30
-
-
Save yxjxx/c1fe1b2136e850cb4baaf73413f63c51 to your computer and use it in GitHub Desktop.
Ghostty Terminal Configuration
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 = 26 | |
| 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:cmd+shift+period=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