dotfiles/kitty/kitty.conf.bak
2025-04-18 10:21:56 -06:00

199 lines
5.7 KiB
Plaintext
Executable File

# vim:fileencoding=utf-8:foldmethod=marker
include current-theme.conf
#: Fonts {{{
font_family BlexMono Nerd Font Medium
bold_font BlexMono Nerd Font Bold
italic_font BlexMono Nerd Font Text Italic
bold_italic_font BlexMono Nerd Font SemiBold Italic
font_size 10.0
modify_font cell_width 95%
# modify_font cell_height -2px
# modify_font baseline 3
#: Cursor customization {{{
# cursor #cccccc
# cursor_text_color #111111
cursor_shape block
# cursor_shape_unfocused hollow
# cursor_blink_interval -1
# cursor_stop_blinking_after 15.0
#: }}}
#: Scrollback {{{
# scrollback_lines 2000
# scrollback_indicator_opacity 1.0
# scrollback_fill_enlarged_window no
# wheel_scroll_multiplier 5.0
# wheel_scroll_min_lines 1
#: }}}
#: Mouse {{{
mouse_hide_wait 3.0
# url_style curly
# open_url_with default
# detect_urls yes
# show_hyperlink_targets no
# underline_hyperlinks hover
# copy_on_select clipboard
# paste_actions quote-urls-at-prompt,replace-dangerous-control-codesm replace-newline, confirm-if-large#,confirm
# strip_trailing_spaces never
focus_follows_mouse yes
#: Terminal bell {{{
# enable_audio_bell yes
visual_bell_duration 2.0
# visual_bell_color none
window_alert_on_bell yes
bell_on_tab "🔔 "
#: }}}
#: Window layout {{{
remember_window_size no
initial_window_width 850
initial_window_height 500
enabled_layouts tall,*
window_resize_step_cells 2
window_resize_step_lines 2
window_border_width 2pt
# draw_minimal_borders yes
window_margin_width 9
single_window_margin_width 0
window_padding_width 0 3
single_window_padding_width -1
# placement_strategy center
# active_border_color #00ff00
# inactive_border_color #cccccc
# bell_border_color #ff5a00
# inactive_text_alpha 1.0
hide_window_decorations yes
#: Tab bar {{{
tab_bar_edge top
# tab_bar_margin_width 20.0
tab_bar_margin_height 9.0 0.0
tab_bar_style powerline
# tab_bar_align left
tab_bar_min_tabs 1
tab_switch_strategy previous
# tab_separator " ┇"
# tab_powerline_style round
# tab_activity_symbol none
# tab_title_max_length 0
# tab_title_template "{fmt.fg.red}{bell_symbol}{activity_symbol}{fmt.fg.tab}{title}"
#: title
#: The current tab title.
#: index
#: The tab index usable with goto_tab N goto_tab shortcuts.
#: layout_name
#: The current layout name.
#: num_windows
#: The number of windows in the tab.
#: num_window_groups
#: The number of window groups (a window group is a window and all of its overlay windows) in the tab.
#: tab.active_wd
#: The working directory of the currently active window in the tab
#: (expensive, requires syscall). Use active_oldest_wd to get
#: the directory of the oldest foreground process rather than the newest.
#: tab.active_exe
#: The name of the executable running in the foreground of the currently
#: active window in the tab (expensive, requires syscall). Use
#: active_oldest_exe for the oldest foreground process.
#: max_title_length
#: The maximum title length available.
#: keyboard_mode
#: The name of the current keyboard mode <https://sw.kovidgoyal.net/kitty/mapping/#modal-mappings> or the empty string if no keyboard mode is active.
#: Note that formatting is done by Python's string formatting
#: machinery, so you can use, for instance, {layout_name[:2].upper()}
#: to show only the first two letters of the layout name, upper-cased.
#: If you want to style the text, you can use styling directives, for
#: example:
#: `{fmt.fg.red}red{fmt.fg.tab}normal{fmt.bg._00FF00}greenbg{fmt.bg.tab}`.
#: Similarly, for bold and italic:
#: `{fmt.bold}bold{fmt.nobold}normal{fmt.italic}italic{fmt.noitalic}`.
#: Note that for backward compatibility, if {bell_symbol} or
#: {activity_symbol} are not present in the template, they are
#: prepended to it.
# active_tab_title_template none
#: Color scheme {{{
# foreground #dddddd
# background #000000
background_opacity 0.72
dynamic_background_opacity yes
# background_blur 0
background_image none
# background_image_layout cscaled
background_tint 0.2
background_tint_gaps 0.0
# dim_opacity 0.4
#: The color table {{{
# color0 #000000
# color8 #767676
# color1 #cc0403
# color9 #f2201f
# color2 #19cb00
# color10 #23fd00
# color3 #cecb00
# color11 #fffd00
# color4 #0d73cc
# color12 #1a8fff
# color5 #cb1ed1
# color13 #fd28ff
# color6 #0dcdcd
# color14 #14ffff
# color7 #dddddd
# color15 #ffffff
#: }}}
#: Advanced {{{
# shell .
editor nvim
# close_on_child_death no
# allow_remote_control no
# shell_integration enabled
# notify_on_cmd_finish always
term xterm-256color
#: menu_map global "Actions::Launch something special" launch --hold --type=os-window sh -c "echo hello world"
#: This will create a menu entry named "Launch something special" in
#: an "Actions" menu in the macOS global menubar. Sub-menus can be
#: created by adding more levels separated by the :: characters.
#: }}}
#: Keyboard shortcuts {{{
#: For example: a for the A key, [ for the left square bracket key,
#: etc. For functional keys, such as Enter or Escape
#: For modifier keys, the names are ctrl, shift, alt, super.
#: # unmap a keyboard shortcut, passing it to the program running in kitty
#: map kitty_mod+space
#: # completely ignore a keyboard event
#: map ctrl+alt+f1 discard_event
#: # combine multiple actions
#: map kitty_mod+e combine : new_window : next_layout
#: # multi-key shortcuts
#: map ctrl+x>ctrl+y>z action
# kitty_mod ctrl+shift
# action_alias #: E.g. action_alias launch_tab launch --type=tab --cwd=current
#: map f1 launch_tab vim
#: map f2 launch_tab emacs
backspace_key auto
map alt+left neighboring_window left
map alt+right neighboring_window right
map alt+up neighboring_window up
map alt+down neighboring_window down
# BEGIN_KITTY_THEME
# Tokyo Night Moon
include current-theme.conf
# END_KITTY_THEME