-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkitty.conf
444 lines (362 loc) · 10.4 KB
/
kitty.conf
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
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
# vim:fileencoding=utf-8:ft=conf:foldmethod=marker
# Font family. You can also specify different fonts for the
# bold/italic/bold-italic variants. By default they are derived automatically,
# by the OSes font system. Setting them manually is useful for font families
# that have many weight variants like Book, Medium, Thick, etc. For example:
# font_family Operator Mono Book
# bold_font Operator Mono Thick
# bold_italic_font Operator Mono Medium
font_family Sudo
italic_font auto
bold_font auto
bold_italic_font auto
# Font size (in pts)
font_size 18.0
# The amount the font size is changed by (in pts) when increasing/decreasing
# the font size in a running terminal.
font_size_delta 1
# The foreground color
foreground #c0b18b
# The background color
background #1b1b1b
# The foreground for selections
selection_foreground #2f2f2f
# The background for selections
selection_background #d75f5f
# The cursor color
cursor #657b83
# The cursor opacity
cursor_opacity 0.8
# The cursor shape can be one of (block, beam, underline)
cursor_shape block
# The interval (in seconds) at which to blink the cursor. Set to zero to
# disable blinking.
cursor_blink_interval 0.5
# Stop blinking cursor after the specified number of seconds of keyboard inactivity. Set to
# zero or a negative number to never stop blinking.
cursor_stop_blinking_after 15.0
# Number of lines of history to keep in memory for scrolling back
scrollback_lines 2000
# Program with which to view scrollback in a new window. The scrollback buffer is passed as
# STDIN to this program. If you change it, make sure the program you use can
# handle ANSI escape sequences for colors and text formatting.
scrollback_pager less +G -R
# When viewing scrollback in a new window, put it in a new tab as well
scrollback_in_new_tab no
# Wheel scroll multiplier (modify the amount scrolled by the mouse wheel)
wheel_scroll_multiplier 1.5
# The interval between successive clicks to detect double/triple clicks (in seconds)
click_interval 0.5
# Characters considered part of a word when double clicking. In addition to these characters
# any character that is marked as an alpha-numeric character in the unicode
# database will be matched.
select_by_word_characters :@-./_~?&=%+#
# Hide mouse cursor after the specified number of seconds of the mouse not being used. Set to
# zero or a negative number to disable mouse cursor hiding.
mouse_hide_wait 0.0
# The enabled window layouts. A comma separated list of layout names. The special value * means
# all layouts. The first listed layout will be used as the startup layout.
# For a list of available layouts, see the file layouts.py
enabled_layouts *
# If enabled, the window size will be remembered so that new instances of kitty will have the same
# size as the previous instance. If disabled, the window will initially have size configured
# by initial_window_width/height, in pixels.
remember_window_size no
initial_window_width 640
initial_window_height 400
# Delay (in milliseconds) between screen updates. Decreasing it, increases fps
# at the cost of more CPU usage. The default value yields ~100fps which is more
# that sufficient for most uses.
repaint_delay 10
# Visual bell duration. Flash the screen when a bell occurs for the specified number of
# seconds. Set to zero to disable.
visual_bell_duration 0.0
# Enable/disable the audio bell. Useful in environments that require silence.
enable_audio_bell yes
# The modifier keys to press when clicking with the mouse on URLs to open the URL
open_url_modifiers ctrl+shift
# The program with which to open URLs that are clicked on. The special value "default" means to
# use the operating system's default URL handler.
open_url_with default
# Choose whether to use the system implementation of wcwidth() (used to
# control how many cells a character is rendered in). If you use the system
# implementation, then kitty and any programs running in it will agree. The
# problem is that system implementations often are based on outdated unicode
# standards and get the width of many characters, such as emoji, wrong. So if
# you are using kitty with programs that have their own up-to-date wcwidth()
# implementation, set this option to no.
use_system_wcwidth yes
# The value of the TERM environment variable to set
term xterm-kitty
# The width (in pts) of window borders. Will be rounded to the nearest number of pixels based on screen resolution.
window_border_width 0
window_margin_width 15
# The color for the border of the active window
active_border_color #ffffff
# The color for the border of inactive windows
inactive_border_color #cccccc
# Tab-bar colors
active_tab_foreground #000
active_tab_background #eee
inactive_tab_foreground #444
inactive_tab_background #999
# The 16 terminal colors. There are 8 basic colors, each color has a dull and
# bright version.
###### COLORS ######
# {{{ -- INVISIBONE
background #232323
foreground #A0A0A0
#BLK
color0 #303030
color8 #686868
#RED
color9 #FFA7DA
color1 #D370A3
#GRN
color10 #A3D572
color2 #6D9E3F
#BLU
color12 #98CBFE
color4 #6095C5
#YEL
color11 #EFBD8B
color3 #B58858
#CYN
color14 #75DAA9
color6 #3BA275
#MAG
color13 #E5B0FF
color5 #AC7BDE
#WHT
color7 #CFCFCF
color15 #FFFFFF
# }}}
# {{{ electric_warlock
background #121212
foreground #B1B1B1
#black
color0 #2E1F1F
color8 #422D2D
#red
color1 #AA0E50
color9 #BE0E50
#green
color2 #1DCC9F
color10 #1FD9A9
#yellow
color3 #27C282
color11 #2CDB93
#blue
color4 #7182A8
color12 #8194BF
#magenta
color5 #A673A6
color13 #7F5AA1
#cyan
color6 #6DA3A1
color14 #669997
#white
color7 #B7BBBD
color15 #D9D9D9
# }}}
# {{{ BETAMAX (light, kinda fall-like (orange and red))
# special
foreground #2a2a20
background #fef1ce
# sun-bleached white bg
#background #faeeb0
cursor #2a2a20
# black
color0 #b6a974
color8 #887f57
## red
color1 #ebbe39
color9 #c39d2f
# green
color2 #ea8235
color10 #c36c2c
# yellow
color3 #df5029
color11 #c54724
# blue
color4 #b4171e
color12 #9b141a
# magenta
color5 #850f25
color13 #660c1d
# cyan
color6 #550c27
color14 #39081a
# white
color7 #421439
color15 #280c22
# }}}
# {{{ my eyes tired (dark scheme low contrast, kinda blue looks awesome)
foreground #e1e1e1
background #2a2e35
cursor #ff6666
# black
color0 #5a5a5a
color8 #8c8c8c
# red
color1 #de8990
color9 #d0a8ab
# green
color2 #94daa9
color10 #bae8d2
# yellow
color3 #dee7aa
color11 #d7c96b
# blue
color4 #9cdbdf
color12 #6cb4dd
# magenta
color5 #cca8c9
color13 #db79bf
# cyan
color6 #9ad4c8
color14 #59b0b2
# white
color7 #e1e1e1
color15 #f0f0f0
# }}}
# {{{ -- RoK (A lot like my usual light theme)
foreground #353945
background #f5f5f5
cursor #353945
color0 #5c616c
color8 #5c616c
color1 #e1485a
color9 #e1485a
color2 #35ac54
color10 #35ac54
color3 #ef654a
color11 #ef654a
color4 #5294e2
color12 #5294e2
color5 #c81a71
color13 #c81a71
color6 #1ba39c
color14 #1ba39c
color7 #353945
color15 #353945
# }}}
# {{{ -- Relic Dark
background #1D2426
foreground #8FA388
#Alternate foreground
#foreground #AB9C71
cursorColor #BE5E1E
color0 #39474A
color1 #986345
color2 #788249
color3 #9B6A46
color4 #3E5951
color5 #B9924A
color6 #5d796a
color7 #977D5E
color8 #4C5F63
color9 #B07350
color10 #869151
color11 #AF6B42
color12 #567A6E
color13 #D69D55
color14 #668574
color15 #AB9C71
# }}}
# {{{ RAILSCAST
! special
foreground #e6e1dc
background #2b2b2b
cursor #BE5E1E
! black
color0 #2b2b2b
color8 #5a647e
! red
color1 #da4939
color9 #da4939
! green
color2 #a5c261
color10 #a5c261
! yellow
color3 #ffc66d
color11 #ffc66d
! blue
color4 #6d9cbe
color12 #6d9cbe
! magenta
color5 #b6b3eb
color13 #b6b3eb
! cyan
color6 #519f50
color14 #519f50
! white
color7 #e6e1dc
color15 #f9f7f3
# }}}
#### END COLORS ####
# Key mapping
# For a list of key names, see: http://www.glfw.org/docs/latest/group__keys.html
# For a list of modifier names, see: http://www.glfw.org/docs/latest/group__mods.html
# You can use the special action no_op to unmap a keyboard shortcut that is
# assigned in the default configuration.
# Clipboard
map super+v paste_from_clipboard
map ctrl+shift+s paste_from_selection
map super+c copy_to_clipboard
map shift+insert paste_from_selection
# Scrolling
map ctrl+shift+up scroll_line_up
map ctrl+shift+down scroll_line_down
map ctrl+shift+k scroll_line_up
map ctrl+shift+j scroll_line_down
map super+u scroll_page_up
map super+d scroll_page_down
map ctrl+shift+home scroll_home
map ctrl+shift+end scroll_end
map ctrl+shift+h show_scrollback
# Window management
map super+n new_window
map super+w close_window
map super+l next_window
map super+h previous_window
map ctrl+shift+f move_window_forward
map ctrl+shift+b move_window_backward
map ctrl+shift+` move_window_to_top
map ctrl+shift+1 first_window
map ctrl+shift+2 second_window
map ctrl+shift+3 third_window
map ctrl+shift+4 fourth_window
map ctrl+shift+5 fifth_window
map ctrl+shift+6 sixth_window
map ctrl+shift+7 seventh_window
map ctrl+shift+8 eighth_window
map ctrl+shift+9 ninth_window
map ctrl+shift+0 tenth_window
# Tab management
map ctrl+shift+right next_tab
map ctrl+shift+left previous_tab
map ctrl+shift+t new_tab
map ctrl+shift+q close_tab
map ctrl+shift+l next_layout
map ctrl+shift+. move_tab_forward
map ctrl+shift+, move_tab_backward
# Miscellaneous
map ctrl+shift+up increase_font_size
map ctrl+shift+down decrease_font_size
map ctrl+shift+backspace restore_font_size
# Symbol mapping (special font for specified unicode code points). Map the
# specified unicode codepoints to a particular font. Useful if you need special
# rendering for some symbols, such as for Powerline. Avoids the need for
# patched fonts. Each unicode code point is specified in the form U+<code point
# in hexadecimal>. You can specify multiple code points, separated by commas
# and ranges separated by hyphens. symbol_map itself can be specified multiple times.
# Syntax is:
#
# symbol_map codepoints Font Family Name
#
# For example:
#
#symbol_map U+E0A0-U+E0A2,U+E0B0-U+E0B3 PowerlineSymbols
# Hide the kitty window's title bar on macOS.
macos_hide_titlebar yes