add ghostty config

This commit is contained in:
Gabriel Augendre 2024-12-28 11:15:35 +01:00
parent acd7eb62f0
commit f7b0fd2bef
2 changed files with 26 additions and 0 deletions

View file

@ -1,3 +1,5 @@
test -n "$GHOSTTY_RESOURCES_DIR"; and source $GHOSTTY_RESOURCES_DIR/shell-integration/fish/vendor_conf.d/ghostty-shell-integration.fish
{{- if (get . "brew") }}
{{- if eq .chezmoi.os "darwin" }}
{{- if (get . "sudo") }}

24
dot_config/ghostty/config Normal file
View file

@ -0,0 +1,24 @@
# appearance
theme = light:catppuccin-latte,dark:catppuccin-mocha
cursor-style-blink = false
cursor-invert-fg-bg = true
# font
font-family = MonoLisa Nerd Font
font-size = 17
adjust-cell-width = -10%
# size
window-height = 300
window-width = 300
# features
copy-on-select = true
shell-integration-features = sudo,title,no-cursor
# keybinds
keybind = global:cmd+shift+space=toggle_quick_terminal
# fix "git" arrows in prompt, see https://github.com/ghostty-org/ghostty/discussions/3541
font-codepoint-map = U+21E1-U+21E3=Menlo