Move Kitty defaults to the system config and restrict remote control
(cherry picked from commit f04366de79)
(cherry picked from commit 6dfbfa146b91bf310f2ff7147953afddef73de9a)
36 lines
1.1 KiB
Plaintext
36 lines
1.1 KiB
Plaintext
# Omarchy defaults. Put personal overrides in ~/.config/kitty/kitty.conf.
|
|
|
|
# Font
|
|
font_family JetBrainsMono Nerd Font
|
|
bold_italic_font auto
|
|
font_size 9.0
|
|
|
|
# Window
|
|
window_padding_width 14
|
|
hide_window_decorations yes
|
|
confirm_os_window_close 0
|
|
|
|
# Keybindings
|
|
map ctrl+insert copy_to_clipboard
|
|
map shift+insert paste_from_clipboard
|
|
# Send Shift+Enter as CSI-u so TUIs can distinguish it from Enter.
|
|
map shift+enter send_text all \e[13;2u
|
|
# Kitty legacy encoding sends Alt+Shift+Enter the same as Alt+Enter; send CSI-u so tmux can match M-S-Enter.
|
|
map alt+shift+enter send_text all \e[13;4u
|
|
|
|
# Allow local cwd lookup, but reject remote control through terminal output.
|
|
allow_remote_control socket-only
|
|
listen_on unix:${XDG_RUNTIME_DIR}/omarchy-kitty-{kitty_pid}
|
|
|
|
# Aesthetics
|
|
cursor_shape block
|
|
cursor_blink_interval 0
|
|
shell_integration no-cursor
|
|
enable_audio_bell no
|
|
|
|
# Minimal Tab bar styling
|
|
tab_bar_edge bottom
|
|
tab_bar_style powerline
|
|
tab_powerline_style slanted
|
|
tab_title_template {title}{' :{}:'.format(num_windows) if num_windows > 1 else ''}
|