dotfiles/data/kitty/kitty.conf

118 lines
3.9 KiB
Plaintext

# https://github.com/catppuccin/kitty
include mocha.conf
# https://sw.kovidgoyal.net/kitty/conf/#fonts
font_family Cartograph CF Regular
bold_font Cartograph CF Bold
italic_font Cartograph CF Regular Italic
bold_italic_font Cartograph CF Bold Italic
font_size 14.0
# https://github.com/ryanoasis/nerd-fonts/wiki/Glyph-Sets-and-Code-Points
# Seti-UI + Custom
symbol_map U+E5FA-U+E6B5 Symbols Nerd Font Mono
# Devicons
symbol_map U+E700-U+E7C5 Symbols Nerd Font Mono
# Font Awesome
symbol_map U+ED00-U+F2FF Symbols Nerd Font Mono
# Font Awesome Extension
symbol_map U+E200-U+E2A9 Symbols Nerd Font Mono
# Material Design Icons
symbol_map U+F0001-U+F1AF0 Symbols Nerd Font Mono
# Weather
symbol_map U+E300-U+E3E3 Symbols Nerd Font Mono
# Octicons
symbol_map U+F400-U+F533,U+2665,U+26A1 Symbols Nerd Font Mono
# Powerline Symbols
symbol_map U+E0A0-U+E0A2,U+E0B0-U+E0B3 Symbols Nerd Font Mono
# Powerline Extra Symbols
symbol_map U+E0A3,U+E0B4-U+E0C8,U+E0CA,U+E0CC-U+E0D7 Symbols Nerd Font Mono
# IEC Power Symbols
symbol_map U+23FB-U+23FE,U+2B58 Symbols Nerd Font Mono
# Font Logos
symbol_map U+F300-U+F375 Symbols Nerd Font Mono
# Pomicons
symbol_map U+E000-U+E00A Symbols Nerd Font Mono
# Codicons
symbol_map U+EA60-U+EC1E Symbols Nerd Font Mono
# kitty +list-fonts --psnames
font_features RecMonoCasual-Regular +ss01 +ss02 +ss03 +ss04 +ss05 +ss06 +ss10 +ss11 +ss12
font_features RecMonoCasual-Bold +ss01 +ss02 +ss03 +ss04 +ss05 +ss06 +ss10 +ss11 +ss12
font_features RecMonoCasual-Italic +ss01 +ss02 +ss03 +ss04 +ss05 +ss06 +ss10 +ss11 +ss12
font_features RecMonoCasual-BoldItalic +ss01 +ss02 +ss03 +ss04 +ss05 +ss06 +ss10 +ss11 +ss12
font_features VictorMono-Regular +ss01 +ss06
font_features VictorMono-Bold +ss01 +ss06
font_features VictorMono-Italic +ss01 +ss06
font_features VictorMono-BoldItalic +ss01 +ss06
font_features MapleMono-Regular +cv03 +zero
font_features MapleMono-Bold +cv03 +zero
font_features MapleMono-Italic +cv03 +zero
font_features MapleMono-BoldItalic +cv03 +zero
font_features Lilex-Regular +cv01 +cv02 +cv06 +ss02 +ss04
font_features Lilex-Regular_Bold +cv01 +cv02 +cv06 +ss02 +ss04
font_features JuliaMono-Regular +ss01 +ss06 +ss08 +ss09 +ss12 +ss14 +cv02 +cv03
font_features JuliaMono-Bold +ss01 +ss06 +ss08 +ss09 +ss12 +ss14 +cv02 +cv03
font_features JuliaMono-RegularItalic +ss01 +ss06 +ss08 +ss09 +ss12 +ss14 +cv02 +cv03
font_features JuliaMono-BoldItalic +ss01 +ss06 +ss08 +ss09 +ss12 +ss14 +cv02 +cv03
font_features MonoLisaItalic-Light +ss02 +ss07 +ss08 +ss15 +ss16
font_features MonoLisaItalic-Bold +ss02 +ss07 +ss08 +ss15 +ss16
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
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
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/#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/
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
# Sync with Zellij
map alt+n launch --cwd=current --location=vsplit
map alt+m launch --cwd=current --location=hsplit
map alt+p next_window
map alt+[ previous_tab
map alt+] next_tab
# Remove default
map cmd+r no_op