# Ghostty config

# Set the shell to zsh
# This will be searched in the PATH so should find our custom install
command = zsh

# Font configuration
font-size = 18
font-family = MonaspiceKr NFM
font-thicken = true

# Set the theme
#theme = light:Catppuccin Latte,dark:Catppuccin Macchiato
theme = light:tangere-light.conf,dark:tangere-dark.conf

# Fix an issue when switching apps on macOS Ventura’s Stage Manager
background-opacity = 0.999

# Try to ensure readability of text
minimum-contrast = 1.1

# I got used to this behaviour on iTerm
copy-on-select = clipboard

# Open new tabs in the home directory
window-inherit-working-directory = false

# Make alt+{key} keyboard shortcuts work
# https://github.com/ghostty-org/ghostty/discussions/3483#discussioncomment-11716750
macos-option-as-alt = left

keybind = alt+left=unbind
keybind = alt+right=unbind
# Add shift+enter support
# https://github.com/anthropics/claude-code/issues/1282#issuecomment-3197940850
keybind = shift+enter=text:\x1b\r
