-
Notifications
You must be signed in to change notification settings - Fork 0
/
kitty.conf.bak
417 lines (318 loc) · 12.7 KB
/
kitty.conf.bak
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
# vim:fileencoding=utf-8:ft=conf:foldmethod=marker
# IMPORT COLOR SCHEME
# include dracula.conf
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
#: FONTS
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
font_family JetBrainsMono Nerd Font
bold_font auto
italic_font auto
bold_italic_font auto
#: Font size (in pts)
font_size 12.0
disable_ligatures never
font_features +liga
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
#: CURSOR CUSTOMIZATION:
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# Default cursor color:
# cursor #cccccc
# cursor_text_color #111111
#: The cursor shape can be one of (block, beam, underline).
cursor_shape block
cursor_beam_thickness 1.5
cursor_underline_thickness 2.0
cursor_blink_interval -1
cursor_stop_blinking_after 15.0
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
#: SCROLLBACK:
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
scrollback_pager_history_size 10000
scrollback_fill_enlarged_window yes
scrollback_pager less --chop-long-lines --RAW-CONTROL-CHARS +INPUT_LINE_NUMBER
scrollback_lines 10000
#: Use negative numbers to change scroll direction.
# wheel_scroll_multiplier 5.0
# touch_scroll_multiplier 1.0
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
#: MOUSE ACTIONS:
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
#: Set to a negative value to hide the mouse cursor immediately.
# mouse_hide_wait 3.0
#: can be one of: none, single, double, curly
url_style curly
# url_color #0087bd
detect_urls yes
copy_on_select no
strip_trailing_spaces smart
#: The default means to use the operating system's default URL handler.
open_url_with default
#: Set of URL prefixes to look for when detecting URL under the cursor.
# url_prefixes http https file ftp gemini irc gopher mailto news git
#: By default, all characters legal in URLs are allowed.
# url_excluded_characters
# click_interval -1.0
# focus_follows_mouse no
#: The default shape of the mouse pointer. Valid values are: arrow,beam and hand
default_pointer_shape arrow
# pointer_shape_when_dragging beam
#: mouse_map button-name event-type modes action
#: mouse_map left click ungrabbed no-op
mouse_map middle release ungrabbed paste_from_selection
mouse_map left press ungrabbed mouse_selection normal
mouse_map ctrl+alt+left press ungrabbed mouse_selection rectangle
mouse_map left doublepress ungrabbed mouse_selection word
mouse_map left triplepress ungrabbed mouse_selection line
mouse_map right press ungrabbed mouse_selection extend
mouse_map shift+middle release ungrabbed,grabbed paste_selection
mouse_map shift+left press ungrabbed,grabbed mouse_selection normal
mouse_map shift+ctrl+alt+left press ungrabbed,grabbed mouse_selection rectangle
mouse_map shift+left doublepress ungrabbed,grabbed mouse_selection word
mouse_map shift+left triplepress ungrabbed,grabbed mouse_selection line
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
#: PERFORMANCE TUNING:
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# repaint_delay 10
# input_delay 3
sync_to_monitor yes
# Improve rendering process for SSH sessions
async_rendering yes
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
#: WINDOW LAYOUT:
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
enabled_layouts *
remember_window_size no
initial_window_width 1024
initial_window_height 768
resize_debounce_time 0.1
#: For a list of layouts, see https://sw.kovidgoyal.net/kitty/index.html#layouts.
hide_window_decorations no
# window_resize_step_cells 2
# window_resize_step_lines 2
# window_border_width 0.5pt
# draw_minimal_borders yes
# window_margin_width 0
# single_window_margin_width -1
# window_padding_width 0
# placement_strategy center
# active_border_color #00ff00
# inactive_border_color #cccccc
# bell_border_color #ff5a00
# inactive_text_alpha 1.0
# resize_draw_strategy static
# resize_in_steps no
# confirm_os_window_close 0
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
#: TAB BARS:
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
#: Which edge to show the tab bar on, top or bottom
tab_bar_edge top
# tab_bar_margin_width 0.0
# tab_bar_margin_height 0.0 0.0
#: Tab bar style can be one of: fade, separator, powerline, or hidden.
tab_bar_style powerline
#: The min. no. of tabs that must exist before the tab bar is shown.
tab_bar_min_tabs 2
tab_powerline_style slanted
tab_switch_strategy previous
# tab_activity_symbol none
# tab_separator "||"
# tab_title_template "{title}"
# active_tab_title_template none
# tab_bar_background none
# active_tab_foreground #000
# active_tab_background #64effc
active_tab_font_style bold
# inactive_tab_foreground #fff
# inactive_tab_background #666
inactive_tab_font_style light
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
#: COLOR SCHEME
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
#: The foreground and background colors
# foreground #dddddd
# background #000000
background_opacity 0.9
# selection_foreground #000000
# selection_background #fffacd
#: Path to a background image. Must be in PNG format.
# background_image none
#: Whether to tile or scale the background image.
# background_image_layout tiled
# background_image_linear no
# dynamic_background_opacity no
# background_tint 0.0
# dim_opacity 0.75
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
#: THE COLOR TABLE
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
#: The 256 terminal colors. There are 8 basic colors, each color has a
#: dull and bright version, for the first 16 colors. You can set the
#: remaining 240 colors as color16 to color255.
# !!!!!!! THE COLORS ARE COMMENTED OUT BECAUSE WE ARE IMPORTING COLOR SCHEME !!!!!!!
# currently using ~/.config/kitty/dracula.conf
# color0 #000000
# color8 #767676
#: black
# color1 #cc0403
# color9 #f2201f
#: red
# color2 #19cb00
# color10 #23fd00
#: green
# color3 #cecb00
# color11 #fffd00
#: yellow
# color4 #0d73cc
# color12 #1a8fff
#: blue
# color5 #cb1ed1
# color13 #fd28ff
#: magenta
# color6 #0dcdcd
# color14 #14ffff
#: cyan
# color7 #dddddd
# color15 #ffffff
#: white
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
#: ADVANCED
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# shell .
editor nvim
# close_on_child_death no
# listen_on none
allow_remote_control no
shell_integration disabled
# Line wrapping control:
input_line_wrapping_width 1000
wrap_lines no
#: Periodically check if an update to kitty is available.
update_check_interval 24
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
#: OS specific tweaks
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# wayland_titlebar_color system
#: Change the color of the kitty window's titlebar on Wayland systems
#: with client side window decorations such as GNOME. A value of
#: system means to use the default system color, a value of background
#: means to use the background color of the currently active window
#: and finally you can use an arbitrary color, such as #12af59 or red.
# linux_display_server auto
#: Choose between Wayland and X11 backends. By default, an appropriate
#: backend based on the system state is chosen automatically. Set it
#: to x11 or wayland to force the choice. Changing this setting by
#: reloading the config is not supported.
#: MY KITTY CONFIGURATIONS
kitty_mod alt
#: The value of kitty_mod is used as the modifier for all default
#: shortcuts, you can change it in your kitty.conf to change the
#: modifiers for all the default shortcuts.
# kitten_alias hints hints --hints-offset=0
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
#: CLIPBOARD:
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
map kitty_mod+c copy_to_clipboard
map kitty_mod+v paste_from_clipboard
map kitty_mod+s paste_from_selection
# map kitty_mod+o pass_selection_to_program
#: map kitty_mod+o pass_selection_to_program firefox
#: map kitty_mod+y new_window less @selection
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
#: SCROLLING:
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
map kitty_mod+k scroll_line_up
map kitty_mod+j scroll_line_down
map kitty_mod+shift+] scroll_page_up
map kitty_mod+shift+[ scroll_page_down
# map kitty_mod+home scroll_home
# map kitty_mod+end scroll_end
# map kitty_mod+h show_scrollback
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
#: WINDOW MANAGEMENT:
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
map kitty_mod+shift+n new_window
#: map kitty_mod+y launch mutt
#: map ctrl+alt+enter launch --cwd=current
#: map ctrl+enter launch --allow-remote-control some_program
#: map ctrl+n launch --location=neighbor some_program
#: map ctrl+f launch --location=first some_program
#: For more details, see launch.
# Window Navigation:
# map kitty_mod+w close_window
# map kitty_mod+] next_window
# map kitty_mod+[ previous_window
# map kitty_mod+f move_window_forward
# map kitty_mod+b move_window_backward
# map kitty_mod+` move_window_to_top
# map kitty_mod+r start_resizing_window
# map kitty_mod+1 first_window
# map kitty_mod+2 second_window
# map kitty_mod+3 third_window
# map kitty_mod+4 fourth_window
# map kitty_mod+5 fifth_window
# map kitty_mod+6 sixth_window
# map kitty_mod+7 seventh_window
# map kitty_mod+8 eighth_window
# map kitty_mod+9 ninth_window
# map kitty_mod+0 tenth_window
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
#: TAB MANAGEMENT:
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
map kitty_mod+] next_tab
map kitty_mod+[ previous_tab
map kitty_mod+t new_tab
map kitty_mod+q close_tab
map kitty_mod+shift+r set_tab_title
# map shift+cmd+w close_os_window
# map kitty_mod+. move_tab_forward
# map kitty_mod+, move_tab_backward
map ctrl+alt+1 goto_tab 1
map ctrl+alt+2 goto_tab 2
map ctrl+alt+3 goto_tab 3
map ctrl+alt+4 goto_tab 4
map ctrl+alt+5 goto_tab 5
map ctrl+alt+6 goto_tab 6
map ctrl+alt+7 goto_tab 7
map ctrl+alt+8 goto_tab 8
map ctrl+alt+9 goto_tab 9
map ctrl+alt+0 goto_tab -1
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
#: LAYOUT MANAGEMENT:
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
map kitty_mod+l next_layout
map ctrl+alt+p last_used_layout
#: map ctrl+alt+t goto_layout tall
#: map ctrl+alt+s goto_layout stack
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
#: FONT SIZE CHANGE:
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
#: You can change the font size for all top-level kitty OS windows at
#: a time or only the current one.
map kitty_mod+equal change_font_size all +2.0
map kitty_mod+minus change_font_size all -2.0
map kitty_mod+backspace change_font_size all 0
#: To setup shortcuts for specific font sizes::
#: map kitty_mod+f6 change_font_size all 10.0
map kitty_mod+e kitten hints
# map kitty_mod+p>f kitten hints --type path --program -
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
#: MISCELLANEOUS:
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
map kitty_mod+f11 toggle_fullscreen
map kitty_mod+f10 toggle_maximized
# map kitty_mod+u kitten unicode_input
map kitty_mod+f2 edit_config_file
map kitty_mod+escape kitty_shell window
# map kitty_mod+a>m set_background_opacity +0.1
# map kitty_mod+a>l set_background_opacity -0.1
# map kitty_mod+a>1 set_background_opacity 1
# map kitty_mod+a>d set_background_opacity default
# map kitty_mod+c clear_terminal scrollback active
#: Reload kitty.conf, applying any changes.
map kitty_mod+f5 load_config_file
# map kitty_mod+f6 debug_config
# BEGIN_KITTY_THEME
# Adwaita darker
include current-theme.conf
# END_KITTY_THEME