- commit
- 2a72229
- parent
- 8229995
- author
- chasinglightning
- date
- 2025-06-04 19:06:16 -0400 EDT
shit from laptop
6 files changed,
+2918,
-1
+30,
-0
1@@ -0,0 +1,30 @@
2+#!/bin/bash
3+#
4+# only snippets of my bashrc
5+
6+alias nano=micro
7+alias sudo="sudo "
8+
9+eval "$(starship init bash)"
10+
11+export PATH=$PATH:/usr/local/go/bin
12+
13+# timer pomodoro thing by bashbunni
14+declare -A pomo_options
15+pomo_options=(
16+ ["quick"]="15"
17+ ["work"]="45"
18+ ["break"]="20"
19+)
20+
21+pomodoro () {
22+ if [ -n "$1" -a -n "{pomo_options["$1"]}" ]; then
23+ val=$1;
24+ timer "${pomo_options["$val"]}m"
25+ notify-send "'$val' session done" && spd-say -t female3 -r +35 "'$val' session done"
26+ fi
27+}
28+
29+alias quick="pomodoro 'quick'"
30+alias work="pomodoro 'work'"
31+alias break="pomodoro 'break'"
1@@ -0,0 +1,80 @@
2+# vim:ft=kitty
3+
4+## name: Catppuccin-Frappe
5+## author: Pocco81 (https://github.com/Pocco81)
6+## license: MIT
7+## upstream: https://github.com/catppuccin/kitty/blob/main/frappe.conf
8+## blurb: Soothing pastel theme for the high-spirited!
9+
10+
11+
12+# The basic colors
13+foreground #C6D0F5
14+background #303446
15+selection_foreground #303446
16+selection_background #F2D5CF
17+
18+# Cursor colors
19+cursor #F2D5CF
20+cursor_text_color #303446
21+
22+# URL underline color when hovering with mouse
23+url_color #F2D5CF
24+
25+# Kitty window border colors
26+active_border_color #BABBF1
27+inactive_border_color #737994
28+bell_border_color #E5C890
29+
30+# OS Window titlebar colors
31+wayland_titlebar_color system
32+macos_titlebar_color system
33+
34+# Tab bar colors
35+active_tab_foreground #232634
36+active_tab_background #CA9EE6
37+inactive_tab_foreground #C6D0F5
38+inactive_tab_background #292C3C
39+tab_bar_background #232634
40+
41+# Colors for marks (marked text in the terminal)
42+mark1_foreground #303446
43+mark1_background #BABBF1
44+mark2_foreground #303446
45+mark2_background #CA9EE6
46+mark3_foreground #303446
47+mark3_background #85C1DC
48+
49+# The 16 terminal colors
50+
51+# black
52+color0 #51576D
53+color8 #626880
54+
55+# red
56+color1 #E78284
57+color9 #E78284
58+
59+# green
60+color2 #A6D189
61+color10 #A6D189
62+
63+# yellow
64+color3 #E5C890
65+color11 #E5C890
66+
67+# blue
68+color4 #8CAAEE
69+color12 #8CAAEE
70+
71+# magenta
72+color5 #F4B8E4
73+color13 #F4B8E4
74+
75+# cyan
76+color6 #81C8BE
77+color14 #81C8BE
78+
79+# white
80+color7 #B5BFE2
81+color15 #A5ADCE
+80,
-0
1@@ -0,0 +1,80 @@
2+# vim:ft=kitty
3+
4+## name: Catppuccin-Frappe
5+## author: Pocco81 (https://github.com/Pocco81)
6+## license: MIT
7+## upstream: https://github.com/catppuccin/kitty/blob/main/frappe.conf
8+## blurb: Soothing pastel theme for the high-spirited!
9+
10+
11+
12+# The basic colors
13+foreground #C6D0F5
14+background #303446
15+selection_foreground #303446
16+selection_background #F2D5CF
17+
18+# Cursor colors
19+cursor #F2D5CF
20+cursor_text_color #303446
21+
22+# URL underline color when hovering with mouse
23+url_color #F2D5CF
24+
25+# Kitty window border colors
26+active_border_color #BABBF1
27+inactive_border_color #737994
28+bell_border_color #E5C890
29+
30+# OS Window titlebar colors
31+wayland_titlebar_color system
32+macos_titlebar_color system
33+
34+# Tab bar colors
35+active_tab_foreground #232634
36+active_tab_background #CA9EE6
37+inactive_tab_foreground #C6D0F5
38+inactive_tab_background #292C3C
39+tab_bar_background #232634
40+
41+# Colors for marks (marked text in the terminal)
42+mark1_foreground #303446
43+mark1_background #BABBF1
44+mark2_foreground #303446
45+mark2_background #CA9EE6
46+mark3_foreground #303446
47+mark3_background #85C1DC
48+
49+# The 16 terminal colors
50+
51+# black
52+color0 #51576D
53+color8 #626880
54+
55+# red
56+color1 #E78284
57+color9 #E78284
58+
59+# green
60+color2 #A6D189
61+color10 #A6D189
62+
63+# yellow
64+color3 #E5C890
65+color11 #E5C890
66+
67+# blue
68+color4 #8CAAEE
69+color12 #8CAAEE
70+
71+# magenta
72+color5 #F4B8E4
73+color13 #F4B8E4
74+
75+# cyan
76+color6 #81C8BE
77+color14 #81C8BE
78+
79+# white
80+color7 #B5BFE2
81+color15 #A5ADCE
+2718,
-0
1@@ -0,0 +1,2718 @@
2+# vim:fileencoding=utf-8:foldmethod=marker
3+
4+# BEGIN_KITTY_THEME
5+# Catppuccin-Frappe
6+include current-theme.conf
7+# END_KITTY_THEME
8+
9+#: Fonts {{{
10+
11+#: kitty has very powerful font management. You can configure
12+#: individual font faces and even specify special fonts for particular
13+#: characters.
14+
15+font_family Ubuntu Mono
16+# bold_font auto
17+# italic_font auto
18+# bold_italic_font auto
19+
20+#: You can specify different fonts for the bold/italic/bold-italic
21+#: variants. The easiest way to select fonts is to run the `kitten
22+#: choose-fonts` command which will present a nice UI for you to
23+#: select the fonts you want with previews and support for selecting
24+#: variable fonts and font features. If you want to learn to select
25+#: fonts manually, read the font specification syntax
26+#: <https://sw.kovidgoyal.net/kitty/kittens/choose-fonts/#font-spec-
27+#: syntax>.
28+
29+font_size 16.0
30+
31+#: Font size (in pts).
32+
33+# force_ltr no
34+
35+#: kitty does not support BIDI (bidirectional text), however, for RTL
36+#: scripts, words are automatically displayed in RTL. That is to say,
37+#: in an RTL script, the words "HELLO WORLD" display in kitty as
38+#: "WORLD HELLO", and if you try to select a substring of an RTL-
39+#: shaped string, you will get the character that would be there had
40+#: the string been LTR. For example, assuming the Hebrew word ירושלים,
41+#: selecting the character that on the screen appears to be ם actually
42+#: writes into the selection buffer the character י. kitty's default
43+#: behavior is useful in conjunction with a filter to reverse the word
44+#: order, however, if you wish to manipulate RTL glyphs, it can be
45+#: very challenging to work with, so this option is provided to turn
46+#: it off. Furthermore, this option can be used with the command line
47+#: program GNU FriBidi <https://github.com/fribidi/fribidi#executable>
48+#: to get BIDI support, because it will force kitty to always treat
49+#: the text as LTR, which FriBidi expects for terminals.
50+
51+# symbol_map
52+
53+#: E.g. symbol_map U+E0A0-U+E0A3,U+E0C0-U+E0C7 PowerlineSymbols
54+
55+#: Map the specified Unicode codepoints to a particular font. Useful
56+#: if you need special rendering for some symbols, such as for
57+#: Powerline. Avoids the need for patched fonts. Each Unicode code
58+#: point is specified in the form `U+<code point in hexadecimal>`. You
59+#: can specify multiple code points, separated by commas and ranges
60+#: separated by hyphens. This option can be specified multiple times.
61+#: The syntax is::
62+
63+#: symbol_map codepoints Font Family Name
64+
65+# narrow_symbols
66+
67+#: E.g. narrow_symbols U+E0A0-U+E0A3,U+E0C0-U+E0C7 1
68+
69+#: Usually, for Private Use Unicode characters and some symbol/dingbat
70+#: characters, if the character is followed by one or more spaces,
71+#: kitty will use those extra cells to render the character larger, if
72+#: the character in the font has a wide aspect ratio. Using this
73+#: option you can force kitty to restrict the specified code points to
74+#: render in the specified number of cells (defaulting to one cell).
75+#: This option can be specified multiple times. The syntax is::
76+
77+#: narrow_symbols codepoints [optionally the number of cells]
78+
79+# disable_ligatures never
80+
81+#: Choose how you want to handle multi-character ligatures. The
82+#: default is to always render them. You can tell kitty to not render
83+#: them when the cursor is over them by using cursor to make editing
84+#: easier, or have kitty never render them at all by using always, if
85+#: you don't like them. The ligature strategy can be set per-window
86+#: either using the kitty remote control facility or by defining
87+#: shortcuts for it in kitty.conf, for example::
88+
89+#: map alt+1 disable_ligatures_in active always
90+#: map alt+2 disable_ligatures_in all never
91+#: map alt+3 disable_ligatures_in tab cursor
92+
93+#: Note that this refers to programming ligatures, typically
94+#: implemented using the calt OpenType feature. For disabling general
95+#: ligatures, use the font_features option.
96+
97+# font_features
98+
99+#: E.g. font_features none
100+
101+#: Choose exactly which OpenType features to enable or disable. Note
102+#: that for the main fonts, features can be specified when selecting
103+#: the font using the choose-fonts kitten. This setting is useful for
104+#: fallback fonts.
105+
106+#: Some fonts might have features worthwhile in a terminal. For
107+#: example, Fira Code includes a discretionary feature, zero, which in
108+#: that font changes the appearance of the zero (0), to make it more
109+#: easily distinguishable from Ø. Fira Code also includes other
110+#: discretionary features known as Stylistic Sets which have the tags
111+#: ss01 through ss20.
112+
113+#: For the exact syntax to use for individual features, see the
114+#: HarfBuzz documentation <https://harfbuzz.github.io/harfbuzz-hb-
115+#: common.html#hb-feature-from-string>.
116+
117+#: Note that this code is indexed by PostScript name, and not the font
118+#: family. This allows you to define very precise feature settings;
119+#: e.g. you can disable a feature in the italic font but not in the
120+#: regular font.
121+
122+#: On Linux, font features are first read from the FontConfig database
123+#: and then this option is applied, so they can be configured in a
124+#: single, central place.
125+
126+#: To get the PostScript name for a font, use the `fc-scan file.ttf`
127+#: command on Linux or the `Font Book tool on macOS
128+#: <https://apple.stackexchange.com/questions/79875/how-can-i-get-the-
129+#: postscript-name-of-a-ttf-font-installed-in-os-x>`__.
130+
131+#: Enable alternate zero and oldstyle numerals::
132+
133+#: font_features FiraCode-Retina +zero +onum
134+
135+#: Enable only alternate zero in the bold font::
136+
137+#: font_features FiraCode-Bold +zero
138+
139+#: Disable the normal ligatures, but keep the calt feature which (in
140+#: this font) breaks up monotony::
141+
142+#: font_features TT2020StyleB-Regular -liga +calt
143+
144+#: In conjunction with force_ltr, you may want to disable Arabic
145+#: shaping entirely, and only look at their isolated forms if they
146+#: show up in a document. You can do this with e.g.::
147+
148+#: font_features UnifontMedium +isol -medi -fina -init
149+
150+# modify_font
151+
152+#: Modify font characteristics such as the position or thickness of
153+#: the underline and strikethrough. The modifications can have the
154+#: suffix px for pixels or % for percentage of original value. No
155+#: suffix means use pts. For example::
156+
157+#: modify_font underline_position -2
158+#: modify_font underline_thickness 150%
159+#: modify_font strikethrough_position 2px
160+
161+#: Additionally, you can modify the size of the cell in which each
162+#: font glyph is rendered and the baseline at which the glyph is
163+#: placed in the cell. For example::
164+
165+#: modify_font cell_width 80%
166+#: modify_font cell_height -2px
167+#: modify_font baseline 3
168+
169+#: Note that modifying the baseline will automatically adjust the
170+#: underline and strikethrough positions by the same amount.
171+#: Increasing the baseline raises glyphs inside the cell and
172+#: decreasing it lowers them. Decreasing the cell size might cause
173+#: rendering artifacts, so use with care.
174+
175+# box_drawing_scale 0.001, 1, 1.5, 2
176+
177+#: The sizes of the lines used for the box drawing Unicode characters.
178+#: These values are in pts. They will be scaled by the monitor DPI to
179+#: arrive at a pixel value. There must be four values corresponding to
180+#: thin, normal, thick, and very thick lines.
181+
182+# undercurl_style thin-sparse
183+
184+#: The style with which undercurls are rendered. This option takes the
185+#: form (thin|thick)-(sparse|dense). Thin and thick control the
186+#: thickness of the undercurl. Sparse and dense control how often the
187+#: curl oscillates. With sparse the curl will peak once per character,
188+#: with dense twice. Changing this option dynamically via reloading
189+#: the config or remote control is undefined.
190+
191+# underline_exclusion 1
192+
193+#: By default kitty renders gaps in underlines when they overlap with
194+#: descenders (the parts of letters below the baseline, such as for y,
195+#: q, p etc.). This option controls the thickness of the gaps. It can
196+#: be either a unitless number in which case it is a fraction of the
197+#: underline thickness as specified in the font or it can have a
198+#: suffix of px for pixels or pt for points. Set to zero to disable
199+#: the gaps. Changing this option dynamically via reloading the config
200+#: or remote control is undefined.
201+
202+# text_composition_strategy platform
203+
204+#: Control how kitty composites text glyphs onto the background color.
205+#: The default value of platform tries for text rendering as close to
206+#: "native" for the platform kitty is running on as possible.
207+
208+#: A value of legacy uses the old (pre kitty 0.28) strategy for how
209+#: glyphs are composited. This will make dark text on light
210+#: backgrounds look thicker and light text on dark backgrounds
211+#: thinner. It might also make some text appear like the strokes are
212+#: uneven.
213+
214+#: You can fine tune the actual contrast curve used for glyph
215+#: composition by specifying up to two space-separated numbers for
216+#: this setting.
217+
218+#: The first number is the gamma adjustment, which controls the
219+#: thickness of dark text on light backgrounds. Increasing the value
220+#: will make text appear thicker. The default value for this is 1.0 on
221+#: Linux and 1.7 on macOS. Valid values are 0.01 and above. The result
222+#: is scaled based on the luminance difference between the background
223+#: and the foreground. Dark text on light backgrounds receives the
224+#: full impact of the curve while light text on dark backgrounds is
225+#: affected very little.
226+
227+#: The second number is an additional multiplicative contrast. It is
228+#: percentage ranging from 0 to 100. The default value is 0 on Linux
229+#: and 30 on macOS.
230+
231+#: If you wish to achieve similar looking thickness in light and dark
232+#: themes, a good way to experiment is start by setting the value to
233+#: 1.0 0 and use a dark theme. Then adjust the second parameter until
234+#: it looks good. Then switch to a light theme and adjust the first
235+#: parameter until the perceived thickness matches the dark theme.
236+
237+# text_fg_override_threshold 0
238+
239+#: A setting to prevent low contrast between foreground and background
240+#: colors. Useful when working with applications that use colors that
241+#: do not contrast well with your preferred color scheme. The default
242+#: value is 0, which means no color overriding is performed. There are
243+#: two modes of operation:
244+
245+#: A value with the suffix ratio represents the minimum accepted
246+#: contrast ratio between the foreground and background color.
247+#: Possible values range from 0.0 ratio to 21.0 ratio. For example, to
248+#: meet WCAG level AA
249+#: <https://en.wikipedia.org/wiki/Web_Content_Accessibility_Guidelines>
250+#: a value of 4.5 ratio can be provided. The algorithm is implemented
251+#: using HSLuv <https://www.hsluv.org/> which enables it to change the
252+#: perceived lightness of a color just as much as needed without
253+#: really changing its hue and saturation.
254+
255+#: A value with the suffix % represents the minimum accepted
256+#: difference in luminance between the foreground and background
257+#: color, below which kitty will override the foreground color. It is
258+#: percentage ranging from 0 % to 100 %. If the difference in
259+#: luminance of the foreground and background is below this threshold,
260+#: the foreground color will be set to white if the background is dark
261+#: or black if the background is light.
262+
263+#: WARNING: Some programs use characters (such as block characters)
264+#: for graphics display and may expect to be able to set the
265+#: foreground and background to the same color (or similar colors). If
266+#: you see unexpected stripes, dots, lines, incorrect color, no color
267+#: where you expect color, or any kind of graphic display problem try
268+#: setting text_fg_override_threshold to 0 to see if this is the cause
269+#: of the problem or consider using the ratio mode of operation
270+#: described above instead of the % mode of operation.
271+
272+#: }}}
273+
274+#: Text cursor customization {{{
275+
276+# cursor #cccccc
277+
278+#: Default text cursor color. If set to the special value none the
279+#: cursor will be rendered with a "reverse video" effect. Its color
280+#: will be the color of the text in the cell it is over and the text
281+#: will be rendered with the background color of the cell. Note that
282+#: if the program running in the terminal sets a cursor color, this
283+#: takes precedence. Also, the cursor colors are modified if the cell
284+#: background and foreground colors have very low contrast. Note that
285+#: some themes set this value, so if you want to override it, place
286+#: your value after the lines where the theme file is included.
287+
288+# cursor_text_color #111111
289+
290+#: The color of text under the cursor. If you want it rendered with
291+#: the background color of the cell underneath instead, use the
292+#: special keyword: `background`. Note that if cursor is set to none
293+#: then this option is ignored. Note that some themes set this value,
294+#: so if you want to override it, place your value after the lines
295+#: where the theme file is included.
296+
297+# cursor_shape block
298+
299+#: The cursor shape can be one of block, beam, underline. Note that
300+#: when reloading the config this will be changed only if the cursor
301+#: shape has not been set by the program running in the terminal. This
302+#: sets the default cursor shape, applications running in the terminal
303+#: can override it. In particular, shell integration
304+#: <https://sw.kovidgoyal.net/kitty/shell-integration/> in kitty sets
305+#: the cursor shape to beam at shell prompts. You can avoid this by
306+#: setting shell_integration to no-cursor.
307+
308+# cursor_shape_unfocused hollow
309+
310+#: Defines the text cursor shape when the OS window is not focused.
311+#: The unfocused cursor shape can be one of block, beam, underline,
312+#: hollow and unchanged (leave the cursor shape as it is).
313+
314+# cursor_beam_thickness 1.5
315+
316+#: The thickness of the beam cursor (in pts).
317+
318+# cursor_underline_thickness 2.0
319+
320+#: The thickness of the underline cursor (in pts).
321+
322+# cursor_blink_interval -1
323+
324+#: The interval to blink the cursor (in seconds). Set to zero to
325+#: disable blinking. Negative values mean use system default. Note
326+#: that the minimum interval will be limited to repaint_delay. You can
327+#: also animate the cursor blink by specifying an easing function. For
328+#: example, setting this to option to 0.5 ease-in-out will cause the
329+#: cursor blink to be animated over a second, in the first half of the
330+#: second it will go from opaque to transparent and then back again
331+#: over the next half. You can specify different easing functions for
332+#: the two halves, for example: -1 linear ease-out. kitty supports all
333+#: the CSS easing functions <https://developer.mozilla.org/en-
334+#: US/docs/Web/CSS/easing-function>. Note that turning on animations
335+#: uses extra power as it means the screen is redrawn multiple times
336+#: per blink interval. See also, cursor_stop_blinking_after.
337+
338+# cursor_stop_blinking_after 15.0
339+
340+#: Stop blinking cursor after the specified number of seconds of
341+#: keyboard inactivity. Set to zero to never stop blinking.
342+
343+# cursor_trail 0
344+
345+#: Set this to a value larger than zero to enable a "cursor trail"
346+#: animation. This is an animation that shows a "trail" following the
347+#: movement of the text cursor. It makes it easy to follow large
348+#: cursor jumps and makes for a cool visual effect of the cursor
349+#: zooming around the screen. The actual value of this option controls
350+#: when the animation is triggered. It is a number of milliseconds.
351+#: The trail animation only follows cursors that have stayed in their
352+#: position for longer than the specified number of milliseconds. This
353+#: prevents trails from appearing for cursors that rapidly change
354+#: their positions during UI updates in complex applications. See
355+#: cursor_trail_decay to control the animation speed and
356+#: cursor_trail_start_threshold to control when a cursor trail is
357+#: started.
358+
359+# cursor_trail_decay 0.1 0.4
360+
361+#: Controls the decay times for the cursor trail effect when the
362+#: cursor_trail is enabled. This option accepts two positive float
363+#: values specifying the fastest and slowest decay times in seconds.
364+#: The first value corresponds to the fastest decay time (minimum),
365+#: and the second value corresponds to the slowest decay time
366+#: (maximum). The second value must be equal to or greater than the
367+#: first value. Smaller values result in a faster decay of the cursor
368+#: trail. Adjust these values to control how quickly the cursor trail
369+#: fades away.
370+
371+# cursor_trail_start_threshold 2
372+
373+#: Set the distance threshold for starting the cursor trail. This
374+#: option accepts a positive integer value that represents the minimum
375+#: number of cells the cursor must move before the trail is started.
376+#: When the cursor moves less than this threshold, the trail is
377+#: skipped, reducing unnecessary cursor trail animation.
378+
379+#: }}}
380+
381+#: Scrollback {{{
382+
383+# scrollback_lines 2000
384+
385+#: Number of lines of history to keep in memory for scrolling back.
386+#: Memory is allocated on demand. Negative numbers are (effectively)
387+#: infinite scrollback. Note that using very large scrollback is not
388+#: recommended as it can slow down performance of the terminal and
389+#: also use large amounts of RAM. Instead, consider using
390+#: scrollback_pager_history_size. Note that on config reload if this
391+#: is changed it will only affect newly created windows, not existing
392+#: ones.
393+
394+# scrollback_indicator_opacity 1.0
395+
396+#: The opacity of the scrollback indicator which is a small colored
397+#: rectangle that moves along the right hand side of the window as you
398+#: scroll, indicating what fraction you have scrolled. The default is
399+#: one which means fully opaque, aka visible. Set to a value between
400+#: zero and one to make the indicator less visible.
401+
402+# scrollback_pager less --chop-long-lines --RAW-CONTROL-CHARS +INPUT_LINE_NUMBER
403+
404+#: Program with which to view scrollback in a new window. The
405+#: scrollback buffer is passed as STDIN to this program. If you change
406+#: it, make sure the program you use can handle ANSI escape sequences
407+#: for colors and text formatting. INPUT_LINE_NUMBER in the command
408+#: line above will be replaced by an integer representing which line
409+#: should be at the top of the screen. Similarly CURSOR_LINE and
410+#: CURSOR_COLUMN will be replaced by the current cursor position or
411+#: set to 0 if there is no cursor, for example, when showing the last
412+#: command output.
413+
414+# scrollback_pager_history_size 0
415+
416+#: Separate scrollback history size (in MB), used only for browsing
417+#: the scrollback buffer with pager. This separate buffer is not
418+#: available for interactive scrolling but will be piped to the pager
419+#: program when viewing scrollback buffer in a separate window. The
420+#: current implementation stores the data in UTF-8, so approximately
421+#: 10000 lines per megabyte at 100 chars per line, for pure ASCII,
422+#: unformatted text. A value of zero or less disables this feature.
423+#: The maximum allowed size is 4GB. Note that on config reload if this
424+#: is changed it will only affect newly created windows, not existing
425+#: ones.
426+
427+# scrollback_fill_enlarged_window no
428+
429+#: Fill new space with lines from the scrollback buffer after
430+#: enlarging a window.
431+
432+# wheel_scroll_multiplier 5.0
433+
434+#: Multiplier for the number of lines scrolled by the mouse wheel.
435+#: Note that this is only used for low precision scrolling devices,
436+#: not for high precision scrolling devices on platforms such as macOS
437+#: and Wayland. Use negative numbers to change scroll direction. See
438+#: also wheel_scroll_min_lines.
439+
440+# wheel_scroll_min_lines 1
441+
442+#: The minimum number of lines scrolled by the mouse wheel. The scroll
443+#: multiplier wheel_scroll_multiplier only takes effect after it
444+#: reaches this number. Note that this is only used for low precision
445+#: scrolling devices like wheel mice that scroll by very small amounts
446+#: when using the wheel. With a negative number, the minimum number of
447+#: lines will always be added.
448+
449+# touch_scroll_multiplier 1.0
450+
451+#: Multiplier for the number of lines scrolled by a touchpad. Note
452+#: that this is only used for high precision scrolling devices on
453+#: platforms such as macOS and Wayland. Use negative numbers to change
454+#: scroll direction.
455+
456+#: }}}
457+
458+#: Mouse {{{
459+
460+# mouse_hide_wait 3.0
461+
462+#: Hide mouse cursor after the specified number of seconds of the
463+#: mouse not being used. Set to zero to disable mouse cursor hiding.
464+#: Set to a negative value to hide the mouse cursor immediately when
465+#: typing text. Disabled by default on macOS as getting it to work
466+#: robustly with the ever-changing sea of bugs that is Cocoa is too
467+#: much effort.
468+
469+# url_color #0087bd
470+# url_style curly
471+
472+#: The color and style for highlighting URLs on mouse-over. url_style
473+#: can be one of: none, straight, double, curly, dotted, dashed.
474+
475+# open_url_with default
476+
477+#: The program to open clicked URLs. The special value default will
478+#: first look for any URL handlers defined via the open_actions
479+#: <https://sw.kovidgoyal.net/kitty/open_actions/> facility and if non
480+#: are found, it will use the Operating System's default URL handler
481+#: (open on macOS and xdg-open on Linux).
482+
483+# url_prefixes file ftp ftps gemini git gopher http https irc ircs kitty mailto news sftp ssh
484+
485+#: The set of URL prefixes to look for when detecting a URL under the
486+#: mouse cursor.
487+
488+# detect_urls yes
489+
490+#: Detect URLs under the mouse. Detected URLs are highlighted with an
491+#: underline and the mouse cursor becomes a hand over them. Even if
492+#: this option is disabled, URLs are still clickable. See also the
493+#: underline_hyperlinks option to control how hyperlinks (as opposed
494+#: to plain text URLs) are displayed.
495+
496+# url_excluded_characters
497+
498+#: Additional characters to be disallowed from URLs, when detecting
499+#: URLs under the mouse cursor. By default, all characters that are
500+#: legal in URLs are allowed. Additionally, newlines are allowed (but
501+#: stripped). This is to accommodate programs such as mutt that add
502+#: hard line breaks even for continued lines. \n can be added to this
503+#: option to disable this behavior. Special characters can be
504+#: specified using backslash escapes, to specify a backslash use a
505+#: double backslash.
506+
507+# show_hyperlink_targets no
508+
509+#: When the mouse hovers over a terminal hyperlink, show the actual
510+#: URL that will be activated when the hyperlink is clicked.
511+
512+# underline_hyperlinks hover
513+
514+#: Control how hyperlinks are underlined. They can either be
515+#: underlined on mouse hover, always (i.e. permanently underlined) or
516+#: never which means that kitty will not apply any underline styling
517+#: to hyperlinks. Note that the value of always only applies to real
518+#: (OSC 8) hyperlinks not text that is detected to be a URL on mouse
519+#: hover. Uses the url_style and url_color settings for the underline
520+#: style. Note that reloading the config and changing this value
521+#: to/from always will only affect text subsequently received by
522+#: kitty.
523+
524+# copy_on_select no
525+
526+#: Copy to clipboard or a private buffer on select. With this set to
527+#: clipboard, selecting text with the mouse will cause the text to be
528+#: copied to clipboard. Useful on platforms such as macOS that do not
529+#: have the concept of primary selection. You can instead specify a
530+#: name such as a1 to copy to a private kitty buffer. Map a shortcut
531+#: with the paste_from_buffer action to paste from this private
532+#: buffer. For example::
533+
534+#: copy_on_select a1
535+#: map shift+cmd+v paste_from_buffer a1
536+
537+#: Note that copying to the clipboard is a security risk, as all
538+#: programs, including websites open in your browser can read the
539+#: contents of the system clipboard.
540+
541+# clear_selection_on_clipboard_loss no
542+
543+#: When the contents of the clipboard no longer reflect the current
544+#: selection, clear it. This is primarily useful on platforms such as
545+#: Linux where selecting text automatically copies it to a special
546+#: "primary selection" clipboard or if you have copy_on_select set to
547+#: clipboard.
548+
549+#: Note that on macOS the system does not provide notifications when
550+#: the clipboard owner is changed, so there, copying to clipboard in a
551+#: non-kitty application will not clear selections even if
552+#: copy_on_select is enabled.
553+
554+# paste_actions quote-urls-at-prompt,confirm
555+
556+#: A comma separated list of actions to take when pasting text into
557+#: the terminal. The supported paste actions are:
558+
559+#: quote-urls-at-prompt:
560+#: If the text being pasted is a URL and the cursor is at a shell prompt,
561+#: automatically quote the URL (needs shell_integration).
562+#: replace-dangerous-control-codes
563+#: Replace dangerous control codes from pasted text, without confirmation.
564+#: replace-newline
565+#: Replace the newline character from pasted text, without confirmation.
566+#: confirm:
567+#: Confirm the paste if the text to be pasted contains any terminal control codes
568+#: as this can be dangerous, leading to code execution if the shell/program running
569+#: in the terminal does not properly handle these.
570+#: confirm-if-large
571+#: Confirm the paste if it is very large (larger than 16KB) as pasting
572+#: large amounts of text into shells can be very slow.
573+#: filter:
574+#: Run the filter_paste() function from the file paste-actions.py in
575+#: the kitty config directory on the pasted text. The text returned by the
576+#: function will be actually pasted.
577+#: no-op:
578+#: Has no effect.
579+
580+# strip_trailing_spaces never
581+
582+#: Remove spaces at the end of lines when copying to clipboard. A
583+#: value of smart will do it when using normal selections, but not
584+#: rectangle selections. A value of always will always do it.
585+
586+# select_by_word_characters @-./_~?&=%+#
587+
588+#: Characters considered part of a word when double clicking. In
589+#: addition to these characters any character that is marked as an
590+#: alphanumeric character in the Unicode database will be matched.
591+
592+# select_by_word_characters_forward
593+
594+#: Characters considered part of a word when extending the selection
595+#: forward on double clicking. In addition to these characters any
596+#: character that is marked as an alphanumeric character in the
597+#: Unicode database will be matched.
598+
599+#: If empty (default) select_by_word_characters will be used for both
600+#: directions.
601+
602+# click_interval -1.0
603+
604+#: The interval between successive clicks to detect double/triple
605+#: clicks (in seconds). Negative numbers will use the system default
606+#: instead, if available, or fallback to 0.5.
607+
608+# focus_follows_mouse no
609+
610+#: Set the active window to the window under the mouse when moving the
611+#: mouse around. On macOS, this will also cause the OS Window under
612+#: the mouse to be focused automatically when the mouse enters it.
613+
614+# pointer_shape_when_grabbed arrow
615+
616+#: The shape of the mouse pointer when the program running in the
617+#: terminal grabs the mouse.
618+
619+# default_pointer_shape beam
620+
621+#: The default shape of the mouse pointer.
622+
623+# pointer_shape_when_dragging beam crosshair
624+
625+#: The default shape of the mouse pointer when dragging across text.
626+#: The optional second value sets the shape when dragging in
627+#: rectangular selection mode.
628+
629+#: Mouse actions {{{
630+
631+#: Mouse buttons can be mapped to perform arbitrary actions. The
632+#: syntax is:
633+
634+#: .. code-block:: none
635+
636+#: mouse_map button-name event-type modes action
637+
638+#: Where button-name is one of left, middle, right, b1 ... b8 with
639+#: added keyboard modifiers. For example: ctrl+shift+left refers to
640+#: holding the Ctrl+Shift keys while clicking with the left mouse
641+#: button. The value b1 ... b8 can be used to refer to up to eight
642+#: buttons on a mouse.
643+
644+#: event-type is one of press, release, doublepress, triplepress,
645+#: click, doubleclick. modes indicates whether the action is performed
646+#: when the mouse is grabbed by the program running in the terminal,
647+#: or not. The values are grabbed or ungrabbed or a comma separated
648+#: combination of them. grabbed refers to when the program running in
649+#: the terminal has requested mouse events. Note that the click and
650+#: double click events have a delay of click_interval to disambiguate
651+#: from double and triple presses.
652+
653+#: You can run kitty with the kitty --debug-input command line option
654+#: to see mouse events. See the builtin actions below to get a sense
655+#: of what is possible.
656+
657+#: If you want to unmap a button, map it to nothing. For example, to
658+#: disable opening of URLs with a plain click::
659+
660+#: mouse_map left click ungrabbed
661+
662+#: See all the mappable actions including mouse actions here
663+#: <https://sw.kovidgoyal.net/kitty/actions/>.
664+
665+#: .. note::
666+#: Once a selection is started, releasing the button that started it will
667+#: automatically end it and no release event will be dispatched.
668+
669+# clear_all_mouse_actions no
670+
671+#: Remove all mouse action definitions up to this point. Useful, for
672+#: instance, to remove the default mouse actions.
673+
674+#: Click the link under the mouse or move the cursor
675+
676+# mouse_map left click ungrabbed mouse_handle_click selection link prompt
677+
678+#:: First check for a selection and if one exists do nothing. Then
679+#:: check for a link under the mouse cursor and if one exists, click
680+#:: it. Finally check if the click happened at the current shell
681+#:: prompt and if so, move the cursor to the click location. Note
682+#:: that this requires shell integration
683+#:: <https://sw.kovidgoyal.net/kitty/shell-integration/> to work.
684+
685+#: Click the link under the mouse or move the cursor even when grabbed
686+
687+# mouse_map shift+left click grabbed,ungrabbed mouse_handle_click selection link prompt
688+
689+#:: Same as above, except that the action is performed even when the
690+#:: mouse is grabbed by the program running in the terminal.
691+
692+#: Click the link under the mouse cursor
693+
694+# mouse_map ctrl+shift+left release grabbed,ungrabbed mouse_handle_click link
695+
696+#:: Variant with Ctrl+Shift is present because the simple click based
697+#:: version has an unavoidable delay of click_interval, to
698+#:: disambiguate clicks from double clicks.
699+
700+#: Discard press event for link click
701+
702+# mouse_map ctrl+shift+left press grabbed discard_event
703+
704+#:: Prevent this press event from being sent to the program that has
705+#:: grabbed the mouse, as the corresponding release event is used to
706+#:: open a URL.
707+
708+#: Paste from the primary selection
709+
710+# mouse_map middle release ungrabbed paste_from_selection
711+
712+#: Start selecting text
713+
714+# mouse_map left press ungrabbed mouse_selection normal
715+
716+#: Start selecting text in a rectangle
717+
718+# mouse_map ctrl+alt+left press ungrabbed mouse_selection rectangle
719+
720+#: Select a word
721+
722+# mouse_map left doublepress ungrabbed mouse_selection word
723+
724+#: Select a line
725+
726+# mouse_map left triplepress ungrabbed mouse_selection line
727+
728+#: Select line from point
729+
730+# mouse_map ctrl+alt+left triplepress ungrabbed mouse_selection line_from_point
731+
732+#:: Select from the clicked point to the end of the line. If you
733+#:: would like to select the word at the point and then extend to the
734+#:: rest of the line, change `line_from_point` to
735+#:: `word_and_line_from_point`.
736+
737+#: Extend the current selection
738+
739+# mouse_map right press ungrabbed mouse_selection extend
740+
741+#:: If you want only the end of the selection to be moved instead of
742+#:: the nearest boundary, use move-end instead of extend.
743+
744+#: Paste from the primary selection even when grabbed
745+
746+# mouse_map shift+middle release ungrabbed,grabbed paste_selection
747+# mouse_map shift+middle press grabbed discard_event
748+
749+#: Start selecting text even when grabbed
750+
751+# mouse_map shift+left press ungrabbed,grabbed mouse_selection normal
752+
753+#: Start selecting text in a rectangle even when grabbed
754+
755+# mouse_map ctrl+shift+alt+left press ungrabbed,grabbed mouse_selection rectangle
756+
757+#: Select a word even when grabbed
758+
759+# mouse_map shift+left doublepress ungrabbed,grabbed mouse_selection word
760+
761+#: Select a line even when grabbed
762+
763+# mouse_map shift+left triplepress ungrabbed,grabbed mouse_selection line
764+
765+#: Select line from point even when grabbed
766+
767+# mouse_map ctrl+shift+alt+left triplepress ungrabbed,grabbed mouse_selection line_from_point
768+
769+#:: Select from the clicked point to the end of the line even when
770+#:: grabbed. If you would like to select the word at the point and
771+#:: then extend to the rest of the line, change `line_from_point` to
772+#:: `word_and_line_from_point`.
773+
774+#: Extend the current selection even when grabbed
775+
776+# mouse_map shift+right press ungrabbed,grabbed mouse_selection extend
777+
778+#: Show clicked command output in pager
779+
780+# mouse_map ctrl+shift+right press ungrabbed mouse_show_command_output
781+
782+#:: Requires shell integration
783+#:: <https://sw.kovidgoyal.net/kitty/shell-integration/> to work.
784+
785+#: }}}
786+
787+#: }}}
788+
789+#: Performance tuning {{{
790+
791+# repaint_delay 10
792+
793+#: Delay between screen updates (in milliseconds). Decreasing it,
794+#: increases frames-per-second (FPS) at the cost of more CPU usage.
795+#: The default value yields ~100 FPS which is more than sufficient for
796+#: most uses. Note that to actually achieve 100 FPS, you have to
797+#: either set sync_to_monitor to no or use a monitor with a high
798+#: refresh rate. Also, to minimize latency when there is pending input
799+#: to be processed, this option is ignored.
800+
801+# input_delay 3
802+
803+#: Delay before input from the program running in the terminal is
804+#: processed (in milliseconds). Note that decreasing it will increase
805+#: responsiveness, but also increase CPU usage and might cause flicker
806+#: in full screen programs that redraw the entire screen on each loop,
807+#: because kitty is so fast that partial screen updates will be drawn.
808+#: This setting is ignored when the input buffer is almost full.
809+
810+# sync_to_monitor yes
811+
812+#: Sync screen updates to the refresh rate of the monitor. This
813+#: prevents screen tearing
814+#: <https://en.wikipedia.org/wiki/Screen_tearing> when scrolling.
815+#: However, it limits the rendering speed to the refresh rate of your
816+#: monitor. With a very high speed mouse/high keyboard repeat rate,
817+#: you may notice some slight input latency. If so, set this to no.
818+
819+#: }}}
820+
821+#: Terminal bell {{{
822+
823+# enable_audio_bell yes
824+
825+#: The audio bell. Useful to disable it in environments that require
826+#: silence.
827+
828+# visual_bell_duration 0.0
829+
830+#: The visual bell duration (in seconds). Flash the screen when a bell
831+#: occurs for the specified number of seconds. Set to zero to disable.
832+#: The flash is animated, fading in and out over the specified
833+#: duration. The easing function used for the fading can be
834+#: controlled. For example, 2.0 linear will casuse the flash to fade
835+#: in and out linearly. The default if unspecified is to use ease-in-
836+#: out which fades slowly at the start, middle and end. You can
837+#: specify different easing functions for the fade-in and fade-out
838+#: parts, like this: 2.0 ease-in linear. kitty supports all the CSS
839+#: easing functions <https://developer.mozilla.org/en-
840+#: US/docs/Web/CSS/easing-function>.
841+
842+# visual_bell_color none
843+
844+#: The color used by visual bell. Set to none will fall back to
845+#: selection background color. If you feel that the visual bell is too
846+#: bright, you can set it to a darker color.
847+
848+# window_alert_on_bell yes
849+
850+#: Request window attention on bell. Makes the dock icon bounce on
851+#: macOS or the taskbar flash on Linux.
852+
853+# bell_on_tab "🔔 "
854+
855+#: Some text or a Unicode symbol to show on the tab if a window in the
856+#: tab that does not have focus has a bell. If you want to use leading
857+#: or trailing spaces, surround the text with quotes. See
858+#: tab_title_template for how this is rendered.
859+
860+#: For backwards compatibility, values of yes, y and true are
861+#: converted to the default bell symbol and no, n, false and none are
862+#: converted to the empty string.
863+
864+# command_on_bell none
865+
866+#: Program to run when a bell occurs. The environment variable
867+#: KITTY_CHILD_CMDLINE can be used to get the program running in the
868+#: window in which the bell occurred.
869+
870+# bell_path none
871+
872+#: Path to a sound file to play as the bell sound. If set to none, the
873+#: system default bell sound is used. Must be in a format supported by
874+#: the operating systems sound API, such as WAV or OGA on Linux
875+#: (libcanberra) or AIFF, MP3 or WAV on macOS (NSSound).
876+
877+# linux_bell_theme __custom
878+
879+#: The XDG Sound Theme kitty will use to play the bell sound. Defaults
880+#: to the custom theme name specified in the XDG Sound theme
881+#: specification <https://specifications.freedesktop.org/sound-theme-
882+#: spec/latest/sound_lookup.html>, falling back to the default
883+#: freedesktop theme if it does not exist. To change your sound theme
884+#: desktop wide, create
885+#: :file:~/.local/share/sounds/__custom/index.theme` with the
886+#: contents:
887+
888+#: [Sound Theme]
889+
890+#: Inherits=name-of-the-sound-theme-you-want-to-use
891+
892+#: Replace name-of-the-sound-theme-you-want-to-use with the actual
893+#: theme name. Now all compliant applications should use sounds from
894+#: this theme.
895+
896+#: }}}
897+
898+#: Window layout {{{
899+
900+# remember_window_size yes
901+# initial_window_width 640
902+# initial_window_height 400
903+
904+#: If enabled, the OS Window size will be remembered so that new
905+#: instances of kitty will have the same size as the previous
906+#: instance. If disabled, the OS Window will initially have size
907+#: configured by initial_window_width/height, in pixels. You can use a
908+#: suffix of "c" on the width/height values to have them interpreted
909+#: as number of cells instead of pixels.
910+
911+# enabled_layouts *
912+
913+#: The enabled window layouts. A comma separated list of layout names.
914+#: The special value all means all layouts. The first listed layout
915+#: will be used as the startup layout. Default configuration is all
916+#: layouts in alphabetical order. For a list of available layouts, see
917+#: the layouts <https://sw.kovidgoyal.net/kitty/overview/#layouts>.
918+
919+# window_resize_step_cells 2
920+# window_resize_step_lines 2
921+
922+#: The step size (in units of cell width/cell height) to use when
923+#: resizing kitty windows in a layout with the shortcut
924+#: start_resizing_window. The cells value is used for horizontal
925+#: resizing, and the lines value is used for vertical resizing.
926+
927+# window_border_width 0.5pt
928+
929+#: The width of window borders. Can be either in pixels (px) or pts
930+#: (pt). Values in pts will be rounded to the nearest number of pixels
931+#: based on screen resolution. If not specified, the unit is assumed
932+#: to be pts. Note that borders are displayed only when more than one
933+#: window is visible. They are meant to separate multiple windows.
934+
935+# draw_minimal_borders yes
936+
937+#: Draw only the minimum borders needed. This means that only the
938+#: borders that separate the window from a neighbor are drawn. Note
939+#: that setting a non-zero window_margin_width overrides this and
940+#: causes all borders to be drawn.
941+
942+# window_margin_width 0
943+
944+#: The window margin (in pts) (blank area outside the border). A
945+#: single value sets all four sides. Two values set the vertical and
946+#: horizontal sides. Three values set top, horizontal and bottom. Four
947+#: values set top, right, bottom and left.
948+
949+# single_window_margin_width -1
950+
951+#: The window margin to use when only a single window is visible (in
952+#: pts). Negative values will cause the value of window_margin_width
953+#: to be used instead. A single value sets all four sides. Two values
954+#: set the vertical and horizontal sides. Three values set top,
955+#: horizontal and bottom. Four values set top, right, bottom and left.
956+
957+# window_padding_width 0
958+
959+#: The window padding (in pts) (blank area between the text and the
960+#: window border). A single value sets all four sides. Two values set
961+#: the vertical and horizontal sides. Three values set top, horizontal
962+#: and bottom. Four values set top, right, bottom and left.
963+
964+# single_window_padding_width -1
965+
966+#: The window padding to use when only a single window is visible (in
967+#: pts). Negative values will cause the value of window_padding_width
968+#: to be used instead. A single value sets all four sides. Two values
969+#: set the vertical and horizontal sides. Three values set top,
970+#: horizontal and bottom. Four values set top, right, bottom and left.
971+
972+# placement_strategy center
973+
974+#: When the window size is not an exact multiple of the cell size, the
975+#: cell area of the terminal window will have some extra padding on
976+#: the sides. You can control how that padding is distributed with
977+#: this option. Using a value of center means the cell area will be
978+#: placed centrally. A value of top-left means the padding will be
979+#: only at the bottom and right edges. The value can be one of: top-
980+#: left, top, top-right, left, center, right, bottom-left, bottom,
981+#: bottom-right.
982+
983+# active_border_color #00ff00
984+
985+#: The color for the border of the active window. Set this to none to
986+#: not draw borders around the active window.
987+
988+# inactive_border_color #cccccc
989+
990+#: The color for the border of inactive windows.
991+
992+# bell_border_color #ff5a00
993+
994+#: The color for the border of inactive windows in which a bell has
995+#: occurred.
996+
997+# inactive_text_alpha 1.0
998+
999+#: Fade the text in inactive windows by the specified amount (a number
1000+#: between zero and one, with zero being fully faded).
1001+
1002+# hide_window_decorations no
1003+
1004+#: Hide the window decorations (title-bar and window borders) with
1005+#: yes. On macOS, titlebar-only and titlebar-and-corners can be used
1006+#: to only hide the titlebar and the rounded corners. Whether this
1007+#: works and exactly what effect it has depends on the window
1008+#: manager/operating system. Note that the effects of changing this
1009+#: option when reloading config are undefined. When using titlebar-
1010+#: only, it is useful to also set window_margin_width and
1011+#: placement_strategy to prevent the rounded corners from clipping
1012+#: text. Or use titlebar-and-corners.
1013+
1014+# window_logo_path none
1015+
1016+#: Path to a logo image. Must be in PNG/JPEG/WEBP/GIF/TIFF/BMP format.
1017+#: Relative paths are interpreted relative to the kitty config
1018+#: directory. The logo is displayed in a corner of every kitty window.
1019+#: The position is controlled by window_logo_position. Individual
1020+#: windows can be configured to have different logos either using the
1021+#: launch action or the remote control
1022+#: <https://sw.kovidgoyal.net/kitty/remote-control/> facility.
1023+
1024+# window_logo_position bottom-right
1025+
1026+#: Where to position the window logo in the window. The value can be
1027+#: one of: top-left, top, top-right, left, center, right, bottom-left,
1028+#: bottom, bottom-right.
1029+
1030+# window_logo_alpha 0.5
1031+
1032+#: The amount the logo should be faded into the background. With zero
1033+#: being fully faded and one being fully opaque.
1034+
1035+# window_logo_scale 0
1036+
1037+#: The percentage (0-100] of the window size to which the logo should
1038+#: scale. Using a single number means the logo is scaled to that
1039+#: percentage of the shortest window dimension, while preserving
1040+#: aspect ratio of the logo image.
1041+
1042+#: Using two numbers means the width and height of the logo are scaled
1043+#: to the respective percentage of the window's width and height.
1044+
1045+#: Using zero as the percentage disables scaling in that dimension. A
1046+#: single zero (the default) disables all scaling of the window logo.
1047+
1048+# resize_debounce_time 0.1 0.5
1049+
1050+#: The time to wait (in seconds) before asking the program running in
1051+#: kitty to resize and redraw the screen during a live resize of the
1052+#: OS window, when no new resize events have been received, i.e. when
1053+#: resizing is either paused or finished. On platforms such as macOS,
1054+#: where the operating system sends events corresponding to the start
1055+#: and end of a live resize, the second number is used for redraw-
1056+#: after-pause since kitty can distinguish between a pause and end of
1057+#: resizing. On such systems the first number is ignored and redraw is
1058+#: immediate after end of resize. On other systems only the first
1059+#: number is used so that kitty is "ready" quickly after the end of
1060+#: resizing, while not also continuously redrawing, to save energy.
1061+
1062+# resize_in_steps no
1063+
1064+#: Resize the OS window in steps as large as the cells, instead of
1065+#: with the usual pixel accuracy. Combined with initial_window_width
1066+#: and initial_window_height in number of cells, this option can be
1067+#: used to keep the margins as small as possible when resizing the OS
1068+#: window. Note that this does not currently work on Wayland.
1069+
1070+# visual_window_select_characters 1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ
1071+
1072+#: The list of characters for visual window selection. For example,
1073+#: for selecting a window to focus on with focus_visible_window. The
1074+#: value should be a series of unique numbers or alphabets, case
1075+#: insensitive, from the set 0-9A-Z\-=[];',./\\`. Specify your
1076+#: preference as a string of characters.
1077+
1078+# confirm_os_window_close -1
1079+
1080+#: Ask for confirmation when closing an OS window or a tab with at
1081+#: least this number of kitty windows in it by window manager (e.g.
1082+#: clicking the window close button or pressing the operating system
1083+#: shortcut to close windows) or by the close_tab action. A value of
1084+#: zero disables confirmation. This confirmation also applies to
1085+#: requests to quit the entire application (all OS windows, via the
1086+#: quit action). Negative values are converted to positive ones,
1087+#: however, with shell_integration enabled, using negative values
1088+#: means windows sitting at a shell prompt are not counted, only
1089+#: windows where some command is currently running. You can also have
1090+#: backgrounded jobs prevent closing, by adding count-background to
1091+#: the setting, for example: -1 count-background. Note that if you
1092+#: want confirmation when closing individual windows, you can map the
1093+#: close_window_with_confirmation action.
1094+
1095+#: }}}
1096+
1097+#: Tab bar {{{
1098+
1099+tab_bar_edge top
1100+
1101+#: The edge to show the tab bar on, top or bottom.
1102+
1103+tab_bar_margin_width 1.0
1104+
1105+#: The margin to the left and right of the tab bar (in pts).
1106+
1107+tab_bar_margin_height 1.0 1.0
1108+
1109+#: The margin above and below the tab bar (in pts). The first number
1110+#: is the margin between the edge of the OS Window and the tab bar.
1111+#: The second number is the margin between the tab bar and the
1112+#: contents of the current tab.
1113+
1114+tab_bar_style separator
1115+
1116+#: The tab bar style, can be one of:
1117+
1118+#: fade
1119+#: Each tab's edges fade into the background color. (See also tab_fade)
1120+#: slant
1121+#: Tabs look like the tabs in a physical file.
1122+#: separator
1123+#: Tabs are separated by a configurable separator. (See also
1124+#: tab_separator)
1125+#: powerline
1126+#: Tabs are shown as a continuous line with "fancy" separators.
1127+#: (See also tab_powerline_style)
1128+#: custom
1129+#: A user-supplied Python function called draw_tab is loaded from the file
1130+#: tab_bar.py in the kitty config directory. For examples of how to
1131+#: write such a function, see the functions named draw_tab_with_* in
1132+#: kitty's source code: kitty/tab_bar.py. See also
1133+#: this discussion <https://github.com/kovidgoyal/kitty/discussions/4447>
1134+#: for examples from kitty users.
1135+#: hidden
1136+#: The tab bar is hidden. If you use this, you might want to create
1137+#: a mapping for the select_tab action which presents you with a list of
1138+#: tabs and allows for easy switching to a tab.
1139+
1140+# tab_bar_align left
1141+
1142+#: The horizontal alignment of the tab bar, can be one of: left,
1143+#: center, right.
1144+
1145+tab_bar_min_tabs 1
1146+
1147+#: The minimum number of tabs that must exist before the tab bar is
1148+#: shown.
1149+
1150+# tab_switch_strategy previous
1151+
1152+#: The algorithm to use when switching to a tab when the current tab
1153+#: is closed. The default of previous will switch to the last used
1154+#: tab. A value of left will switch to the tab to the left of the
1155+#: closed tab. A value of right will switch to the tab to the right of
1156+#: the closed tab. A value of last will switch to the right-most tab.
1157+
1158+# tab_fade 0.25 0.5 0.75 1
1159+
1160+#: Control how each tab fades into the background when using fade for
1161+#: the tab_bar_style. Each number is an alpha (between zero and one)
1162+#: that controls how much the corresponding cell fades into the
1163+#: background, with zero being no fade and one being full fade. You
1164+#: can change the number of cells used by adding/removing entries to
1165+#: this list.
1166+
1167+# tab_separator " |"
1168+
1169+#: The separator between tabs in the tab bar when using separator as
1170+#: the tab_bar_style.
1171+
1172+# tab_powerline_style angled
1173+
1174+#: The powerline separator style between tabs in the tab bar when
1175+#: using powerline as the tab_bar_style, can be one of: angled,
1176+#: slanted, round.
1177+
1178+# tab_activity_symbol none
1179+
1180+#: Some text or a Unicode symbol to show on the tab if a window in the
1181+#: tab that does not have focus has some activity. If you want to use
1182+#: leading or trailing spaces, surround the text with quotes. See
1183+#: tab_title_template for how this is rendered.
1184+
1185+# tab_title_max_length 0
1186+
1187+#: The maximum number of cells that can be used to render the text in
1188+#: a tab. A value of zero means that no limit is applied.
1189+
1190+# tab_title_template "{fmt.fg.red}{bell_symbol}{activity_symbol}{fmt.fg.tab}{tab.last_focused_progress_percent}{title}"
1191+
1192+#: A template to render the tab title. The default just renders the
1193+#: title with optional symbols for bell and activity. If you wish to
1194+#: include the tab-index as well, use something like: {index}:{title}.
1195+#: Useful if you have shortcuts mapped for goto_tab N. If you prefer
1196+#: to see the index as a superscript, use {sup.index}. All data
1197+#: available is:
1198+
1199+#: title
1200+#: The current tab title.
1201+#: index
1202+#: The tab index usable with goto_tab N goto_tab shortcuts.
1203+#: layout_name
1204+#: The current layout name.
1205+#: num_windows
1206+#: The number of windows in the tab.
1207+#: num_window_groups
1208+#: The number of window groups (a window group is a window and all of its overlay windows) in the tab.
1209+#: tab.active_wd
1210+#: The working directory of the currently active window in the tab
1211+#: (expensive, requires syscall). Use tab.active_oldest_wd to get
1212+#: the directory of the oldest foreground process rather than the newest.
1213+#: tab.active_exe
1214+#: The name of the executable running in the foreground of the currently
1215+#: active window in the tab (expensive, requires syscall). Use
1216+#: tab.active_oldest_exe for the oldest foreground process.
1217+#: max_title_length
1218+#: The maximum title length available.
1219+#: keyboard_mode
1220+#: 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.
1221+#: tab.last_focused_progress_percent
1222+#: If a command running in a window reports the progress for a task, show this progress as a percentage
1223+#: from the most recently focused window in the tab. Empty string if no progress is reported.
1224+#: tab.progress_percent
1225+#: If a command running in a window reports the progress for a task, show this progress as a percentage
1226+#: from all windows in the tab, averaged. Empty string is no progress is reported.
1227+
1228+#: Note that formatting is done by Python's string formatting
1229+#: machinery, so you can use, for instance, {layout_name[:2].upper()}
1230+#: to show only the first two letters of the layout name, upper-cased.
1231+#: If you want to style the text, you can use styling directives, for
1232+#: example:
1233+#: `{fmt.fg.red}red{fmt.fg.tab}normal{fmt.bg._00FF00}greenbg{fmt.bg.tab}`.
1234+#: Similarly, for bold and italic:
1235+#: `{fmt.bold}bold{fmt.nobold}normal{fmt.italic}italic{fmt.noitalic}`.
1236+#: The 256 eight terminal colors can be used as `fmt.fg.color0`
1237+#: through `fmt.fg.color255`. Note that for backward compatibility, if
1238+#: {bell_symbol} or {activity_symbol} are not present in the template,
1239+#: they are prepended to it.
1240+
1241+# active_tab_title_template none
1242+
1243+#: Template to use for active tabs. If not specified falls back to
1244+#: tab_title_template.
1245+
1246+# active_tab_foreground #000
1247+# active_tab_background #eee
1248+# active_tab_font_style bold-italic
1249+# inactive_tab_foreground #444
1250+# inactive_tab_background #999
1251+# inactive_tab_font_style normal
1252+
1253+#: Tab bar colors and styles.
1254+
1255+tab_bar_background #eaeaea
1256+
1257+#: Background color for the tab bar. Defaults to using the terminal
1258+#: background color.
1259+
1260+# tab_bar_margin_color none
1261+
1262+#: Color for the tab bar margin area. Defaults to using the terminal
1263+#: background color for margins above and below the tab bar. For side
1264+#: margins the default color is chosen to match the background color
1265+#: of the neighboring tab.
1266+
1267+#: }}}
1268+
1269+#: Color scheme {{{
1270+
1271+# foreground #dddddd
1272+# background #000000
1273+
1274+#: The foreground and background colors.
1275+
1276+background_opacity 0.9
1277+
1278+#: The opacity of the background. A number between zero and one, where
1279+#: one is opaque and zero is fully transparent. This will only work if
1280+#: supported by the OS (for instance, when using a compositor under
1281+#: X11). Note that it only sets the background color's opacity in
1282+#: cells that have the same background color as the default terminal
1283+#: background, so that things like the status bar in vim, powerline
1284+#: prompts, etc. still look good. But it means that if you use a color
1285+#: theme with a background color in your editor, it will not be
1286+#: rendered as transparent. Instead you should change the default
1287+#: background color in your kitty config and not use a background
1288+#: color in the editor color scheme. Or use the escape codes to set
1289+#: the terminals default colors in a shell script to launch your
1290+#: editor. See also transparent_background_colors. Be aware that using
1291+#: a value less than 1.0 is a (possibly significant) performance hit.
1292+#: When using a low value for this setting, it is desirable that you
1293+#: set the background color to a color the matches the general color
1294+#: of the desktop background, for best text rendering. Note that to
1295+#: workaround window managers not doing gamma-corrected blending kitty
1296+#: makes background_opacity non-linear which means, especially for
1297+#: light backgrounds you might need to make the value much lower than
1298+#: you expect to get good results, see 6218
1299+#: <https://github.com/kovidgoyal/kitty/issues/6218> for details.
1300+
1301+#: If you want to dynamically change transparency of windows, set
1302+#: dynamic_background_opacity to yes (this is off by default as it has
1303+#: a performance cost). Changing this option when reloading the config
1304+#: will only work if dynamic_background_opacity was enabled in the
1305+#: original config.
1306+
1307+# background_blur 0
1308+
1309+#: Set to a positive value to enable background blur (blurring of the
1310+#: visuals behind a transparent window) on platforms that support it.
1311+#: Only takes effect when background_opacity is less than one. On
1312+#: macOS, this will also control the blur radius (amount of blurring).
1313+#: Setting it to too high a value will cause severe performance issues
1314+#: and/or rendering artifacts. Usually, values up to 64 work well.
1315+#: Note that this might cause performance issues, depending on how the
1316+#: platform implements it, so use with care. Currently supported on
1317+#: macOS and KDE.
1318+
1319+# background_image none
1320+
1321+#: Path to a background image. Must be in PNG/JPEG/WEBP/TIFF/GIF/BMP
1322+#: format.
1323+
1324+# background_image_layout tiled
1325+
1326+#: Whether to tile, scale or clamp the background image. The value can
1327+#: be one of tiled, mirror-tiled, scaled, clamped, centered or
1328+#: cscaled. The scaled and cscaled values scale the image to the
1329+#: window size, with cscaled preserving the image aspect ratio.
1330+
1331+# background_image_linear no
1332+
1333+#: When background image is scaled, whether linear interpolation
1334+#: should be used.
1335+
1336+# transparent_background_colors
1337+
1338+#: A space separated list of upto 7 colors, with opacity. When the
1339+#: background color of a cell matches one of these colors, it is
1340+#: rendered semi-transparent using the specified opacity.
1341+
1342+#: Useful in more complex UIs like editors where you could want more
1343+#: than a single background color to be rendered as transparent, for
1344+#: instance, for a cursor highlight line background or a highlighted
1345+#: block. Terminal applications can set this color using The kitty
1346+#: color control <https://sw.kovidgoyal.net/kitty/color-stack/#color-
1347+#: control> escape code.
1348+
1349+#: The syntax for specifying colors is: color@opacity, where the
1350+#: @opacity part is optional. When unspecified, the value of
1351+#: background_opacity is used. For example::
1352+
1353+#: transparent_background_colors red@0.5 #00ff00@0.3
1354+
1355+# dynamic_background_opacity no
1356+
1357+#: Allow changing of the background_opacity dynamically, using either
1358+#: keyboard shortcuts (increase_background_opacity and
1359+#: decrease_background_opacity) or the remote control facility.
1360+#: Changing this option by reloading the config is not supported.
1361+
1362+# background_tint 0.0
1363+
1364+#: How much to tint the background image by the background color. This
1365+#: option makes it easier to read the text. Tinting is done using the
1366+#: current background color for each window. This option applies only
1367+#: if background_opacity is set and transparent windows are supported
1368+#: or background_image is set.
1369+
1370+# background_tint_gaps 1.0
1371+
1372+#: How much to tint the background image at the window gaps by the
1373+#: background color, after applying background_tint. Since this is
1374+#: multiplicative with background_tint, it can be used to lighten the
1375+#: tint over the window gaps for a *separated* look.
1376+
1377+# dim_opacity 0.4
1378+
1379+#: How much to dim text that has the DIM/FAINT attribute set. One
1380+#: means no dimming and zero means fully dimmed (i.e. invisible).
1381+
1382+# selection_foreground #000000
1383+# selection_background #fffacd
1384+
1385+#: The foreground and background colors for text selected with the
1386+#: mouse. Setting both of these to none will cause a "reverse video"
1387+#: effect for selections, where the selection will be the cell text
1388+#: color and the text will become the cell background color. Setting
1389+#: only selection_foreground to none will cause the foreground color
1390+#: to be used unchanged. Note that these colors can be overridden by
1391+#: the program running in the terminal.
1392+
1393+#: The color table {{{
1394+
1395+#: The 256 terminal colors. There are 8 basic colors, each color has a
1396+#: dull and bright version, for the first 16 colors. You can set the
1397+#: remaining 240 colors as color16 to color255.
1398+
1399+# color0 #000000
1400+# color8 #767676
1401+
1402+#: black
1403+
1404+# color1 #cc0403
1405+# color9 #f2201f
1406+
1407+#: red
1408+
1409+# color2 #19cb00
1410+# color10 #23fd00
1411+
1412+#: green
1413+
1414+# color3 #cecb00
1415+# color11 #fffd00
1416+
1417+#: yellow
1418+
1419+# color4 #0d73cc
1420+# color12 #1a8fff
1421+
1422+#: blue
1423+
1424+# color5 #cb1ed1
1425+# color13 #fd28ff
1426+
1427+#: magenta
1428+
1429+# color6 #0dcdcd
1430+# color14 #14ffff
1431+
1432+#: cyan
1433+
1434+# color7 #dddddd
1435+# color15 #ffffff
1436+
1437+#: white
1438+
1439+# mark1_foreground black
1440+
1441+#: Color for marks of type 1
1442+
1443+# mark1_background #98d3cb
1444+
1445+#: Color for marks of type 1 (light steel blue)
1446+
1447+# mark2_foreground black
1448+
1449+#: Color for marks of type 2
1450+
1451+# mark2_background #f2dcd3
1452+
1453+#: Color for marks of type 1 (beige)
1454+
1455+# mark3_foreground black
1456+
1457+#: Color for marks of type 3
1458+
1459+# mark3_background #f274bc
1460+
1461+#: Color for marks of type 3 (violet)
1462+
1463+#: }}}
1464+
1465+#: }}}
1466+
1467+#: Advanced {{{
1468+
1469+# shell .
1470+
1471+#: The shell program to execute. The default value of . means to use
1472+#: the value of of the SHELL environment variable or if unset,
1473+#: whatever shell is set as the default shell for the current user.
1474+#: Note that on macOS if you change this, you might need to add
1475+#: --login and --interactive to ensure that the shell starts in
1476+#: interactive mode and reads its startup rc files. Environment
1477+#: variables are expanded in this setting.
1478+
1479+# editor .
1480+
1481+#: The terminal based text editor (such as vim or nano) to use when
1482+#: editing the kitty config file or similar tasks.
1483+
1484+#: The default value of . means to use the environment variables
1485+#: VISUAL and EDITOR in that order. If these variables aren't set,
1486+#: kitty will run your shell ($SHELL -l -i -c env) to see if your
1487+#: shell startup rc files set VISUAL or EDITOR. If that doesn't work,
1488+#: kitty will cycle through various known editors (vim, emacs, etc.)
1489+#: and take the first one that exists on your system.
1490+
1491+# close_on_child_death no
1492+
1493+#: Close the window when the child process (usually the shell) exits.
1494+#: With the default value no, the terminal will remain open when the
1495+#: child exits as long as there are still other processes outputting
1496+#: to the terminal (for example disowned or backgrounded processes).
1497+#: When enabled with yes, the window will close as soon as the child
1498+#: process exits. Note that setting it to yes means that any
1499+#: background processes still using the terminal can fail silently
1500+#: because their stdout/stderr/stdin no longer work.
1501+
1502+# remote_control_password
1503+
1504+#: Allow other programs to control kitty using passwords. This option
1505+#: can be specified multiple times to add multiple passwords. If no
1506+#: passwords are present kitty will ask the user for permission if a
1507+#: program tries to use remote control with a password. A password can
1508+#: also *optionally* be associated with a set of allowed remote
1509+#: control actions. For example::
1510+
1511+#: remote_control_password "my passphrase" get-colors set-colors focus-window focus-tab
1512+
1513+#: Only the specified actions will be allowed when using this
1514+#: password. Glob patterns can be used too, for example::
1515+
1516+#: remote_control_password "my passphrase" set-tab-* resize-*
1517+
1518+#: To get a list of available actions, run::
1519+
1520+#: kitten @ --help
1521+
1522+#: A set of actions to be allowed when no password is sent can be
1523+#: specified by using an empty password. For example::
1524+
1525+#: remote_control_password "" *-colors
1526+
1527+#: Finally, the path to a python module can be specified that provides
1528+#: a function is_cmd_allowed that is used to check every remote
1529+#: control command. For example::
1530+
1531+#: remote_control_password "my passphrase" my_rc_command_checker.py
1532+
1533+#: Relative paths are resolved from the kitty configuration directory.
1534+#: See rc_custom_auth <https://sw.kovidgoyal.net/kitty/remote-
1535+#: control/#rc-custom-auth> for details.
1536+
1537+# allow_remote_control no
1538+
1539+#: Allow other programs to control kitty. If you turn this on, other
1540+#: programs can control all aspects of kitty, including sending text
1541+#: to kitty windows, opening new windows, closing windows, reading the
1542+#: content of windows, etc. Note that this even works over SSH
1543+#: connections. The default setting of no prevents any form of remote
1544+#: control. The meaning of the various values are:
1545+
1546+#: password
1547+#: Remote control requests received over both the TTY device and the socket
1548+#: are confirmed based on passwords, see remote_control_password.
1549+
1550+#: socket-only
1551+#: Remote control requests received over a socket are accepted
1552+#: unconditionally. Requests received over the TTY are denied.
1553+#: See listen_on.
1554+
1555+#: socket
1556+#: Remote control requests received over a socket are accepted
1557+#: unconditionally. Requests received over the TTY are confirmed based on
1558+#: password.
1559+
1560+#: no
1561+#: Remote control is completely disabled.
1562+
1563+#: yes
1564+#: Remote control requests are always accepted.
1565+
1566+# listen_on none
1567+
1568+#: Listen to the specified socket for remote control connections. Note
1569+#: that this will apply to all kitty instances. It can be overridden
1570+#: by the kitty --listen-on command line option. For UNIX sockets,
1571+#: such as unix:${TEMP}/mykitty or unix:@mykitty (on Linux).
1572+#: Environment variables are expanded and relative paths are resolved
1573+#: with respect to the temporary directory. If {kitty_pid} is present,
1574+#: then it is replaced by the PID of the kitty process, otherwise the
1575+#: PID of the kitty process is appended to the value, with a hyphen.
1576+#: For TCP sockets such as tcp:localhost:0 a random port is always
1577+#: used even if a non-zero port number is specified. See the help for
1578+#: kitty --listen-on for more details. Note that this will be ignored
1579+#: unless allow_remote_control is set to either: yes, socket or
1580+#: socket-only. Changing this option by reloading the config is not
1581+#: supported.
1582+
1583+# env
1584+
1585+#: Specify the environment variables to be set in all child processes.
1586+#: Using the name with an equal sign (e.g. env VAR=) will set it to
1587+#: the empty string. Specifying only the name (e.g. env VAR) will
1588+#: remove the variable from the child process' environment. Note that
1589+#: environment variables are expanded recursively, for example::
1590+
1591+#: env VAR1=a
1592+#: env VAR2=${HOME}/${VAR1}/b
1593+
1594+#: The value of VAR2 will be <path to home directory>/a/b.
1595+
1596+# filter_notification
1597+
1598+#: Specify rules to filter out notifications sent by applications
1599+#: running in kitty. Can be specified multiple times to create
1600+#: multiple filter rules. A rule specification is of the form
1601+#: field:regexp. A filter rule can match on any of the fields: title,
1602+#: body, app, type. The special value of all filters out all
1603+#: notifications. Rules can be combined using Boolean operators. Some
1604+#: examples::
1605+
1606+#: filter_notification title:hello or body:"abc.*def"
1607+#: # filter out notification from vim except for ones about updates, (?i)
1608+#: # makes matching case insensitive.
1609+#: filter_notification app:"[ng]?vim" and not body:"(?i)update"
1610+#: # filter out all notifications
1611+#: filter_notification all
1612+
1613+#: The field app is the name of the application sending the
1614+#: notification and type is the type of the notification. Not all
1615+#: applications will send these fields, so you can also match on the
1616+#: title and body of the notification text. More sophisticated
1617+#: programmatic filtering and custom actions on notifications can be
1618+#: done by creating a notifications.py file in the kitty config
1619+#: directory (~/.config/kitty). An annotated sample is available
1620+#: <https://github.com/kovidgoyal/kitty/blob/master/docs/notifications.py>.
1621+
1622+# watcher
1623+
1624+#: Path to python file which will be loaded for watchers
1625+#: <https://sw.kovidgoyal.net/kitty/launch/#watchers>. Can be
1626+#: specified more than once to load multiple watchers. The watchers
1627+#: will be added to every kitty window. Relative paths are resolved
1628+#: relative to the kitty config directory. Note that reloading the
1629+#: config will only affect windows created after the reload.
1630+
1631+# exe_search_path
1632+
1633+#: Control where kitty finds the programs to run. The default search
1634+#: order is: First search the system wide PATH, then ~/.local/bin and
1635+#: ~/bin. If still not found, the PATH defined in the login shell
1636+#: after sourcing all its startup files is tried. Finally, if present,
1637+#: the PATH specified by the env option is tried.
1638+
1639+#: This option allows you to prepend, append, or remove paths from
1640+#: this search order. It can be specified multiple times for multiple
1641+#: paths. A simple path will be prepended to the search order. A path
1642+#: that starts with the + sign will be append to the search order,
1643+#: after ~/bin above. A path that starts with the - sign will be
1644+#: removed from the entire search order. For example::
1645+
1646+#: exe_search_path /some/prepended/path
1647+#: exe_search_path +/some/appended/path
1648+#: exe_search_path -/some/excluded/path
1649+
1650+# update_check_interval 24
1651+
1652+#: The interval to periodically check if an update to kitty is
1653+#: available (in hours). If an update is found, a system notification
1654+#: is displayed informing you of the available update. The default is
1655+#: to check every 24 hours, set to zero to disable. Update checking is
1656+#: only done by the official binary builds. Distro packages or source
1657+#: builds do not do update checking. Changing this option by reloading
1658+#: the config is not supported.
1659+
1660+# startup_session none
1661+
1662+#: Path to a session file to use for all kitty instances. Can be
1663+#: overridden by using the kitty --session =none command line option
1664+#: for individual instances. See sessions
1665+#: <https://sw.kovidgoyal.net/kitty/overview/#sessions> in the kitty
1666+#: documentation for details. Note that relative paths are interpreted
1667+#: with respect to the kitty config directory. Environment variables
1668+#: in the path are expanded. Changing this option by reloading the
1669+#: config is not supported. Note that if kitty is invoked with command
1670+#: line arguments specifying a command to run, this option is ignored.
1671+
1672+# clipboard_control write-clipboard write-primary read-clipboard-ask read-primary-ask
1673+
1674+#: Allow programs running in kitty to read and write from the
1675+#: clipboard. You can control exactly which actions are allowed. The
1676+#: possible actions are: write-clipboard, read-clipboard, write-
1677+#: primary, read-primary, read-clipboard-ask, read-primary-ask. The
1678+#: default is to allow writing to the clipboard and primary selection
1679+#: and to ask for permission when a program tries to read from the
1680+#: clipboard. Note that disabling the read confirmation is a security
1681+#: risk as it means that any program, even the ones running on a
1682+#: remote server via SSH can read your clipboard. See also
1683+#: clipboard_max_size.
1684+
1685+# clipboard_max_size 512
1686+
1687+#: The maximum size (in MB) of data from programs running in kitty
1688+#: that will be stored for writing to the system clipboard. A value of
1689+#: zero means no size limit is applied. See also clipboard_control.
1690+
1691+# file_transfer_confirmation_bypass
1692+
1693+#: The password that can be supplied to the file transfer kitten
1694+#: <https://sw.kovidgoyal.net/kitty/kittens/transfer/> to skip the
1695+#: transfer confirmation prompt. This should only be used when
1696+#: initiating transfers from trusted computers, over trusted networks
1697+#: or encrypted transports, as it allows any programs running on the
1698+#: remote machine to read/write to the local filesystem, without
1699+#: permission.
1700+
1701+# allow_hyperlinks yes
1702+
1703+#: Process hyperlink escape sequences (OSC 8). If disabled OSC 8
1704+#: escape sequences are ignored. Otherwise they become clickable
1705+#: links, that you can click with the mouse or by using the hints
1706+#: kitten <https://sw.kovidgoyal.net/kitty/kittens/hints/>. The
1707+#: special value of ask means that kitty will ask before opening the
1708+#: link when clicked.
1709+
1710+# shell_integration enabled
1711+
1712+#: Enable shell integration on supported shells. This enables features
1713+#: such as jumping to previous prompts, browsing the output of the
1714+#: previous command in a pager, etc. on supported shells. Set to
1715+#: disabled to turn off shell integration, completely. It is also
1716+#: possible to disable individual features, set to a space separated
1717+#: list of these values: no-rc, no-cursor, no-title, no-cwd, no-
1718+#: prompt-mark, no-complete, no-sudo. See Shell integration
1719+#: <https://sw.kovidgoyal.net/kitty/shell-integration/> for details.
1720+
1721+# allow_cloning ask
1722+
1723+#: Control whether programs running in the terminal can request new
1724+#: windows to be created. The canonical example is clone-in-kitty
1725+#: <https://sw.kovidgoyal.net/kitty/shell-integration/#clone-shell>.
1726+#: By default, kitty will ask for permission for each clone request.
1727+#: Allowing cloning unconditionally gives programs running in the
1728+#: terminal (including over SSH) permission to execute arbitrary code,
1729+#: as the user who is running the terminal, on the computer that the
1730+#: terminal is running on.
1731+
1732+# clone_source_strategies venv,conda,env_var,path
1733+
1734+#: Control what shell code is sourced when running clone-in-kitty in
1735+#: the newly cloned window. The supported strategies are:
1736+
1737+#: venv
1738+#: Source the file $VIRTUAL_ENV/bin/activate. This is used by the
1739+#: Python stdlib venv module and allows cloning venvs automatically.
1740+#: conda
1741+#: Run conda activate $CONDA_DEFAULT_ENV. This supports the virtual
1742+#: environments created by conda.
1743+#: env_var
1744+#: Execute the contents of the environment variable
1745+#: KITTY_CLONE_SOURCE_CODE with eval.
1746+#: path
1747+#: Source the file pointed to by the environment variable
1748+#: KITTY_CLONE_SOURCE_PATH.
1749+
1750+#: This option must be a comma separated list of the above values.
1751+#: Only the first valid match, in the order specified, is sourced.
1752+
1753+# notify_on_cmd_finish never
1754+
1755+#: Show a desktop notification when a long-running command finishes
1756+#: (needs shell_integration). The possible values are:
1757+
1758+#: never
1759+#: Never send a notification.
1760+
1761+#: unfocused
1762+#: Only send a notification when the window does not have keyboard focus.
1763+
1764+#: invisible
1765+#: Only send a notification when the window both is unfocused and not visible
1766+#: to the user, for example, because it is in an inactive tab or its OS window
1767+#: is not currently visible (on platforms that support OS window visibility querying
1768+#: this considers an OS Window visible iff it is active).
1769+
1770+#: always
1771+#: Always send a notification, regardless of window state.
1772+
1773+#: There are two optional arguments:
1774+
1775+#: First, the minimum duration for what is considered a long running
1776+#: command. The default is 5 seconds. Specify a second argument to set
1777+#: the duration. For example: invisible 15. Do not set the value too
1778+#: small, otherwise a command that launches a new OS Window and exits
1779+#: will spam a notification.
1780+
1781+#: Second, the action to perform. The default is notify. The possible
1782+#: values are:
1783+
1784+#: notify
1785+#: Send a desktop notification. The subsequent arguments are optional and specify when
1786+#: the notification is automatically cleared. The set of possible events when the notification is
1787+#: cleared are: focus and next. focus means that when the notification
1788+#: policy is unfocused or invisible the notification is automatically cleared
1789+#: when the window regains focus. The value of next means that the previous notification
1790+#: is cleared when the next notification is shown. The default when no arguments are specified
1791+#: is: focus next.
1792+
1793+#: bell
1794+#: Ring the terminal bell.
1795+
1796+#: command
1797+#: Run a custom command. All subsequent arguments are the cmdline to run.
1798+
1799+#: Some more examples::
1800+
1801+#: # Send a notification when a command takes more than 5 seconds in an unfocused window
1802+#: notify_on_cmd_finish unfocused
1803+#: # Send a notification when a command takes more than 10 seconds in a invisible window
1804+#: notify_on_cmd_finish invisible 10.0
1805+#: # Ring a bell when a command takes more than 10 seconds in a invisible window
1806+#: notify_on_cmd_finish invisible 10.0 bell
1807+#: # Run 'notify-send' when a command takes more than 10 seconds in a invisible window
1808+#: # Here %c is replaced by the current command line and %s by the job exit code
1809+#: notify_on_cmd_finish invisible 10.0 command notify-send "job finished with status: %s" %c
1810+#: # Do not clear previous notification when next command finishes or window regains focus
1811+#: notify_on_cmd_finish invisible 5.0 notify
1812+
1813+# term xterm-kitty
1814+
1815+#: The value of the TERM environment variable to set. Changing this
1816+#: can break many terminal programs, only change it if you know what
1817+#: you are doing, not because you read some advice on "Stack Overflow"
1818+#: to change it. The TERM variable is used by various programs to get
1819+#: information about the capabilities and behavior of the terminal. If
1820+#: you change it, depending on what programs you run, and how
1821+#: different the terminal you are changing it to is, various things
1822+#: from key-presses, to colors, to various advanced features may not
1823+#: work. Changing this option by reloading the config will only affect
1824+#: newly created windows.
1825+
1826+# terminfo_type path
1827+
1828+#: The value of the TERMINFO environment variable to set. This
1829+#: variable is used by programs running in the terminal to search for
1830+#: terminfo databases. The default value of path causes kitty to set
1831+#: it to a filesystem location containing the kitty terminfo database.
1832+#: A value of direct means put the entire database into the env var
1833+#: directly. This can be useful when connecting to containers, for
1834+#: example. But, note that not all software supports this. A value of
1835+#: none means do not touch the variable.
1836+
1837+# forward_stdio no
1838+
1839+#: Forward STDOUT and STDERR of the kitty process to child processes.
1840+#: This is useful for debugging as it allows child processes to print
1841+#: to kitty's STDOUT directly. For example, echo hello world
1842+#: >&$KITTY_STDIO_FORWARDED in a shell will print to the parent
1843+#: kitty's STDOUT. Sets the KITTY_STDIO_FORWARDED=fdnum environment
1844+#: variable so child processes know about the forwarding. Note that on
1845+#: macOS this prevents the shell from being run via the login utility
1846+#: so getlogin() will not work in programs run in this session.
1847+
1848+# menu_map
1849+
1850+#: Specify entries for various menus in kitty. Currently only the
1851+#: global menubar on macOS is supported. For example::
1852+
1853+#: menu_map global "Actions::Launch something special" launch --hold --type=os-window sh -c "echo hello world"
1854+
1855+#: This will create a menu entry named "Launch something special" in
1856+#: an "Actions" menu in the macOS global menubar. Sub-menus can be
1857+#: created by adding more levels separated by the :: characters.
1858+
1859+#: }}}
1860+
1861+#: OS specific tweaks {{{
1862+
1863+# wayland_titlebar_color system
1864+
1865+#: The color of the kitty window's titlebar on Wayland systems with
1866+#: client side window decorations such as GNOME. A value of system
1867+#: means to use the default system colors, a value of background means
1868+#: to use the background color of the currently active kitty window
1869+#: and finally you can use an arbitrary color, such as #12af59 or red.
1870+
1871+# macos_titlebar_color system
1872+
1873+#: The color of the kitty window's titlebar on macOS. A value of
1874+#: system means to use the default system color, light or dark can
1875+#: also be used to set it explicitly. A value of background means to
1876+#: use the background color of the currently active window and finally
1877+#: you can use an arbitrary color, such as #12af59 or red. WARNING:
1878+#: This option works by using a hack when arbitrary color (or
1879+#: background) is configured, as there is no proper Cocoa API for it.
1880+#: It sets the background color of the entire window and makes the
1881+#: titlebar transparent. As such it is incompatible with
1882+#: background_opacity. If you want to use both, you are probably
1883+#: better off just hiding the titlebar with hide_window_decorations.
1884+
1885+# macos_option_as_alt no
1886+
1887+#: Use the Option key as an Alt key on macOS. With this set to no,
1888+#: kitty will use the macOS native Option+Key to enter Unicode
1889+#: character behavior. This will break any Alt+Key keyboard shortcuts
1890+#: in your terminal programs, but you can use the macOS Unicode input
1891+#: technique. You can use the values: left, right or both to use only
1892+#: the left, right or both Option keys as Alt, instead. Note that
1893+#: kitty itself always treats Option the same as Alt. This means you
1894+#: cannot use this option to configure different kitty shortcuts for
1895+#: Option+Key vs. Alt+Key. Also, any kitty shortcuts using
1896+#: Option/Alt+Key will take priority, so that any such key presses
1897+#: will not be passed to terminal programs running inside kitty.
1898+#: Changing this option by reloading the config is not supported.
1899+
1900+# macos_hide_from_tasks no
1901+
1902+#: Hide the kitty window from running tasks on macOS (⌘+Tab and the
1903+#: Dock). Changing this option by reloading the config is not
1904+#: supported.
1905+
1906+# macos_quit_when_last_window_closed no
1907+
1908+#: Have kitty quit when all the top-level windows are closed on macOS.
1909+#: By default, kitty will stay running, even with no open windows, as
1910+#: is the expected behavior on macOS.
1911+
1912+# macos_window_resizable yes
1913+
1914+#: Disable this if you want kitty top-level OS windows to not be
1915+#: resizable on macOS.
1916+
1917+# macos_thicken_font 0
1918+
1919+#: Draw an extra border around the font with the given width, to
1920+#: increase legibility at small font sizes on macOS. For example, a
1921+#: value of 0.75 will result in rendering that looks similar to sub-
1922+#: pixel antialiasing at common font sizes. Note that in modern kitty,
1923+#: this option is obsolete (although still supported). Consider using
1924+#: text_composition_strategy instead.
1925+
1926+# macos_traditional_fullscreen no
1927+
1928+#: Use the macOS traditional full-screen transition, that is faster,
1929+#: but less pretty.
1930+
1931+# macos_show_window_title_in all
1932+
1933+#: Control where the window title is displayed on macOS. A value of
1934+#: window will show the title of the currently active window at the
1935+#: top of the macOS window. A value of menubar will show the title of
1936+#: the currently active window in the macOS global menu bar, making
1937+#: use of otherwise wasted space. A value of all will show the title
1938+#: in both places, and none hides the title. See
1939+#: macos_menubar_title_max_length for how to control the length of the
1940+#: title in the menu bar.
1941+
1942+# macos_menubar_title_max_length 0
1943+
1944+#: The maximum number of characters from the window title to show in
1945+#: the macOS global menu bar. Values less than one means that there is
1946+#: no maximum limit.
1947+
1948+# macos_custom_beam_cursor no
1949+
1950+#: Use a custom mouse cursor for macOS that is easier to see on both
1951+#: light and dark backgrounds. Nowadays, the default macOS cursor
1952+#: already comes with a white border. WARNING: this might make your
1953+#: mouse cursor invisible on dual GPU machines. Changing this option
1954+#: by reloading the config is not supported.
1955+
1956+# macos_colorspace srgb
1957+
1958+#: The colorspace in which to interpret terminal colors. The default
1959+#: of srgb will cause colors to match those seen in web browsers. The
1960+#: value of default will use whatever the native colorspace of the
1961+#: display is. The value of displayp3 will use Apple's special
1962+#: snowflake display P3 color space, which will result in over
1963+#: saturated (brighter) colors with some color shift. Reloading
1964+#: configuration will change this value only for newly created OS
1965+#: windows.
1966+
1967+# linux_display_server auto
1968+
1969+#: Choose between Wayland and X11 backends. By default, an appropriate
1970+#: backend based on the system state is chosen automatically. Set it
1971+#: to x11 or wayland to force the choice. Changing this option by
1972+#: reloading the config is not supported.
1973+
1974+# wayland_enable_ime yes
1975+
1976+#: Enable Input Method Extension on Wayland. This is typically used
1977+#: for inputting text in East Asian languages. However, its
1978+#: implementation in Wayland is often buggy and introduces latency
1979+#: into the input loop, so disable this if you know you dont need it.
1980+#: Changing this option by reloading the config is not supported, it
1981+#: will not have any effect.
1982+
1983+#: }}}
1984+
1985+#: Keyboard shortcuts {{{
1986+
1987+#: Keys are identified simply by their lowercase Unicode characters.
1988+#: For example: a for the A key, [ for the left square bracket key,
1989+#: etc. For functional keys, such as Enter or Escape, the names are
1990+#: present at Functional key definitions
1991+#: <https://sw.kovidgoyal.net/kitty/keyboard-protocol/#functional>.
1992+#: For modifier keys, the names are ctrl (control, ⌃), shift (⇧), alt
1993+#: (opt, option, ⌥), super (cmd, command, ⌘).
1994+
1995+#: Simple shortcut mapping is done with the map directive. For full
1996+#: details on advanced mapping including modal and per application
1997+#: maps, see mapping <https://sw.kovidgoyal.net/kitty/mapping/>. Some
1998+#: quick examples to illustrate common tasks::
1999+
2000+#: # unmap a keyboard shortcut, passing it to the program running in kitty
2001+#: map kitty_mod+space
2002+#: # completely ignore a keyboard event
2003+#: map ctrl+alt+f1 discard_event
2004+#: # combine multiple actions
2005+#: map kitty_mod+e combine : new_window : next_layout
2006+#: # multi-key shortcuts
2007+#: map ctrl+x>ctrl+y>z action
2008+
2009+#: The full list of actions that can be mapped to key presses is
2010+#: available here <https://sw.kovidgoyal.net/kitty/actions/>.
2011+
2012+# kitty_mod ctrl+shift
2013+
2014+#: Special modifier key alias for default shortcuts. You can change
2015+#: the value of this option to alter all default shortcuts that use
2016+#: kitty_mod.
2017+
2018+# clear_all_shortcuts no
2019+
2020+#: Remove all shortcut definitions up to this point. Useful, for
2021+#: instance, to remove the default shortcuts.
2022+
2023+# action_alias
2024+
2025+#: E.g. action_alias launch_tab launch --type=tab --cwd=current
2026+
2027+#: Define action aliases to avoid repeating the same options in
2028+#: multiple mappings. Aliases can be defined for any action and will
2029+#: be expanded recursively. For example, the above alias allows you to
2030+#: create mappings to launch a new tab in the current working
2031+#: directory without duplication::
2032+
2033+#: map f1 launch_tab vim
2034+#: map f2 launch_tab emacs
2035+
2036+#: Similarly, to alias kitten invocation::
2037+
2038+#: action_alias hints kitten hints --hints-offset=0
2039+
2040+# kitten_alias
2041+
2042+#: E.g. kitten_alias hints hints --hints-offset=0
2043+
2044+#: Like action_alias above, but specifically for kittens. Generally,
2045+#: prefer to use action_alias. This option is a legacy version,
2046+#: present for backwards compatibility. It causes all invocations of
2047+#: the aliased kitten to be substituted. So the example above will
2048+#: cause all invocations of the hints kitten to have the --hints-
2049+#: offset=0 option applied.
2050+
2051+#: Clipboard {{{
2052+
2053+#: Copy to clipboard
2054+
2055+# map kitty_mod+c copy_to_clipboard
2056+# map cmd+c copy_to_clipboard
2057+
2058+#:: There is also a copy_or_interrupt action that can be optionally
2059+#:: mapped to Ctrl+C. It will copy only if there is a selection and
2060+#:: send an interrupt otherwise. Similarly,
2061+#:: copy_and_clear_or_interrupt will copy and clear the selection or
2062+#:: send an interrupt if there is no selection.
2063+
2064+#: Paste from clipboard
2065+
2066+# map kitty_mod+v paste_from_clipboard
2067+# map cmd+v paste_from_clipboard
2068+
2069+#: Paste from selection
2070+
2071+# map kitty_mod+s paste_from_selection
2072+# map shift+insert paste_from_selection
2073+
2074+#: Pass selection to program
2075+
2076+# map kitty_mod+o pass_selection_to_program
2077+
2078+#:: You can also pass the contents of the current selection to any
2079+#:: program with pass_selection_to_program. By default, the system's
2080+#:: open program is used, but you can specify your own, the selection
2081+#:: will be passed as a command line argument to the program. For
2082+#:: example::
2083+
2084+#:: map kitty_mod+o pass_selection_to_program firefox
2085+
2086+#:: You can pass the current selection to a terminal program running
2087+#:: in a new kitty window, by using the @selection placeholder::
2088+
2089+#:: map kitty_mod+y new_window less @selection
2090+
2091+#: }}}
2092+
2093+#: Scrolling {{{
2094+
2095+#: Scroll line up
2096+
2097+# map kitty_mod+up scroll_line_up
2098+# map kitty_mod+k scroll_line_up
2099+# map opt+cmd+page_up scroll_line_up
2100+# map cmd+up scroll_line_up
2101+
2102+#: Scroll line down
2103+
2104+# map kitty_mod+down scroll_line_down
2105+# map kitty_mod+j scroll_line_down
2106+# map opt+cmd+page_down scroll_line_down
2107+# map cmd+down scroll_line_down
2108+
2109+#: Scroll page up
2110+
2111+# map kitty_mod+page_up scroll_page_up
2112+# map cmd+page_up scroll_page_up
2113+
2114+#: Scroll page down
2115+
2116+# map kitty_mod+page_down scroll_page_down
2117+# map cmd+page_down scroll_page_down
2118+
2119+#: Scroll to top
2120+
2121+# map kitty_mod+home scroll_home
2122+# map cmd+home scroll_home
2123+
2124+#: Scroll to bottom
2125+
2126+# map kitty_mod+end scroll_end
2127+# map cmd+end scroll_end
2128+
2129+#: Scroll to previous shell prompt
2130+
2131+# map kitty_mod+z scroll_to_prompt -1
2132+
2133+#:: Use a parameter of 0 for scroll_to_prompt to scroll to the last
2134+#:: jumped to or the last clicked position. Requires shell
2135+#:: integration <https://sw.kovidgoyal.net/kitty/shell-integration/>
2136+#:: to work.
2137+
2138+#: Scroll to next shell prompt
2139+
2140+# map kitty_mod+x scroll_to_prompt 1
2141+
2142+#: Browse scrollback buffer in pager
2143+
2144+# map kitty_mod+h show_scrollback
2145+
2146+#:: You can pipe the contents of the current screen and history
2147+#:: buffer as STDIN to an arbitrary program using launch --stdin-
2148+#:: source. For example, the following opens the scrollback buffer in
2149+#:: less in an overlay window::
2150+
2151+#:: map f1 launch --stdin-source=@screen_scrollback --stdin-add-formatting --type=overlay less +G -R
2152+
2153+#:: For more details on piping screen and buffer contents to external
2154+#:: programs, see launch <https://sw.kovidgoyal.net/kitty/launch/>.
2155+
2156+#: Browse output of the last shell command in pager
2157+
2158+# map kitty_mod+g show_last_command_output
2159+
2160+#:: You can also define additional shortcuts to get the command
2161+#:: output. For example, to get the first command output on screen::
2162+
2163+#:: map f1 show_first_command_output_on_screen
2164+
2165+#:: To get the command output that was last accessed by a keyboard
2166+#:: action or mouse action::
2167+
2168+#:: map f1 show_last_visited_command_output
2169+
2170+#:: You can pipe the output of the last command run in the shell
2171+#:: using the launch action. For example, the following opens the
2172+#:: output in less in an overlay window::
2173+
2174+#:: map f1 launch --stdin-source=@last_cmd_output --stdin-add-formatting --type=overlay less +G -R
2175+
2176+#:: To get the output of the first command on the screen, use
2177+#:: @first_cmd_output_on_screen. To get the output of the last jumped
2178+#:: to command, use @last_visited_cmd_output.
2179+
2180+#:: Requires shell integration
2181+#:: <https://sw.kovidgoyal.net/kitty/shell-integration/> to work.
2182+
2183+#: }}}
2184+
2185+#: Window management {{{
2186+
2187+#: New window
2188+
2189+# map kitty_mod+enter new_window
2190+# map cmd+enter new_window
2191+
2192+#:: You can open a new kitty window running an arbitrary program, for
2193+#:: example::
2194+
2195+#:: map kitty_mod+y launch mutt
2196+
2197+#:: You can open a new window with the current working directory set
2198+#:: to the working directory of the current window using::
2199+
2200+#:: map ctrl+alt+enter launch --cwd=current
2201+
2202+#:: You can open a new window that is allowed to control kitty via
2203+#:: the kitty remote control facility with launch --allow-remote-
2204+#:: control. Any programs running in that window will be allowed to
2205+#:: control kitty. For example::
2206+
2207+#:: map ctrl+enter launch --allow-remote-control some_program
2208+
2209+#:: You can open a new window next to the currently active window or
2210+#:: as the first window, with::
2211+
2212+#:: map ctrl+n launch --location=neighbor
2213+#:: map ctrl+f launch --location=first
2214+
2215+#:: For more details, see launch
2216+#:: <https://sw.kovidgoyal.net/kitty/launch/>.
2217+
2218+#: New OS window
2219+
2220+# map kitty_mod+n new_os_window
2221+# map cmd+n new_os_window
2222+
2223+#:: Works like new_window above, except that it opens a top-level OS
2224+#:: window. In particular you can use new_os_window_with_cwd to open
2225+#:: a window with the current working directory.
2226+
2227+#: Close window
2228+
2229+# map kitty_mod+w close_window
2230+# map shift+cmd+d close_window
2231+
2232+#: Next window
2233+
2234+# map kitty_mod+] next_window
2235+
2236+#: Previous window
2237+
2238+# map kitty_mod+[ previous_window
2239+
2240+#: Move window forward
2241+
2242+# map kitty_mod+f move_window_forward
2243+
2244+#: Move window backward
2245+
2246+# map kitty_mod+b move_window_backward
2247+
2248+#: Move window to top
2249+
2250+# map kitty_mod+` move_window_to_top
2251+
2252+#: Start resizing window
2253+
2254+# map kitty_mod+r start_resizing_window
2255+# map cmd+r start_resizing_window
2256+
2257+#: First window
2258+
2259+# map kitty_mod+1 first_window
2260+# map cmd+1 first_window
2261+
2262+#: Second window
2263+
2264+# map kitty_mod+2 second_window
2265+# map cmd+2 second_window
2266+
2267+#: Third window
2268+
2269+# map kitty_mod+3 third_window
2270+# map cmd+3 third_window
2271+
2272+#: Fourth window
2273+
2274+# map kitty_mod+4 fourth_window
2275+# map cmd+4 fourth_window
2276+
2277+#: Fifth window
2278+
2279+# map kitty_mod+5 fifth_window
2280+# map cmd+5 fifth_window
2281+
2282+#: Sixth window
2283+
2284+# map kitty_mod+6 sixth_window
2285+# map cmd+6 sixth_window
2286+
2287+#: Seventh window
2288+
2289+# map kitty_mod+7 seventh_window
2290+# map cmd+7 seventh_window
2291+
2292+#: Eighth window
2293+
2294+# map kitty_mod+8 eighth_window
2295+# map cmd+8 eighth_window
2296+
2297+#: Ninth window
2298+
2299+# map kitty_mod+9 ninth_window
2300+# map cmd+9 ninth_window
2301+
2302+#: Tenth window
2303+
2304+# map kitty_mod+0 tenth_window
2305+
2306+#: Visually select and focus window
2307+
2308+# map kitty_mod+f7 focus_visible_window
2309+
2310+#:: Display overlay numbers and alphabets on the window, and switch
2311+#:: the focus to the window when you press the key. When there are
2312+#:: only two windows, the focus will be switched directly without
2313+#:: displaying the overlay. You can change the overlay characters and
2314+#:: their order with option visual_window_select_characters.
2315+
2316+#: Visually swap window with another
2317+
2318+# map kitty_mod+f8 swap_with_window
2319+
2320+#:: Works like focus_visible_window above, but swaps the window.
2321+
2322+#: }}}
2323+
2324+#: Tab management {{{
2325+
2326+#: Next tab
2327+
2328+# map kitty_mod+right next_tab
2329+# map shift+cmd+] next_tab
2330+# map ctrl+tab next_tab
2331+
2332+#: Previous tab
2333+
2334+# map kitty_mod+left previous_tab
2335+# map shift+cmd+[ previous_tab
2336+# map ctrl+shift+tab previous_tab
2337+
2338+#: New tab
2339+
2340+# map kitty_mod+t new_tab
2341+# map cmd+t new_tab
2342+
2343+#: Close tab
2344+
2345+# map kitty_mod+q close_tab
2346+# map cmd+w close_tab
2347+
2348+#: Close OS window
2349+
2350+# map shift+cmd+w close_os_window
2351+
2352+#: Move tab forward
2353+
2354+# map kitty_mod+. move_tab_forward
2355+
2356+#: Move tab backward
2357+
2358+# map kitty_mod+, move_tab_backward
2359+
2360+#: Set tab title
2361+
2362+# map kitty_mod+alt+t set_tab_title
2363+# map shift+cmd+i set_tab_title
2364+
2365+
2366+#: You can also create shortcuts to go to specific tabs, with 1 being
2367+#: the first tab, 2 the second tab and -1 being the previously active
2368+#: tab, -2 being the tab active before the previously active tab and
2369+#: so on. Any number larger than the number of tabs goes to the last
2370+#: tab and any number less than the number of previously used tabs in
2371+#: the history goes to the oldest previously used tab in the history::
2372+
2373+#: map ctrl+alt+1 goto_tab 1
2374+#: map ctrl+alt+2 goto_tab 2
2375+
2376+#: Just as with new_window above, you can also pass the name of
2377+#: arbitrary commands to run when using new_tab and new_tab_with_cwd.
2378+#: Finally, if you want the new tab to open next to the current tab
2379+#: rather than at the end of the tabs list, use::
2380+
2381+#: map ctrl+t new_tab !neighbor [optional cmd to run]
2382+#: }}}
2383+
2384+#: Layout management {{{
2385+
2386+#: Next layout
2387+
2388+# map kitty_mod+l next_layout
2389+
2390+
2391+#: You can also create shortcuts to switch to specific layouts::
2392+
2393+#: map ctrl+alt+t goto_layout tall
2394+#: map ctrl+alt+s goto_layout stack
2395+
2396+#: Similarly, to switch back to the previous layout::
2397+
2398+#: map ctrl+alt+p last_used_layout
2399+
2400+#: There is also a toggle_layout action that switches to the named
2401+#: layout or back to the previous layout if in the named layout.
2402+#: Useful to temporarily "zoom" the active window by switching to the
2403+#: stack layout::
2404+
2405+#: map ctrl+alt+z toggle_layout stack
2406+#: }}}
2407+
2408+#: Font sizes {{{
2409+
2410+#: You can change the font size for all top-level kitty OS windows at
2411+#: a time or only the current one.
2412+
2413+#: Increase font size
2414+
2415+# map kitty_mod+equal change_font_size all +2.0
2416+# map kitty_mod+plus change_font_size all +2.0
2417+# map kitty_mod+kp_add change_font_size all +2.0
2418+# map cmd+plus change_font_size all +2.0
2419+# map cmd+equal change_font_size all +2.0
2420+# map shift+cmd+equal change_font_size all +2.0
2421+
2422+#: Decrease font size
2423+
2424+# map kitty_mod+minus change_font_size all -2.0
2425+# map kitty_mod+kp_subtract change_font_size all -2.0
2426+# map cmd+minus change_font_size all -2.0
2427+# map shift+cmd+minus change_font_size all -2.0
2428+
2429+#: Reset font size
2430+
2431+# map kitty_mod+backspace change_font_size all 0
2432+# map cmd+0 change_font_size all 0
2433+
2434+
2435+#: To setup shortcuts for specific font sizes::
2436+
2437+#: map kitty_mod+f6 change_font_size all 10.0
2438+
2439+#: To setup shortcuts to change only the current OS window's font
2440+#: size::
2441+
2442+#: map kitty_mod+f6 change_font_size current 10.0
2443+#: }}}
2444+
2445+#: Select and act on visible text {{{
2446+
2447+#: Use the hints kitten to select text and either pass it to an
2448+#: external program or insert it into the terminal or copy it to the
2449+#: clipboard.
2450+
2451+#: Open URL
2452+
2453+# map kitty_mod+e open_url_with_hints
2454+
2455+#:: Open a currently visible URL using the keyboard. The program used
2456+#:: to open the URL is specified in open_url_with.
2457+
2458+#: Insert selected path
2459+
2460+# map kitty_mod+p>f kitten hints --type path --program -
2461+
2462+#:: Select a path/filename and insert it into the terminal. Useful,
2463+#:: for instance to run git commands on a filename output from a
2464+#:: previous git command.
2465+
2466+#: Open selected path
2467+
2468+# map kitty_mod+p>shift+f kitten hints --type path
2469+
2470+#:: Select a path/filename and open it with the default open program.
2471+
2472+#: Insert selected line
2473+
2474+# map kitty_mod+p>l kitten hints --type line --program -
2475+
2476+#:: Select a line of text and insert it into the terminal. Useful for
2477+#:: the output of things like: `ls -1`.
2478+
2479+#: Insert selected word
2480+
2481+# map kitty_mod+p>w kitten hints --type word --program -
2482+
2483+#:: Select words and insert into terminal.
2484+
2485+#: Insert selected hash
2486+
2487+# map kitty_mod+p>h kitten hints --type hash --program -
2488+
2489+#:: Select something that looks like a hash and insert it into the
2490+#:: terminal. Useful with git, which uses SHA1 hashes to identify
2491+#:: commits.
2492+
2493+#: Open the selected file at the selected line
2494+
2495+# map kitty_mod+p>n kitten hints --type linenum
2496+
2497+#:: Select something that looks like filename:linenum and open it in
2498+#:: your default editor at the specified line number.
2499+
2500+#: Open the selected hyperlink
2501+
2502+# map kitty_mod+p>y kitten hints --type hyperlink
2503+
2504+#:: Select a hyperlink (i.e. a URL that has been marked as such by
2505+#:: the terminal program, for example, by `ls --hyperlink=auto`).
2506+
2507+
2508+#: The hints kitten has many more modes of operation that you can map
2509+#: to different shortcuts. For a full description see hints kitten
2510+#: <https://sw.kovidgoyal.net/kitty/kittens/hints/>.
2511+#: }}}
2512+
2513+#: Miscellaneous {{{
2514+
2515+#: Show documentation
2516+
2517+# map kitty_mod+f1 show_kitty_doc overview
2518+
2519+#: Toggle fullscreen
2520+
2521+# map kitty_mod+f11 toggle_fullscreen
2522+# map ctrl+cmd+f toggle_fullscreen
2523+
2524+#: Toggle maximized
2525+
2526+# map kitty_mod+f10 toggle_maximized
2527+
2528+#: Toggle macOS secure keyboard entry
2529+
2530+# map opt+cmd+s toggle_macos_secure_keyboard_entry
2531+
2532+#: Unicode input
2533+
2534+# map kitty_mod+u kitten unicode_input
2535+# map ctrl+cmd+space kitten unicode_input
2536+
2537+#: Edit config file
2538+
2539+# map kitty_mod+f2 edit_config_file
2540+# map cmd+, edit_config_file
2541+
2542+#: Open the kitty command shell
2543+
2544+# map kitty_mod+escape kitty_shell window
2545+
2546+#:: Open the kitty shell in a new window / tab / overlay / os_window
2547+#:: to control kitty using commands.
2548+
2549+#: Increase background opacity
2550+
2551+# map kitty_mod+a>m set_background_opacity +0.1
2552+
2553+#: Decrease background opacity
2554+
2555+# map kitty_mod+a>l set_background_opacity -0.1
2556+
2557+#: Make background fully opaque
2558+
2559+# map kitty_mod+a>1 set_background_opacity 1
2560+
2561+#: Reset background opacity
2562+
2563+# map kitty_mod+a>d set_background_opacity default
2564+
2565+#: Reset the terminal
2566+
2567+# map kitty_mod+delete clear_terminal reset active
2568+# map opt+cmd+r clear_terminal reset active
2569+
2570+#:: You can create shortcuts to clear/reset the terminal. For
2571+#:: example::
2572+
2573+#:: # Reset the terminal
2574+#:: map f1 clear_terminal reset active
2575+#:: # Clear the terminal screen by erasing all contents
2576+#:: map f1 clear_terminal clear active
2577+#:: # Clear the terminal scrollback by erasing it
2578+#:: map f1 clear_terminal scrollback active
2579+#:: # Scroll the contents of the screen into the scrollback
2580+#:: map f1 clear_terminal scroll active
2581+#:: # Clear everything on screen up to the line with the cursor or the start of the current prompt (needs shell integration)
2582+#:: map f1 clear_terminal to_cursor active
2583+#:: # Same as above except cleared lines are moved into scrollback
2584+#:: map f1 clear_terminal to_cursor_scroll active
2585+
2586+#:: If you want to operate on all kitty windows instead of just the
2587+#:: current one, use all instead of active.
2588+
2589+#:: Some useful functions that can be defined in the shell rc files
2590+#:: to perform various kinds of clearing of the current window:
2591+
2592+#:: .. code-block:: sh
2593+
2594+#:: clear-only-screen() {
2595+#:: printf "\e[H\e[2J"
2596+#:: }
2597+
2598+#:: clear-screen-and-scrollback() {
2599+#:: printf "\e[H\e[3J"
2600+#:: }
2601+
2602+#:: clear-screen-saving-contents-in-scrollback() {
2603+#:: printf "\e[H\e[22J"
2604+#:: }
2605+
2606+#:: For instance, using these escape codes, it is possible to remap
2607+#:: Ctrl+L to both scroll the current screen contents into the
2608+#:: scrollback buffer and clear the screen, instead of just clearing
2609+#:: the screen. For ZSH, in ~/.zshrc, add:
2610+
2611+#:: .. code-block:: zsh
2612+
2613+#:: ctrl_l() {
2614+#:: builtin print -rn -- $'\r\e[0J\e[H\e[22J' >"$TTY"
2615+#:: builtin zle .reset-prompt
2616+#:: builtin zle -R
2617+#:: }
2618+#:: zle -N ctrl_l
2619+#:: bindkey '^l' ctrl_l
2620+
2621+#:: Alternatively, you can just add map ctrl+l clear_terminal
2622+#:: to_cursor_scroll active to kitty.conf which works with no changes
2623+#:: to the shell rc files, but only clears up to the prompt, it does
2624+#:: not clear any text at the prompt itself.
2625+
2626+#: Clear to start
2627+
2628+# map cmd+k clear_terminal to_cursor active
2629+
2630+#: Clear scrollback
2631+
2632+# map option+cmd+k clear_terminal scrollback active
2633+
2634+#: Clear screen
2635+
2636+# map cmd+ctrl+l clear_terminal to_cursor_scroll active
2637+
2638+#: Reload kitty.conf
2639+
2640+# map kitty_mod+f5 load_config_file
2641+# map ctrl+cmd+, load_config_file
2642+
2643+#:: Reload kitty.conf, applying any changes since the last time it
2644+#:: was loaded. Note that a handful of options cannot be dynamically
2645+#:: changed and require a full restart of kitty. Particularly, when
2646+#:: changing shortcuts for actions located on the macOS global menu
2647+#:: bar, a full restart is needed. You can also map a keybinding to
2648+#:: load a different config file, for example::
2649+
2650+#:: map f5 load_config /path/to/alternative/kitty.conf
2651+
2652+#:: Note that all options from the original kitty.conf are discarded,
2653+#:: in other words the new configuration *replace* the old ones.
2654+
2655+#: Debug kitty configuration
2656+
2657+# map kitty_mod+f6 debug_config
2658+# map opt+cmd+, debug_config
2659+
2660+#:: Show details about exactly what configuration kitty is running
2661+#:: with and its host environment. Useful for debugging issues.
2662+
2663+#: Send arbitrary text on key presses
2664+
2665+#:: E.g. map ctrl+shift+alt+h send_text all Hello World
2666+
2667+#:: You can tell kitty to send arbitrary (UTF-8) encoded text to the
2668+#:: client program when pressing specified shortcut keys. For
2669+#:: example::
2670+
2671+#:: map ctrl+alt+a send_text all Special text
2672+
2673+#:: This will send "Special text" when you press the Ctrl+Alt+A key
2674+#:: combination. The text to be sent decodes ANSI C escapes
2675+#:: <https://www.gnu.org/software/bash/manual/html_node/ANSI_002dC-
2676+#:: Quoting.html> so you can use escapes like \e to send control
2677+#:: codes or \u21fb to send Unicode characters (or you can just input
2678+#:: the Unicode characters directly as UTF-8 text). You can use
2679+#:: `kitten show-key` to get the key escape codes you want to
2680+#:: emulate.
2681+
2682+#:: The first argument to send_text is the keyboard modes in which to
2683+#:: activate the shortcut. The possible values are normal,
2684+#:: application, kitty or a comma separated combination of them. The
2685+#:: modes normal and application refer to the DECCKM cursor key mode
2686+#:: for terminals, and kitty refers to the kitty extended keyboard
2687+#:: protocol. The special value all means all of them.
2688+
2689+#:: Some more examples::
2690+
2691+#:: # Output a word and move the cursor to the start of the line (like typing and pressing Home)
2692+#:: map ctrl+alt+a send_text normal Word\e[H
2693+#:: map ctrl+alt+a send_text application Word\eOH
2694+#:: # Run a command at a shell prompt (like typing the command and pressing Enter)
2695+#:: map ctrl+alt+a send_text normal,application some command with arguments\r
2696+
2697+#: Open kitty Website
2698+
2699+# map shift+cmd+/ open_url https://sw.kovidgoyal.net/kitty/
2700+
2701+#: Hide macOS kitty application
2702+
2703+# map cmd+h hide_macos_app
2704+
2705+#: Hide macOS other applications
2706+
2707+# map opt+cmd+h hide_macos_other_apps
2708+
2709+#: Minimize macOS window
2710+
2711+# map cmd+m minimize_macos_window
2712+
2713+#: Quit kitty
2714+
2715+# map cmd+q quit
2716+
2717+#: }}}
2718+
2719+#: }}}
+9,
-0
1@@ -0,0 +1,9 @@
2+#!/bin/bash
3+
4+if [ "$1" == "up" ]; then
5+ lxqt-config-brightness -i "$1"
6+elif [ "$1" == "down" ]; then
7+ lxqt-config-brightness -d "$2"
8+else
9+ echo "fuck"
10+fi
M
stow.sh
+1,
-1
1@@ -2,7 +2,7 @@
2
3 echo "pulling from git..." | gum style --foreground "#f4b8e4" --border none
4
5-git pull dotfiles main
6+git pull srht main
7
8 echo "git pull complete!" | gum style --foreground "#f4b8e4" --border none
9