kitty: Configure to align with my st settings

Except for the font and color scheme. I'm feeling experimental and
surprisingly like what kitty configured per default. Will see, if it
stays like this.
This commit is contained in:
2025-05-15 15:39:38 +02:00
parent 23d14b4ec0
commit a7bd58d210

View File

@@ -267,7 +267,7 @@
#: Text cursor customization {{{ #: Text cursor customization {{{
# cursor #cccccc cursor none
#: Default text cursor color. If set to the special value none the #: Default text cursor color. If set to the special value none the
#: cursor will be rendered with a "reverse video" effect. Its color #: cursor will be rendered with a "reverse video" effect. Its color
@@ -329,7 +329,7 @@
#: uses extra power as it means the screen is redrawn multiple times #: uses extra power as it means the screen is redrawn multiple times
#: per blink interval. See also, cursor_stop_blinking_after. #: per blink interval. See also, cursor_stop_blinking_after.
# cursor_stop_blinking_after 15.0 cursor_stop_blinking_after 0
#: Stop blinking cursor after the specified number of seconds of #: Stop blinking cursor after the specified number of seconds of
#: keyboard inactivity. Set to zero to never stop blinking. #: keyboard inactivity. Set to zero to never stop blinking.
@@ -374,7 +374,7 @@
#: Scrollback {{{ #: Scrollback {{{
# scrollback_lines 2000 scrollback_lines 10000
#: Number of lines of history to keep in memory for scrolling back. #: Number of lines of history to keep in memory for scrolling back.
#: Memory is allocated on demand. Negative numbers are (effectively) #: Memory is allocated on demand. Negative numbers are (effectively)
@@ -405,7 +405,7 @@
#: set to 0 if there is no cursor, for example, when showing the last #: set to 0 if there is no cursor, for example, when showing the last
#: command output. #: command output.
# scrollback_pager_history_size 0 scrollback_pager_history_size 10
#: Separate scrollback history size (in MB), used only for browsing #: Separate scrollback history size (in MB), used only for browsing
#: the scrollback buffer with pager. This separate buffer is not #: the scrollback buffer with pager. This separate buffer is not
@@ -451,7 +451,7 @@
#: Mouse {{{ #: Mouse {{{
# mouse_hide_wait 3.0 mouse_hide_wait -1
#: Hide mouse cursor after the specified number of seconds of the #: Hide mouse cursor after the specified number of seconds of the
#: mouse not being used. Set to zero to disable mouse cursor hiding. #: mouse not being used. Set to zero to disable mouse cursor hiding.
@@ -851,12 +851,12 @@
#: Terminal bell {{{ #: Terminal bell {{{
# enable_audio_bell yes enable_audio_bell no
#: The audio bell. Useful to disable it in environments that require #: The audio bell. Useful to disable it in environments that require
#: silence. #: silence.
# visual_bell_duration 0.0 visual_bell_duration 0.1
#: The visual bell duration (in seconds). Flash the screen when a bell #: The visual bell duration (in seconds). Flash the screen when a bell
#: occurs for the specified number of seconds. Set to zero to disable. #: occurs for the specified number of seconds. Set to zero to disable.
@@ -1302,12 +1302,12 @@
#: Color scheme {{{ #: Color scheme {{{
# foreground #dddddd foreground #ffffff
# background #000000 background #090909
#: The foreground and background colors. #: The foreground and background colors.
# background_opacity 1.0 background_opacity 0.5
#: The opacity of the background. A number between zero and one, where #: The opacity of the background. A number between zero and one, where
#: one is opaque and zero is fully transparent. This will only work if #: one is opaque and zero is fully transparent. This will only work if
@@ -2060,7 +2060,7 @@
#: The full list of actions that can be mapped to key presses is #: The full list of actions that can be mapped to key presses is
#: available here <https://sw.kovidgoyal.net/kitty/actions/>. #: available here <https://sw.kovidgoyal.net/kitty/actions/>.
# kitty_mod ctrl+shift kitty_mod alt
#: Special modifier key alias for default shortcuts. You can change #: Special modifier key alias for default shortcuts. You can change
#: the value of this option to alter all default shortcuts that use #: the value of this option to alter all default shortcuts that use
@@ -2103,6 +2103,7 @@
#: Copy to clipboard #: Copy to clipboard
map ctrl+shift+c copy_to_clipboard
# map kitty_mod+c copy_to_clipboard # map kitty_mod+c copy_to_clipboard
# map cmd+c copy_to_clipboard # map cmd+c copy_to_clipboard
@@ -2114,6 +2115,7 @@
#: Paste from clipboard #: Paste from clipboard
map ctrl+shift+v paste_from_clipboard
# map kitty_mod+v paste_from_clipboard # map kitty_mod+v paste_from_clipboard
# map cmd+v paste_from_clipboard # map cmd+v paste_from_clipboard
@@ -2161,11 +2163,13 @@
# map kitty_mod+page_up scroll_page_up # map kitty_mod+page_up scroll_page_up
# map cmd+page_up scroll_page_up # map cmd+page_up scroll_page_up
map alt+u scroll_page_up
#: Scroll page down #: Scroll page down
# map kitty_mod+page_down scroll_page_down # map kitty_mod+page_down scroll_page_down
# map cmd+page_down scroll_page_down # map cmd+page_down scroll_page_down
map alt+d scroll_page_down
#: Scroll to top #: Scroll to top
@@ -2180,6 +2184,7 @@
#: Scroll to previous shell prompt #: Scroll to previous shell prompt
# map kitty_mod+z scroll_to_prompt -1 # map kitty_mod+z scroll_to_prompt -1
map kitty_mod+shift+k scroll_to_prompt -1
#:: Use a parameter of 0 for scroll_to_prompt to scroll to the last #:: Use a parameter of 0 for scroll_to_prompt to scroll to the last
#:: jumped to or the last clicked position. Requires shell #:: jumped to or the last clicked position. Requires shell
@@ -2189,6 +2194,7 @@
#: Scroll to next shell prompt #: Scroll to next shell prompt
# map kitty_mod+x scroll_to_prompt 1 # map kitty_mod+x scroll_to_prompt 1
map kitty_mod+shift+j scroll_to_prompt 1
#: Browse scrollback buffer in pager #: Browse scrollback buffer in pager