points/.config/kitty/kitty.conf

204 lines
5.0 KiB
Plaintext
Raw Normal View History

2023-03-23 09:49:43 +01:00
#: Kitty Settings
#
# file:///usr/share/doc/kitty/html/conf.html
#
# Change icon:
# sudo ln -sfT ~michel/.config/kitty/kitty-light.png /usr/share/icons/hicolor/256x256/apps/kitty.png
#: Fonts {{{1
# kitty +list-fonts
# kitty --debug-font-fallback
# https://www.jetbrains.com/lp/mono/
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
# Symbols Nerd Font
#
# https://www.nerdfonts.com/cheat-sheet
# https://github.com/ryanoasis/nerd-fonts/tags -> NerdFontsSymbolsOnly.zip
# -> Symbols-2048-em Nerd Font Complete.ttf (without Mono?)
# https://raw.githubusercontent.com/ryanoasis/nerd-fonts/master/bin/scripts/test-fonts.sh
# "Nerd Fonts - Pomicons"
symbol_map U+E000-U+E00D Symbols Nerd Font
# "Nerd Fonts - Powerline"
symbol_map U+e0a0-U+e0a2,U+e0b0-U+e0b3 Symbols Nerd Font
# "Nerd Fonts - Powerline Extra"
symbol_map U+e0a3-U+e0a3,U+e0b4-U+e0c8,U+e0cc-U+e0d2,U+e0d4-U+e0d4 Symbols Nerd Font
# "Nerd Fonts - Symbols original"
symbol_map U+e5fa-U+e62b Symbols Nerd Font
# "Nerd Fonts - Devicons"
symbol_map U+e700-U+e7c5 Symbols Nerd Font
# "Nerd Fonts - Font awesome"
symbol_map U+f000-U+f2e0 Symbols Nerd Font
# "Nerd Fonts - Font awesome extension"
symbol_map U+e200-U+e2a9 Symbols Nerd Font
# "Nerd Fonts - Octicons"
symbol_map U+f400-U+f4a8,U+2665-U+2665,U+26A1-U+26A1,U+f27c-U+f27c Symbols Nerd Font
# "Nerd Fonts - Font Linux"
symbol_map U+F300-U+F313 Symbols Nerd Font
# Nerd Fonts - Font Power Symbols"
symbol_map U+23fb-U+23fe,U+2b58-U+2b58 Symbols Nerd Font
# "Nerd Fonts - Material Design Icons"
symbol_map U+f500-U+fd46 Symbols Nerd Font
# "Nerd Fonts - Weather Icons"
symbol_map U+e300-U+e3eb Symbols Nerd Font
# Misc Code Point Fixes
symbol_map U+21B5,U+25B8,U+2605,U+2630,U+2632,U+2714,U+E0A3,U+E615,U+E62B Symbols Nerd Font
#: Cursor customization {{{1
#: Scrollback {{{1
scrollback_lines 10000
#: Mouse {{{1
2023-04-06 12:13:03 +02:00
#
# file:///usr/share/dokitty/html/open_actions.html
2023-03-23 09:49:43 +01:00
#: Performance tuning {{{1
#: Terminal bell {{{1
enable_audio_bell no
visual_bell_duration 0.05
visual_bell_color #900
#: Window layout {{{1
2023-04-13 17:39:50 +02:00
enabled_layouts grid, splits, stack, tall:bias=70;full_size=2
2023-03-23 09:49:43 +01:00
#: 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
2023-04-06 12:13:03 +02:00
background_opacity 1.00
2023-03-23 09:49:43 +01: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
#: Keyboard shortcuts
#
# file:///usr/share/doc/kitty/html/actions.html
# file:///usr/share/doc/kitty/html/conf.html#keyboard-shortcuts
# file:///usr/share/doc/kitty/html/launch.html
kitten_alias hints hints --alphabet="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ" --hints-offset=0
2023-04-06 12:13:03 +02:00
#: Clipboard {{{1
2023-03-23 09:49:43 +01:00
#: Scrolling {{{1
#: Window management {{{1
map kitty_mod+enter launch --location=split --cwd=current
2023-04-13 17:39:50 +02:00
map kitty_mod+! detach_window ask
2023-03-23 09:49:43 +01:00
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
# file:///usr/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
# file:///usr/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>e toggle_marker iregex 1 \\bERROR\\b 2 \\bWARNING\\b 3 \\bNOTE\\b
2023-04-06 12:13:03 +02:00
map kitty_mod+m>n toggle_marker iregex 1 "(^\\[\\d+/\\d+\\]|\\bERROR\\b)" 2 "(c\\+\\+ object.*|\\bWARNING\\b)" 3 \\bNOTE\\b
2023-03-23 09:49:43 +01:00
map kitty_mod+m>u toggle_marker regex 3 https?://\\S+
mark1_background #d00
mark2_background #c90
mark3_background #0d0
#: Miscellaneous {{{1
2023-04-06 12:13:03 +02:00
map kitty_mod+f3 set_background_opacity -0.05
map kitty_mod+f4 set_background_opacity +0.05
2023-03-23 09:49:43 +01:00
#: }}}1
#: vim:foldmethod=marker:foldlevel=0