1
0
Fork 0
dotfiles/.config/kitty/kitty.conf

126 lines
2.5 KiB
Plaintext
Raw Normal View History

2022-07-04 21:36:33 +02:00
# vim:fileencoding=utf-8:foldmethod=marker
#: Fonts {{{
font_family JetBrainsMono Nerd Font Mono
2022-07-04 21:36:33 +02:00
bold_font auto
italic_font auto
bold_italic_font auto
2022-07-09 00:01:19 +02:00
font_size 12.0
disable_ligatures cursor
2022-07-04 21:36:33 +02:00
#: }}}
#: Cursor customization {{{
cursor #c0caf5
cursor_text_color #1a1b26
#: }}}
#: Scrollback {{{
scrollback_lines 20000
2022-07-04 21:36:33 +02:00
scrollback_pager_history_size 10
scrollback_fill_enlarged_window yes
#: }}}
#: Mouse {{{
mouse_hide_wait -1
pointer_shape_when_dragging hand
focus_follows_mouse yes
2022-07-04 21:36:33 +02:00
#: }}}
#: Performance tuning {{{
repaint_delay 7
input_delay 2
#: }}}
#: Terminal bell {{{
enable_audio_bell no
window_alert_on_bell no
2022-07-04 21:36:33 +02:00
#: }}}
#: Tab bar {{{
2022-07-10 22:25:19 +02:00
tab_bar_style hidden
2022-07-04 21:36:33 +02:00
#: }}}
#: Color scheme {{{
2022-07-10 22:25:19 +02:00
background_opacity 0.8
2022-07-27 19:23:57 +02:00
background #1a1b26
foreground #c0caf5
selection_background #33467C
selection_foreground #c0caf5
url_color #73daca
cursor #c0caf5
# normal
color0 #15161E
2022-07-04 21:36:33 +02:00
color1 #f7768e
2022-07-27 19:23:57 +02:00
color2 #9ece6a
color3 #e0af68
color4 #7aa2f7
color5 #bb9af7
color6 #7dcfff
color7 #a9b1d6
# bright
color8 #414868
2022-07-04 21:36:33 +02:00
color9 #f7768e
2022-07-27 19:23:57 +02:00
color10 #9ece6a
2022-07-04 21:36:33 +02:00
color11 #e0af68
color12 #7aa2f7
color13 #bb9af7
color14 #7dcfff
color15 #c0caf5
2022-07-27 19:23:57 +02:00
# extended colors
color16 #ff9e64
color17 #db4b4b
2022-07-04 21:36:33 +02:00
#: }}}
#: Advanced {{{
close_on_child_death no
allow_remote_control no
2022-07-04 21:36:33 +02:00
listen_on none
2022-08-09 10:55:28 +02:00
confirm_os_window_close 0
2022-07-04 21:36:33 +02:00
#: }}}
#: OS specific tweaks {{{
linux_display_server x11
#: }}}
#: Keyboard shortcuts {{{
clear_all_shortcuts yes
2022-07-04 21:36:33 +02:00
kitty_mod ctrl+shift
map kitty_mod+c copy_to_clipboard
map kitty_mod+v paste_from_clipboard
# Scrolling
map kitty_mod+up scroll_line_up
map kitty_mod+down scroll_line_down
2022-07-04 21:36:33 +02:00
map kitty_mod+page_up scroll_page_up
map kitty_mod+page_down scroll_page_down
map kitty_mod+home scroll_home
map kitty_mod+end scroll_end
map kitty_mod+y scroll_to_prompt -1
2022-07-04 21:36:33 +02:00
map kitty_mod+x scroll_to_prompt 1
map kitty_mod+g show_last_command_output
# Font sizes
map kitty_mod+plus change_font_size all +2.0
map kitty_mod+minus change_font_size all -2.0
2022-07-04 21:36:33 +02:00
map kitty_mod+backspace change_font_size all 0
# Select and act on visible text
2022-07-04 21:36:33 +02:00
map kitty_mod+e open_url_with_hints
map kitty_mod+p>f kitten hints --type path --program -
map kitty_mod+p>shift+f kitten hints --type path
map kitty_mod+p>l kitten hints --type line --program -
map kitty_mod+p>w kitten hints --type word --program -
map kitty_mod+p>h kitten hints --type hash --program -
map kitty_mod+p>n kitten hints --type linenum
map kitty_mod+p>y kitten hints --type hyperlink
# Miscellaneous
2022-07-04 21:36:33 +02:00
map kitty_mod+f2 edit_config_file
map kitty_mod+f5 load_config_file
#: }}}
2022-07-10 22:25:19 +02:00