-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkitty.conf
243 lines (183 loc) · 4.18 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
# Text
font_family JetBrains Mono
bold_font JetBrains Mono Bold
italic_font JetBrains Mono Italic
bold_italic_font JetBrains Mono Bold Italic
font_size 12.5
force_ltr no
adjust_baseline 0%
disable_ligatures never
# Cursor
cursor #d4be98
cursor_text_color #252423
cursor_shape underline
cursor_beam_thickness 1
cursor_underline_thickness 2
cursor_blink_interval 0
cursor_stop_blinking_after 0
# Scroll
scrollback_lines 5000
wheel_scroll_multiplier 3.0
touch_scroll_multiplier 3.0
mouse_hide_wait -2.0
# Links processing
url_color #7daea3
url_style straight
url_prefixes http https file ftp gemini irc gopher mailto news git
detect_urls yes
# Mouse
select_by_word_characters @-./_~?&=%+#
click_interval 0.3
focus_follows_mouse no
# Performance
input_delay 3
sync_to_monitor yes
# Bell
enable_audio_bell yes
visual_bell_duration 0.0
visual_bell_color none
window_alert_on_bell yes
command_on_bell none
bell_path none
# Tab bar
tab_bar_edge top
tab_bar_style powerline
active_tab_foreground #32302f
active_tab_background #e78a4e
active_tab_font_style bold-italic
inactive_tab_foreground #ddc7a1
inactive_tab_background #504945
inactive_tab_font_style normal
# Color scheme
foreground #d4be98
background #32302f
background_opacity 0.95
dim_opacity 0.8
selection_foreground #32302f
selection_background #d4be98
# The color table
# Black
color0 #252423
color8 #32302f
# Red
color1 #ea6962
color9 #ea6962
# Green
color2 #a9b665
color10 #a9b665
# Yellow
color3 #d8a657
color11 #d8a657
# Blue
color4 #7daea3
color12 #7daea3
# Magenta
color5 #d3869b
color13 #d3869b
# Cyan
color6 #89b482
color14 #89b482
# White
color7 #d4be98
color15 #d4be98
# Advanced
shell .
editor nvim
close_on_child_death yes
allow_remote_control yes
listen_on unix:@mykitty
# OS specific tweaks
linux_display_server Wayland
# Keyboard shortcuts
kitty_mod ctrl+shift
map kitty_mod+Shift+c copy_to_clipboard
map kitty_mod+Shift+v paste_from_clipboard
# Scrolling
# Scroll line up
map kitty_mod+up scroll_line_up
map kitty_mod+k scroll_line_up
# Scroll line down
map kitty_mod+down scroll_line_down
map kitty_mod+j scroll_line_down
# Scroll page up
map kitty_mod+page_up scroll_page_up
# Scroll page down
map kitty_mod+page_down scroll_page_down
# Scroll to top
map kitty_mod+home scroll_home
# Scroll to bottom
map kitty_mod+end scroll_end
# Browse output of the last shell command
map kitty_mod+g show_last_command_output
# Window management
# New window
map kitty_mod+enter new_window
# Close window
map kitty_mod+w close_window
# Next window
map kitty_mod+] next_window
# Previous window
map kitty_mod+[ previous_window
# Start resizing window
map kitty_mod+r start_resizing_window
# First window
map kitty_mod+1 first_window
# Second window
map kitty_mod+2 second_window
# Third window
map kitty_mod+3 third_window
# Fourth window
map kitty_mod+4 fourth_window
# Fifth window
map kitty_mod+5 fifth_window
# Sixth window
map kitty_mod+6 sixth_window
# Seventh window
map kitty_mod+7 seventh_window
# Eight window
map kitty_mod+8 eighth_window
# Ninth window
map kitty_mod+9 ninth_window
# Tenth window
map kitty_mod+0 tenth_window
# Tab management
# Next tab
map ctrl+tab next_tab
# Previous tab
map kitty_mod+tab previous_tab
#New tab
map kitty_mod+t new_tab
# Close tab
map kitty_mod+q close_tab
# Move tab forward
map kitty_mod+. move_tab_forward
# Move tab backward
map kitty_mod+, move_tab_backward
# Set tab title
map kitty_mod+l set_tab_title
# Map tabs to nmumbers
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 0
# Increase font size
map kitty_mod+equal change_font_size all +2.0
map kitty_mod+plus change_font_size all +2.0
# Decrease font size
map kitty_mod+minus change_font_size all -2.0
# Reset font size
map kitty_mod+backspace change_font_size all 0
# Edit config file
map kitty_mod+f2 edit_config_file
# Reload kitty.conf
map kitty_mod+f5 load_config_file
# Debug kitty configuration
map kitty_mod+f6 debug_config
# Disable kitty confirm window
confirm_os_window_close 0