-
-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathkitty.conf
215 lines (155 loc) · 3.81 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
# Fonts
font_family FiraCode Nerd Font
bold_font auto
italic_font auto
bold_italic_font auto
font_size 12.0
adjust_line_height 0
adjust_column_width 0
symbol_map U+E0A0-U+E0A3,U+E0C0-U+E0C7 FiraCodeNerdFontComplete-Regular
disable_ligatures never
font_features FiraCodeNerdFontComplete-Regular +ss03 +ss04 +ss05 zero
# Cursor
cursor #1688f0
cursor_text_color background
cursor_shape block
cursor_beam_thickness 1.5
cursor_underline_thickness 2.0
cursor_stop_blinking_after 5.0
# Scrollback
scrollback_lines 99999
scrollback_pager $PAGER --chop-long-lines --RAW-CONTROL-CHARS +INPUT_LINE_NUMBER
scrollback_pager_history_size 10
# Mouse
mouse_hide_wait 2.0
url_color #1688f0
url_style curly
open_url_modifiers ctrl
open_url_with default
url_prefixes http https file ftp gemini irc gopher mailto news git
detect_urls yes
copy_on_select clipboard
paste_actions quote-urls-at-prompt
strip_trailing_spaces smart
rectangle_select_modifiers ctrl+alt
terminal_select_modifiers shift
# select_by_word_characters @-./_~?&=%+#
focus_follows_mouse yes
pointer_shape_when_grabbed beam
default_pointer_shape arrow
pointer_shape_when_dragging beam
# Performance tuning
# repaint_delay 10
# input_delay 3
# sync_to_monitor yes
# Terminal bell
enable_audio_bell no
# visual_bell_duration 0.0
# window_alert_on_bell yes
# bell_on_tab yes
# command_on_bell none
# Window layout
remember_window_size yes
initial_window_width 840
initial_window_height 320
# enabled_layouts *
# 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 #1688f0
inactive_border_color #cccccc
bell_border_color #ff5a00
inactive_text_alpha 1.0
# hide_window_decorations no
# resize_debounce_time 0.1
# resize_draw_strategy static
# resize_in_steps no
# confirm_os_window_close 0
# Tab bar
tab_bar_edge top
tab_bar_margin_width 0.0
tab_bar_style powerline
# tab_bar_min_tabs 2
# tab_switch_strategy previous
# tab_fade 0.25 0.5 0.75 1
tab_separator " ┇ "
tab_activity_symbol *
tab_title_template "{index}:{title[-8:]}"
# active_tab_title_template none
active_tab_title_template "[{index}:{title[-8:]}]"
active_tab_foreground #000
active_tab_background #1688f0
active_tab_font_style bold
inactive_tab_foreground #aaa
inactive_tab_background #35354a
inactive_tab_font_style normal
tab_bar_background #20203a
# Color scheme
foreground #dddddd
background #000000
background_opacity 0.75
background_image none
# background_image_layout scale
background_image_linear no
dynamic_background_opacity yes
background_tint 0.0
dim_opacity 0.95
selection_foreground #000
selection_background #1688f0
## black
color0 #000000
color8 #767676
## red
color1 #E00606
color9 #FF0043
## green
color2 #3ED50A
color10 #00F955
# yellow
color3 #F1C200
color11 #fffd00
# blue
color4 #0d73cc
color12 #1a8fff
# magenta
color5 #cb1ed1
color13 #fd28ff
# cyan
color6 #0dcdcd
color14 #14ffff
# white
color7 #dddddd
color15 #ffffff
mark1_foreground black
mark1_background #98d3cb
mark2_foreground black
mark2_background #f2dcd3
mark3_foreground black
mark3_background #f274bc
# Advanced
# shell .
# editor .
# close_on_child_death no
allow_remote_control no
listen_on none
# env
# update_check_interval 24
# startup_session none
# clipboard_control write-clipboard write-primary
allow_hyperlinks yes
# term xterm-kitty
shell_integration enabled
# remap
map ctrl+shift+e open_url_with_hints
map ctrl+shift+o pass_selection_to_program qutebrowser
# Browse scrollback
map ctrl+shift+h launch --stdin-source=@screen_scrollback --stdin-add-formatting --type=overlay less +G -R
# Send alt + t to the terminal
# map ctrl+t send_text all \x1bt
hide_window_decorations titlebar-only
macos_option_as_alt yes