This repository has been archived on 2024-03-28. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles/common/kitty/kitty.conf

160 lines
3.5 KiB
Plaintext

font_family IosevkaLyteTerm
bold_font IosevkaLyteTerm Heavy
italic_font IosevkaLyteTerm Italic
bold_italic_font IosevkaLyteTerm Heavy Italic
font_size 12.5
inactive_text_alpha 0.5
copy_on_select yes
scrollback_lines 500000
symbol_map U+23FB-U+23FE,U+2665,U+26A1,U+2B58,U+E000-U+E00A,U+E0A0-U+E0A3,U+E0B0-U+E0D4,U+E200-U+E2A9,U+E300-U+E3E3,U+E5FA-U+E6AA,U+E700-U+E7C5,U+EA60-U+EBEB,U+F000-U+F2E0,U+F300-U+F32F,U+F400-U+F4A9,U+F500-U+F8FF,U+F0001-U+F1AF0 Symbols Nerd Font Mono
# use `kitty + list-fonts --psnames` to get the font's PostScript name
allow_remote_control yes
listen_on unix:/tmp/kitty
repaint_delay 3
input_delay 3
sync_to_monitor yes
adjust_line_height 0
window_padding_width 10.0
window_margin_width 0.0
confirm_os_window_close 0
enabled_layouts splits:split_axis=vertical,stack
map ctrl+shift+1 change_font_size all 12.5
map ctrl+shift+2 change_font_size all 18.5
map ctrl+shift+3 change_font_size all 26
map ctrl+shift+4 change_font_size all 32
map ctrl+shift+5 change_font_size all 48
map ctrl+shift+o launch --type=tab --stdin-source=@screen_scrollback $EDITOR
map ctrl+shift+equal change_font_size all +0.5
map ctrl+shift+minus change_font_size all -0.5
map shift+insert paste_from_clipboard
map ctrl+shift+v paste_from_selection
map ctrl+shift+c copy_to_clipboard
# kill pane
map ctrl+shift+q close_window
# kill tab
map ctrl+alt+shift+q close_tab
map ctrl+shift+j launch --location=hsplit --cwd=current
map ctrl+shift+l launch --location=vsplit --cwd=current
map ctrl+alt+shift+k move_window up
map ctrl+alt+shift+h move_window left
map ctrl+alt+shift+l move_window right
map ctrl+alt+shift+j move_window down
map ctrl+h neighboring_window left
map ctrl+l neighboring_window right
map ctrl+k neighboring_window up
map ctrl+j neighboring_window down
map ctrl+shift+n nth_window -1
map ctrl+shift+space>u kitten hints --type=url --program @
map ctrl+shift+z toggle_layout stack
shell_integration disabled
enable_audio_bell yes
visual_bell_duration 0.25
visual_bell_color #333033
url_style single
strip_trailing_spaces smart
# open_url_modifiers ctrl
tab_bar_align center
tab_bar_style separator
tab_separator ""
tab_bar_edge top
tab_title_template "{fmt.fg.tab}{fmt.bg.tab} {activity_symbol}{title} "
active_tab_font_style normal
## name: Catppuccin Kitty Mocha
## author: Catppuccin Org
## license: MIT
## upstream: https://github.com/catppuccin/kitty/blob/main/mocha.conf
## blurb: Soothing pastel theme for the high-spirited!
# The basic colors
foreground #CDD6F4
background #1E1E2E
selection_foreground #1E1E2E
selection_background #F5E0DC
# Cursor colors
cursor #F5E0DC
cursor_text_color #1E1E2E
# URL underline color when hovering with mouse
url_color #F5E0DC
# Kitty window border colors
active_border_color #74c7ec
inactive_border_color #313244
bell_border_color #F9E2AF
# OS Window titlebar colors
wayland_titlebar_color system
macos_titlebar_color system
# Tab bar colors
active_tab_foreground #11111B
active_tab_background #74c7ec
inactive_tab_foreground #CDD6F4
inactive_tab_background #181825
tab_bar_background #11111B
# Colors for marks (marked text in the terminal)
mark1_foreground #1E1E2E
mark1_background #B4BEFE
mark2_foreground #1E1E2E
mark2_background #74c7ec
mark3_foreground #1E1E2E
mark3_background #74C7EC
# The 16 terminal colors
# black
color0 #45475A
color8 #585B70
# red
color1 #F38BA8
color9 #F38BA8
# green
color2 #A6E3A1
color10 #A6E3A1
# yellow
color3 #F9E2AF
color11 #F9E2AF
# blue
color4 #89B4FA
color12 #89B4FA
# magenta
color5 #F5C2E7
color13 #F5C2E7
# cyan
color6 #94E2D5
color14 #94E2D5
# white
color7 #BAC2DE
color15 #A6ADC8