# https://github.com/catppuccin/kitty
include mocha.conf

# https://sw.kovidgoyal.net/kitty/conf/#fonts
font_family mononoki
font_size 16.0
# kitty +list-fonts --psnames
font_features mononoki-Bold +ss01
font_features mononoki-BoldItalic +ss01
font_features mononoki-Italic +ss01
font_features mononoki-Regular +ss01

# https://sw.kovidgoyal.net/kitty/conf/#cursor-customization
cursor_shape beam
cursor_blink_interval 0

# https://sw.kovidgoyal.net/kitty/conf/#scrollback
scrollback_pager_history_size 16

# https://sw.kovidgoyal.net/kitty/conf/#mouse
copy_on_select yes
strip_trailing_spaces smart

# https://sw.kovidgoyal.net/kitty/conf/#terminal-bell
enable_audio_bell no

# https://sw.kovidgoyal.net/kitty/conf/#window-layout
remember_window_size  no
initial_window_width  720
initial_window_height 480

# https://sw.kovidgoyal.net/kitty/conf/#tab-bar
tab_bar_align center

# https://sw.kovidgoyal.net/kitty/conf/#color-scheme
background_opacity 0.9

# https://sw.kovidgoyal.net/kitty/conf/#advanced
shell_integration disabled

# https://sw.kovidgoyal.net/kitty/conf/#os-specific-tweaks
macos_option_as_alt both
macos_quit_when_last_window_closed yes

# https://sw.kovidgoyal.net/kitty/conf/#keyboard-shortcuts
# https://sw.kovidgoyal.net/kitty/conf/#all-mappable-actions
map kitty_mod+t launch --cwd=oldest --type=tab --location=neighbor
map super+t launch --cwd=oldest --type=tab --location=neighbor
map kitty_mod+e open_url_with_hints
map super+e open_url_with_hints
