points/.config/kitty/kitty.conf

204 lines
5.4 KiB
Plaintext

#: Kitty Settings
#
# $HOME/.local/kitty.app/share/doc/kitty/html/conf.html
#: Fonts {{{1
# kitty +list-fonts
# kitty --debug-font-fallback
font_family JetBrains Mono Regular
italic_font JetBrains Mono Italic
bold_font JetBrains Mono Bold
bold_italic_font JetBrains Mono Bold Italic
font_size 11.0
disable_ligatures cursor
# https://github.com/JetBrains/JetBrainsMono#opentype-features
# https://github.com/JetBrains/JetBrainsMono/wiki/OpenType-features#list-of-features
font_features JetBrainsMono-Regular zero
font_features JetBrainsMono-Italic zero
font_features JetBrainsMono-Bold zero
font_features JetBrainsMono-BoldItalic zero
# Nerd Fonts - https://github.com/ryanoasis/nerd-fonts/wiki/Glyph-Sets-and-Code-Points#overview
symbol_map U+23fb-U+23fe Symbols Nerd Font
symbol_map U+2665 Symbols Nerd Font
symbol_map U+26a1 Symbols Nerd Font
symbol_map U+2b58 Symbols Nerd Font
symbol_map U+e000-U+e00a Symbols Nerd Font
symbol_map U+e0a0-U+e0a2 Symbols Nerd Font
symbol_map U+e0a3 Symbols Nerd Font
symbol_map U+e0b0-U+e0b3 Symbols Nerd Font
symbol_map U+e0b4-U+e0c8 Symbols Nerd Font
symbol_map U+e0ca Symbols Nerd Font
symbol_map U+e0cc-U+e0d4 Symbols Nerd Font
symbol_map U+e200-U+e2a9 Symbols Nerd Font
symbol_map U+e300-U+e3e3 Symbols Nerd Font
symbol_map U+e5fa-U+e6a6 Symbols Nerd Font
symbol_map U+e700-U+e7c5 Symbols Nerd Font
symbol_map U+ea60-U+ebeb Symbols Nerd Font
symbol_map U+f000-U+f2e0 Symbols Nerd Font
symbol_map U+f300-U+f32f Symbols Nerd Font
symbol_map U+f400-U+f532 Symbols Nerd Font
symbol_map U+f0001-U+f1af0 Symbols Nerd Font
#: Cursor customization {{{1
#: Scrollback {{{1
scrollback_lines 10000
#: Mouse {{{1
show_hyperlink_targets yes
#: Mouse Actions {{{1
#
# $HOME/.local/kitty.app/share/doc/kitty/html/conf.html#conf-kitty-mouse-mousemap
#
# `mouse_map button-name event-type modes action`
# - left, middle, right + keyboard modifiers
# - click, press, release, doubleclick, doublepress, triplepress (+click_interval)
# - grabbed, ungrabbed
#
# See also `kitty --debug-input`
# Don't process link
mouse_map left click ungrabbed mouse_handle_click selection prompt
#: Performance tuning {{{1
#: Terminal bell {{{1
enable_audio_bell no
visual_bell_duration 0.05
visual_bell_color #900
#: Window layout {{{1
enabled_layouts grid, splits, stack, tall:bias=70;full_size=2
#: Tab bar {{{1
tab_bar_style fade
tab_fade 0.80 0.85 0.90 0.95
active_tab_foreground #000
active_tab_background #FAA
active_tab_font_style bold
inactive_tab_background #644
inactive_tab_foreground #799
inactive_tab_font_style italic
#: Color scheme {{{1
include Paul Millr.conf
background_opacity 1.00
cursor #f41
selection_background none
selection_foreground none
dynamic_background_opacity yes
# Also use `kitty @ set-background-opacity [options] OPACITY`
#: Advanced {{{1
#: OS specific tweaks {{{1
#: }}}1
#: Kitten
#
# $HOME/.local/kitty.app/share/doc/kitty/html/kittens_intro.html
# Unicode input —— kitty_mod+u
kitten_alias hints hints --alphabet="_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
#: Keyboard shortcuts
#
# $HOME/.local/kitty.app/share/doc/kitty/html/actions.html
# $HOME/.local/kitty.app/share/doc/kitty/html/conf.html#keyboard-shortcuts
# $HOME/.local/kitty.app/share/doc/kitty/html/launch.html
#: Clipboard {{{1
#: Scrolling {{{1
#: Window management {{{1
map kitty_mod+enter launch --location=split --cwd=current
map kitty_mod+! detach_window ask
map alt+left neighboring_window left
map alt+right neighboring_window right
map alt+down neighboring_window down
map alt+up neighboring_window up
map kitty_mod+l>h move_window left
map kitty_mod+l>j move_window down
map kitty_mod+l>k move_window up
map kitty_mod+l>l move_window right
#: Tab management {{{1
map kitty_mod+; move_tab_forward
map kitty_mod+t new_tab_with_cwd
#: Layout management {{{1
map kitty_mod+l>g toggle_layout grid
map kitty_mod+l>s toggle_layout splits
map kitty_mod+l>v toggle_layout tall
map kitty_mod+l>z toggle_layout stack
# $HOME/.local/kitty.app/share/doc/kitty/html/layouts.html#the-splits-layout
map kitty_mod+l>shift+h layout_action move_to_screen_edge left
map kitty_mod+l>shift+j layout_action move_to_screen_edge bottom
map kitty_mod+l>shift+k layout_action move_to_screen_edge top
map kitty_mod+l>shift+l layout_action move_to_screen_edge right
map kitty_mod+l>/ layout_action rotate
#: Font sizes {{{1
#map kitty_mod+backspace change_font_size all 0
map kitty_mod+equal change_font_size current +0.5
map kitty_mod+minus change_font_size current -0.5
#: Select and act on visible text {{{1
# $HOME/.local/kitty.app/share/doc/kitty/html/marks.html
# map ctrl+p scroll_to_mark prev
# map ctrl+n scroll_to_mark next
map kitty_mod+m>m create_marker
map kitty_mod+m>shift+m remove_marker
map kitty_mod+m>a toggle_marker regex 1 "[+-]?\\d\\s?\\d*(,\\d)?\\sMB" 2 "[+-]?\\d\\s?\\d*(,\\d)?\\skB" 3 "[+-]?\\d\\s?\\d*(,\\d)?\\sB"
map kitty_mod+m>e toggle_marker iregex 1 \\bERROR\\b 2 \\bWARNING\\b 3 \\bNOTE\\b
map kitty_mod+m>n toggle_marker iregex 1 "(^\\[\\d+/\\d+\\]|\\bERROR\\b)" 2 "\\bWARNING\\b" 3 "\S+\.[ch]pp"
map kitty_mod+m>u toggle_marker regex 3 https?://\\S+
mark1_background #d00
mark2_background #c90
mark3_background #0d0
#: Miscellaneous {{{1
map kitty_mod+f3 set_background_opacity -0.05
map kitty_mod+f4 set_background_opacity +0.05
#: }}}1
#: vim:foldmethod=marker:foldlevel=0