Files
dotfiles/kitty/kitty.conf
2025-07-07 15:33:03 +02:00

118 lines
2.5 KiB
Plaintext

# Font Configuration
font_family MesloGS NF
bold_font auto
italic_font auto
bold_italic_font auto
font_size 15
# Font rendering improvements
disable_ligatures never
font_features MesloGSNF +calt +liga
text_composition_strategy platform
undercurl_style thin-sparse
# Cursor Configuration
cursor_shape beam
cursor_beam_thickness 1.5
cursor_underline_thickness 2.0
cursor_blink_interval 0.5
cursor_stop_blinking_after 15.0
# Window Configuration
window_padding_width 0
placement_strategy center
window_border_width 0
draw_minimal_borders yes
window_margin_width 0
# single_window_margin_width -1
resize_debounce_time 0.1
# Visual Polish
inactive_text_alpha 0.7
dim_opacity 0.75
# Font size (in pts)
# NOTE: Do not use odd values as these affect how kitty renders margin
# Background & Transparency
dynamic_background_opacity yes
background_opacity 0.85
background_blur 3
# macOS Specific
hide_window_decorations yes
macos_titlebar_color background
macos_option_as_alt yes
macos_window_resizable yes
# Audio
enable_audio_bell no
visual_bell_duration 0.0
# Enable remote control for new tab creation
allow_remote_control yes
# Keymap
include ./keymap.conf
macos_show_window_title_in none
# BEGIN_KITTY_THEME
# Monokai Classic
include current-theme.conf
# END_KITTY_THEME
# macos_titlebar_color background
#
# Tab Bar Configuration
tab_bar_style hidden
# Scrolling & Performance
scrollback_lines 10000
scrollback_pager less --chop-long-lines --RAW-CONTROL-CHARS +INPUT_LINE_NUMBER
scrollback_pager_history_size 2048
wheel_scroll_multiplier 3.0
touch_scroll_multiplier 1.0
# URL Handling
detect_urls yes
url_color #0087bd
url_style curly
open_url_with default
copy_on_select no
strip_trailing_spaces never
# Selection
rectangle_select_modifiers ctrl+alt
terminal_select_modifiers shift
select_by_word_characters @-./_~?&=%+#
# Advanced Features
allow_hyperlinks yes
shell_integration enabled
term xterm-256color
# Fixed backspace mapping
map backspace send_text all \x7f
# Performance
repaint_delay 10
input_delay 3
sync_to_monitor yes
# Mouse
mouse_hide_wait 3.0
default_pointer_shape beam
pointer_shape_when_grabbed arrow
pointer_shape_when_dragging hand
# Clipboard
clipboard_control write-clipboard write-primary read-clipboard-ask read-primary-ask
clipboard_max_size 64
# Notifications
enable_notifications yes
notify_on_cmd_finish invisible 30.0
# Ask for confirmation on program close (Cmd+Q) but not on tab close
confirm_os_window_close 0