dotfiles/data/kitty/kitty.conf

67 lines
1.7 KiB
Plaintext

# https://github.com/catppuccin/kitty
include mocha.conf
# https://sw.kovidgoyal.net/kitty/conf/#fonts
font_family Iosevka Pacman Regular
bold_font Iosevka Pacman Bold
italic_font Iosevka Pacman Italic
bold_italic_font Iosevka Pacman Bold Italic
font_size 16.0
modify_font cell_height 120%
# 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
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
window_padding_width 8
enabled_layouts splits:split_axis=horizontal
# https://sw.kovidgoyal.net/kitty/conf/#tab-bar
tab_bar_align center
tab_bar_style powerline
tab_powerline_style round
# https://sw.kovidgoyal.net/kitty/conf/#color-scheme
background_opacity 0.95
background_blur 32
# https://sw.kovidgoyal.net/kitty/conf/#advanced
allow_remote_control yes
listen_on unix:$TMPDIR/kitty
# 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/actions/
action_alias launch_tab launch --cwd=oldest --type=tab --location=neighbor
map kitty_mod+t launch_tab
map super+t launch_tab
map kitty_mod+e open_url_with_hints
map super+e open_url_with_hints
# Sync with Zellij
map alt+n launch --cwd=oldest --location=vsplit
map alt+m launch --cwd=oldest --location=hsplit
map alt+p next_window
map alt+[ previous_tab
map alt+] next_tab
# Remove default
map cmd+r no_op