Created
May 15, 2026 08:06
-
-
Save coderxin/3075dd56219a7460e35455e89a8fd6ee to your computer and use it in GitHub Desktop.
Ghostty 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 = JetBrainsMonoNerdFont | |
| font-size = 14 | |
| font-thicken = true | |
| adjust-cell-height = 2 | |
| # --- Theme and Colors --- | |
| # Catppuccin with automatic light/dark switching | |
| theme = light:Catppuccin Latte,dark: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 | |
| # --- 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) --- | |
| # Activate with the global keybind configured below | |
| 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