560 lines
14 KiB
Plaintext
560 lines
14 KiB
Plaintext
# vim:fileencoding=utf-8:foldmethod=marker
|
|
|
|
#: Fonts {{{
|
|
|
|
font_family Fira Code SemiBold
|
|
bold_font Fira Code SemiBold
|
|
italic_font Fira Code SemiBold
|
|
bold_italic_font Fira Code SemiBold
|
|
# Delugia
|
|
# Operator Mono SSm Lig Book Italic
|
|
font_size 10
|
|
|
|
force_ltr no
|
|
|
|
adjust_line_height 125%
|
|
# adjust_column_width 100%
|
|
|
|
# adjust_baseline 0
|
|
|
|
# symbol_map U+E000-U+FF63 FiraCode Nerd Font
|
|
# symbol_map U+EB62,U+EA88,U+EB5B,U+EB65,U+EB36,U+EA8A,U+EB8D codicon
|
|
|
|
disable_ligatures never
|
|
|
|
# font_features none
|
|
|
|
#: font_features FiraCode-Retina +zero +onum
|
|
|
|
#: font_features TT2020StyleB-Regular -liga +calt
|
|
|
|
#: font_features UnifontMedium +isol -medi -fina -init
|
|
|
|
# box_drawing_scale 0.001, 1, 1.5, 2
|
|
|
|
#: Change the sizes of the lines used for the box drawing unicode
|
|
#: characters These values are in pts. They will be scaled by the
|
|
#: monitor DPI to arrive at a pixel value. There must be four values
|
|
#: corresponding to thin, normal, thick, and very thick lines.
|
|
|
|
#: }}}
|
|
|
|
#: Cursor customization {{{
|
|
|
|
cursor #bbbbbb
|
|
|
|
# cursor_text_color #111111
|
|
|
|
cursor_shape beam
|
|
|
|
cursor_beam_thickness 1
|
|
|
|
# cursor_underline_thickness 2.0
|
|
|
|
# cursor_blink_interval -1
|
|
|
|
# cursor_stop_blinking_after 15.0
|
|
|
|
#: }}}
|
|
|
|
#: Scrollback {{{
|
|
|
|
scrollback_lines 50000
|
|
|
|
scrollback_pager less -R -F
|
|
|
|
# scrollback_pager_history_size 0
|
|
|
|
# scrollback_fill_enlarged_window no
|
|
|
|
wheel_scroll_multiplier 2.0
|
|
|
|
# touch_scroll_multiplier 1.0
|
|
|
|
#: }}}
|
|
|
|
#: Mouse {{{
|
|
|
|
mouse_hide_wait 3.0
|
|
|
|
url_color #0078d7
|
|
url_style single
|
|
|
|
open_url_with default
|
|
|
|
url_prefixes http https file ftp gemini irc gopher mailto news git
|
|
|
|
detect_urls yes
|
|
|
|
# url_excluded_characters
|
|
|
|
copy_on_select no
|
|
|
|
strip_trailing_spaces always
|
|
|
|
# select_by_word_characters @-./_~?&=%+#
|
|
|
|
#: Characters considered part of a word when double clicking. In
|
|
#: addition to these characters any character that is marked as an
|
|
#: alphanumeric character in the unicode database will be matched.
|
|
|
|
# click_interval -1.0
|
|
|
|
focus_follows_mouse no
|
|
|
|
pointer_shape_when_grabbed hand
|
|
|
|
default_pointer_shape arrow
|
|
|
|
pointer_shape_when_dragging beam
|
|
|
|
#: Mouse actions {{{
|
|
|
|
#: Mouse buttons can be remapped to perform arbitrary actions. The
|
|
#: syntax for doing so is:
|
|
|
|
#: .. code-block:: none
|
|
|
|
#: mouse_map button-name event-type modes action
|
|
|
|
#: Where ``button-name`` is one of ``left``, ``middle``, ``right`` or
|
|
#: ``b1 ... b8`` with added keyboard modifiers, for example:
|
|
#: ``ctrl+shift+left`` refers to holding the ctrl+shift keys while
|
|
#: clicking with the left mouse button. The number ``b1 ... b8`` can
|
|
#: be used to refer to upto eight buttons on a mouse.
|
|
|
|
#: ``event-type`` is one ``press``, ``release``, ``doublepress``,
|
|
#: ``triplepress``, ``click`` and ``doubleclick``. ``modes``
|
|
#: indicates whether the action is performed when the mouse is grabbed
|
|
#: by the program running in the terminal, or not. It can have one or
|
|
#: more or the values, ``grabbed,ungrabbed``. ``grabbed`` refers to
|
|
#: when the program running in the terminal has requested mouse
|
|
#: events. Note that the click and double click events have a delay of
|
|
#: click_interval to disambiguate from double and triple presses.
|
|
|
|
#: You can run kitty with the kitty --debug-input command line option
|
|
#: to see mouse events. See the builtin actions below to get a sense
|
|
#: of what is possible.
|
|
|
|
#: If you want to unmap an action map it to ``no-op``. For example, to
|
|
#: disable opening of URLs with a plain click::
|
|
|
|
#: mouse_map left click ungrabbed no-op
|
|
|
|
#: .. note::
|
|
#: Once a selection is started, releasing the button that started it will
|
|
#: automatically end it and no release event will be dispatched.
|
|
|
|
# clear_all_mouse_actions no
|
|
|
|
#: You can have kitty remove all mouse actions seen up to this point.
|
|
#: Useful, for instance, to remove the default mouse actions.
|
|
|
|
# mouse_map left click ungrabbed mouse_click_url_or_select
|
|
# mouse_map shift+left click grabbed,ungrabbed mouse_click_url_or_select
|
|
# mouse_map ctrl+shift+left release grabbed,ungrabbed mouse_click_url
|
|
|
|
#: Variant with ctrl+shift is present because the simple click based
|
|
#: version has an unavoidable delay of click_interval, to disambiguate
|
|
#: clicks from double clicks.
|
|
|
|
# mouse_map ctrl+shift+left press grabbed discard_event
|
|
|
|
#: Prevent this press event from being sent to the program that has
|
|
#: grabbed the mouse, as the corresponding release event is used to
|
|
#: open a URL.
|
|
|
|
# mouse_map middle release ungrabbed paste_from_selection
|
|
# mouse_map left press ungrabbed mouse_selection normal
|
|
# mouse_map ctrl+alt+left press ungrabbed mouse_selection rectangle
|
|
# mouse_map left doublepress ungrabbed mouse_selection word
|
|
# mouse_map left triplepress ungrabbed mouse_selection line
|
|
|
|
#: Select the entire line
|
|
|
|
# mouse_map ctrl+alt+left triplepress ungrabbed mouse_selection line_from_point
|
|
|
|
#: Select from the clicked point to the end of the line
|
|
|
|
# mouse_map right press ungrabbed mouse_selection extend
|
|
|
|
#: If you want only the end of the selection to be moved instead of
|
|
#: the nearest boundary, use move-end instead of extend.
|
|
|
|
# mouse_map shift+middle release ungrabbed,grabbed paste_selection
|
|
# mouse_map shift+left press ungrabbed,grabbed mouse_selection normal
|
|
# mouse_map shift+ctrl+alt+left press ungrabbed,grabbed mouse_selection rectangle
|
|
# mouse_map shift+left doublepress ungrabbed,grabbed mouse_selection word
|
|
# mouse_map shift+left triplepress ungrabbed,grabbed mouse_selection line
|
|
|
|
#: Select the entire line
|
|
|
|
# mouse_map shift+ctrl+alt+left triplepress ungrabbed,grabbed mouse_selection line_from_point
|
|
|
|
#: Select from the clicked point to the end of the line
|
|
|
|
# mouse_map shift+right press ungrabbed,grabbed mouse_selection extend
|
|
#: }}}
|
|
|
|
#: }}}
|
|
|
|
#: Performance tuning {{{
|
|
|
|
repaint_delay 10
|
|
|
|
input_delay 3
|
|
|
|
sync_to_monitor yes
|
|
|
|
#: }}}
|
|
|
|
#: Terminal bell {{{
|
|
|
|
enable_audio_bell yes
|
|
|
|
visual_bell_duration 0.0
|
|
|
|
window_alert_on_bell no
|
|
|
|
# bell_on_tab yes
|
|
|
|
# command_on_bell none
|
|
|
|
#: }}}
|
|
|
|
#: Window layout {{{
|
|
|
|
remember_window_size no
|
|
# initial_window_width 1120
|
|
# initial_window_height 700
|
|
|
|
enabled_layouts splits
|
|
|
|
window_resize_step_cells 1
|
|
window_resize_step_lines 1
|
|
|
|
window_border_width 0.1
|
|
|
|
draw_minimal_borders yes
|
|
|
|
window_margin_width 0
|
|
|
|
# single_window_margin_width -1
|
|
|
|
window_padding_width 0 8 8
|
|
|
|
# placement_strategy center
|
|
|
|
active_border_color #cba6f7
|
|
|
|
inactive_border_color #777777
|
|
|
|
# bell_border_color #ff5a00
|
|
|
|
# inactive_text_alpha 1.0
|
|
|
|
# hide_window_decorations no
|
|
|
|
# resize_debounce_time 0.1
|
|
|
|
# resize_draw_strategy static
|
|
|
|
# resize_in_steps no
|
|
|
|
# confirm_os_window_close 0
|
|
|
|
#: }}}
|
|
|
|
#: Tab bar {{{
|
|
|
|
tab_bar_edge top
|
|
|
|
# tab_bar_margin_width 0.0
|
|
|
|
# tab_bar_margin_height 0.0 0.0
|
|
|
|
tab_bar_style powerline
|
|
|
|
#: The tab bar style, can be one of:
|
|
|
|
#: fade
|
|
#: Each tab's edges fade into the background color (see tab_fade)
|
|
#: slant
|
|
#: Tabs look like the tabs in a physical file
|
|
#: separator
|
|
#: Tabs are separated by a configurable separator (see tab_separator)
|
|
#: powerline
|
|
#: Tabs are shown as a continuous line with "fancy" separators (see tab_powerline_style)
|
|
#: hidden
|
|
#: The tab bar is hidden. If you use this, you might want to create a mapping
|
|
#: for the https://sw.kovidgoyal.net/kitty/actions/#select-tab action which presents you with a list
|
|
#: of tabs and allows for easy switching to a tab.
|
|
|
|
tab_bar_min_tabs 2
|
|
|
|
tab_switch_strategy previous
|
|
|
|
tab_fade 0.25 0.5 0.75 1
|
|
|
|
# tab_separator " ┇"
|
|
|
|
tab_powerline_style round
|
|
|
|
# tab_activity_symbol none
|
|
|
|
#: Some text or a unicode symbol to show on the tab if a window in the
|
|
#: tab that does not have focus has some activity. If you want to use
|
|
#: leading or trailing spaces surround the text with quotes.
|
|
|
|
tab_title_template "{sup.index} {title.replace('proxzima@proxzima:', '')}"
|
|
|
|
#: {fmt.fg.red}red{fmt.fg.default}normal{fmt.bg._00FF00}green
|
|
#: bg{fmt.bg.normal}. Similarly, for bold and italic:
|
|
#: {fmt.bold}bold{fmt.nobold}normal{fmt.italic}italic{fmt.noitalic}.
|
|
|
|
active_tab_title_template none
|
|
|
|
active_tab_foreground #f38ba8
|
|
active_tab_background #333A56
|
|
active_tab_font_style normal
|
|
inactive_tab_foreground #D9E0EE
|
|
inactive_tab_background #161925
|
|
# inactive_tab_font_style italic
|
|
|
|
#: Tab bar colors and styles
|
|
|
|
tab_bar_background #161926
|
|
|
|
#: }}}
|
|
|
|
#: Color scheme {{{
|
|
|
|
background_opacity 0.7
|
|
|
|
# background_image /home/proxzima/Pictures/ilya.png
|
|
|
|
#: Path to a background image. Must be in PNG format.
|
|
|
|
# background_image_layout tiled
|
|
|
|
# background_image_linear no
|
|
|
|
# dynamic_background_opacity yes
|
|
|
|
# background_tint 0.0
|
|
|
|
# dim_opacity 0.75
|
|
|
|
#: The background for text selected with the mouse.
|
|
|
|
#: The color table {{{
|
|
|
|
# background #161925
|
|
# foreground #f8f8f2
|
|
# cursor #bbbbbb
|
|
selection_background #44475a
|
|
# #: black
|
|
# color0 #000000
|
|
# color8 #4d4d4d
|
|
# #: red
|
|
# color1 #ff5555
|
|
# color9 #ff5454
|
|
# #: green
|
|
# color2 #50fa7b
|
|
# color10 #5af78e
|
|
# #: yellow
|
|
# color3 #f1fa8c
|
|
# color11 #E9AD0C
|
|
# #: blue
|
|
# color4 #bd93f9
|
|
# color12 #caa9fa
|
|
# #: magenta
|
|
# color5 #ff79c6
|
|
# color13 #ff92d0
|
|
# #: cyan
|
|
# color6 #8be9fd
|
|
# color14 #9aedfe
|
|
# #: white
|
|
# color7 #bfbfbf
|
|
# color15 #e6e6e6
|
|
|
|
#https://sw.kovidgoyal.net/kitty/conf/#opt-kitty.background_opacity
|
|
|
|
background #161926
|
|
foreground #CDD6F4
|
|
|
|
color0 #45475A
|
|
color8 #585B70
|
|
|
|
color1 #F38BA8
|
|
color9 #F38BA8
|
|
|
|
color2 #A6E3A1
|
|
color10 #A6E3A1
|
|
|
|
color3 #F9E2AF
|
|
color11 #F9E2AF
|
|
|
|
color4 #89B4FA
|
|
color12 #89B4FA
|
|
|
|
color5 #F5C2E7
|
|
color13 #F5C2E7
|
|
|
|
color6 #94E2D5
|
|
color14 #94E2D5
|
|
|
|
color7 #BAC2DE
|
|
color15 #A6ADC8
|
|
|
|
selection_foreground none
|
|
# bold_is_bright yes
|
|
|
|
# mark1_foreground black
|
|
|
|
#: Color for marks of type 1
|
|
|
|
# mark1_background #98d3cb
|
|
|
|
#: Color for marks of type 1 (light steel blue)
|
|
|
|
# mark2_foreground black
|
|
|
|
#: Color for marks of type 2
|
|
|
|
# mark2_background #f2dcd3
|
|
|
|
#: Color for marks of type 1 (beige)
|
|
|
|
# mark3_foreground black
|
|
|
|
#: Color for marks of type 3
|
|
|
|
# mark3_background #f274bc
|
|
|
|
#: Color for marks of type 3 (violet)
|
|
|
|
#: }}}
|
|
|
|
#: }}}
|
|
|
|
#: Advanced {{{
|
|
|
|
# shell .
|
|
|
|
editor vim
|
|
|
|
close_on_child_death no
|
|
|
|
#: setting.
|
|
|
|
allow_remote_control yes
|
|
|
|
# listen_on none
|
|
|
|
#: Tell kitty to listen to the specified unix/tcp socket for remote
|
|
#: control connections. Note that this will apply to all kitty
|
|
#: instances. It can be overridden by the kitty --listen-on command
|
|
#: line flag. This option accepts only UNIX sockets, such as
|
|
#: unix:${TEMP}/mykitty or (on Linux) unix:@mykitty. Environment
|
|
#: variables are expanded. If {kitty_pid} is present then it is
|
|
#: replaced by the PID of the kitty process, otherwise the PID of the
|
|
#: kitty process is appended to the value, with a hyphen. This option
|
|
#: is ignored unless you also set allow_remote_control to enable
|
|
#: remote control. See the help for kitty --listen-on for more
|
|
#: details. Changing this option by reloading the config is not
|
|
#: supported.
|
|
|
|
# env
|
|
#: env MYVAR1=a
|
|
#: env MYVAR2=${MYVAR1}/${HOME}/b
|
|
|
|
update_check_interval 0
|
|
|
|
# startup_session none
|
|
|
|
#: Path to a session file to use for all kitty instances. Can be
|
|
#: overridden by using the kitty --session command line option for
|
|
#: individual instances. See
|
|
#: https://sw.kovidgoyal.net/kitty/overview/#startup-sessions in the
|
|
#: kitty documentation for details. Note that relative paths are
|
|
#: interpreted with respect to the kitty config directory. Environment
|
|
#: variables in the path are expanded. Changing this option by
|
|
#: reloading the config is not supported.
|
|
|
|
# clipboard_control write-clipboard write-primary
|
|
|
|
# clipboard_max_size 64
|
|
|
|
allow_hyperlinks yes
|
|
|
|
term xterm-kitty
|
|
|
|
#: }}}
|
|
|
|
#: Keyboard shortcuts {{{
|
|
|
|
map ctrl+v paste_from_clipboard
|
|
map ctrl+c copy_and_clear_or_interrupt
|
|
map ctrl+backspace send_text all \x17
|
|
|
|
# Scrolling
|
|
map ctrl+shift+k scroll_line_up
|
|
map ctrl+shift+j scroll_line_down
|
|
map ctrl+shift+page_up scroll_page_up
|
|
map ctrl+shift+page_down scroll_page_down
|
|
map ctrl+shift+home scroll_home
|
|
map ctrl+shift+end scroll_end
|
|
map ctrl+shift+h show_scrollback
|
|
|
|
# Window management
|
|
map ctrl+shift+n new_os_window
|
|
map ctrl+w close_window
|
|
map ctrl+enter no_op
|
|
map ctrl+] next_window
|
|
map ctrl+[ previous_window
|
|
map alt+h move_window_forward
|
|
map alt+l move_window_backward
|
|
map alt+` move_window_to_top
|
|
map alt+1 first_window
|
|
map alt+2 second_window
|
|
map alt+3 third_window
|
|
map alt+4 fourth_window
|
|
map alt+5 fifth_window
|
|
map alt+6 sixth_window
|
|
map alt+7 seventh_window
|
|
map alt+8 eighth_window
|
|
map alt+9 ninth_window
|
|
|
|
map ctrl+- launch --location=hsplit
|
|
map ctrl+\ launch --location=vsplit
|
|
map F8 layout_action rotate
|
|
|
|
map shift+up move_window up
|
|
map shift+left move_window left
|
|
map shift+right move_window right
|
|
map shift+down move_window down
|
|
|
|
map ctrl+shift+left neighboring_window left
|
|
map ctrl+shift+right neighboring_window right
|
|
map ctrl+shift+up neighboring_window up
|
|
map ctrl+shift+down neighboring_window down
|
|
|
|
# Tab management
|
|
map ctrl+tab next_tab
|
|
map ctrl+shift+tab previous_tab
|
|
map ctrl+t new_tab
|
|
map ctrl+q close_tab
|
|
map F2 set_tab_title
|
|
map ctrl+shift+l next_layout
|
|
map ctrl+shift+. move_tab_forward
|
|
map ctrl+shift+, move_tab_backward
|
|
|
|
# Miscellaneous
|
|
map ctrl+KP_Add increase_font_size
|
|
map ctrl+KP_Subtract decrease_font_size
|
|
map ctrl+KP_0 restore_font_size
|
|
map ctrl+f launch --location=hsplit --allow-remote-control kitty +kitten search.py @active-kitty-window-id
|
|
map f5 load_config_file
|
|
map f6 debug_config
|