Skip to content

Instantly share code, notes, and snippets.

@jahrmando
Last active April 15, 2026 19:28
Show Gist options
  • Select an option

  • Save jahrmando/071bdfbe8694561a51592158d903b59a to your computer and use it in GitHub Desktop.

Select an option

Save jahrmando/071bdfbe8694561a51592158d903b59a to your computer and use it in GitHub Desktop.
My ghostty config
# Ghostty Terminal Configuration
# Converted from Kitty configuration - Minimal Working Version
# Fonts
font-family = "Hack Nerd Font Mono"
font-size = 13
# System settings
shell-integration = "none"
term = "xterm-256color"
# macOS specific settings
macos-titlebar-style = "native"
macos-option-as-alt = false
# Window appearance
window-decoration = true
window-padding-x = 2
window-padding-y = 2
background-opacity = 0.98
# Mouse settings
mouse-hide-while-typing = true
copy-on-select = true
# Basic keybindings (simplified - no complex sequences)
# Scrolling
keybind = "ctrl+u=scroll_page_up"
keybind = "ctrl+d=scroll_page_down"
# Tab management
keybind = "cmd+t=new_tab"
keybind = "cmd+w=close_tab"
# Window management (simplified keybinds without ctrl+a sequences)
keybind = "cmd+shift+l=new_split:right"
keybind = "cmd+shift+k=new_split:down"
keybind = "cmd+shift+w=close_surface"
# Split navigation
keybind = "shift+left=goto_split:left"
keybind = "shift+right=goto_split:right"
keybind = "shift+up=goto_split:up"
keybind = "shift+down=goto_split:down"
# Font size controls
keybind = "cmd+plus=increase_font_size:2"
keybind = "cmd+equal=increase_font_size:2"
keybind = "cmd+minus=decrease_font_size:2"
keybind = "cmd+0=reset_font_size"
# Other shortcuts
keybind = "cmd+shift+f=toggle_fullscreen"
# Copy/paste
keybind = "cmd+c=copy_to_clipboard"
keybind = "cmd+v=paste_from_clipboard"
# Disable problematic default keybindings
keybind = "ctrl+u=ignore"
keybind = "cmd+enter=ignore"
# Color scheme (One Dark inspired)
background = "282c34"
foreground = "abb2bf"
cursor-color = "abb2bf"
selection-background = "3e4451"
selection-foreground = "abb2bf"
# Standard colors (0-7)
palette = "0=#1e2127"
palette = "1=#e06c75"
palette = "2=#98c379"
palette = "3=#e5c07b"
palette = "4=#61afef"
palette = "5=#c678dd"
palette = "6=#56b6c2"
palette = "7=#abb2bf"
# Bright colors (8-15)
palette = "8=#5c6370"
palette = "9=#e06c75"
palette = "10=#98c379"
palette = "11=#e5c07b"
palette = "12=#61afef"
palette = "13=#c678dd"
palette = "14=#56b6c2"
palette = "15=#ffffff"
# Additional settings
confirm-close-surface = true
quit-after-last-window-closed = false
@jahrmando
Copy link
Copy Markdown
Author

Font requirements for MacOs

brew install font-hack-nerd-font

Instalation

cd ~/.config/
git clone https://gist.github.com/[HASH VERSION].git ghostty

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment