diff options
Diffstat (limited to 'alacritty')
-rw-r--r-- | alacritty/.config/alacritty/alacritty.yml | 336 |
1 files changed, 336 insertions, 0 deletions
diff --git a/alacritty/.config/alacritty/alacritty.yml b/alacritty/.config/alacritty/alacritty.yml new file mode 100644 index 0000000..b2f25a1 --- /dev/null +++ b/alacritty/.config/alacritty/alacritty.yml | |||
@@ -0,0 +1,336 @@ | |||
1 | env: | ||
2 | TERM: xterm-256color | ||
3 | |||
4 | window: | ||
5 | dimensions: | ||
6 | columns: 0 | ||
7 | lines: 0 | ||
8 | |||
9 | padding: | ||
10 | x: 44 | ||
11 | y: 44 | ||
12 | |||
13 | # Display tabs using this many cells (changes require restart) | ||
14 | tabspaces: 4 | ||
15 | |||
16 | # When true, bold text is drawn using the bright variant of colors. | ||
17 | draw_bold_text_with_bright_colors: false | ||
18 | |||
19 | # Font configuration (changes require restart) | ||
20 | # | ||
21 | # Important font attributes like antialiasing, subpixel aa, and hinting can be | ||
22 | # controlled through fontconfig. Specifically, the following attributes should | ||
23 | # have an effect: | ||
24 | # | ||
25 | # * hintstyle | ||
26 | # * antialias | ||
27 | # * lcdfilter | ||
28 | # * rgba | ||
29 | # | ||
30 | # For instance, if you wish to disable subpixel antialiasing, you might set the | ||
31 | # rgba property to "none". If you wish to completely disable antialiasing, you | ||
32 | # can set antialias to false. | ||
33 | # | ||
34 | # Please see these resources for more information on how to use fontconfig | ||
35 | # | ||
36 | # * https://wiki.archlinux.org/index.php/font_configuration#Fontconfig_configuration | ||
37 | # * file:///usr/share/doc/fontconfig/fontconfig-user.html | ||
38 | font: | ||
39 | # The normal (roman) font face to use. | ||
40 | normal: | ||
41 | family: Basier Square Mono # should be "Menlo" or something on macOS. | ||
42 | # Style can be specified to pick a specific face. | ||
43 | style: Regular | ||
44 | |||
45 | # The bold font face | ||
46 | bold: | ||
47 | family: Basier Square Mono # should be "Menlo" or something on macOS. | ||
48 | # Style can be specified to pick a specific face. | ||
49 | style: Bold | ||
50 | |||
51 | # The italic font face | ||
52 | italic: | ||
53 | family: Basier Square Mono # should be "Menlo" or something on macOS. | ||
54 | # Style can be specified to pick a specific face. | ||
55 | style: Italic | ||
56 | |||
57 | # Point size of the font | ||
58 | size: 13.0 | ||
59 | |||
60 | # Offset is the extra space around each character. offset.y can be thought of | ||
61 | # as modifying the linespacing, and offset.x as modifying the letter spacing. | ||
62 | offset: | ||
63 | x: 0 | ||
64 | y: 0 | ||
65 | |||
66 | # Glyph offset determines the locations of the glyphs within their cells with | ||
67 | # the default being at the bottom. Increase the x offset to move the glyph to | ||
68 | # the right, increase the y offset to move the glyph upward. | ||
69 | glyph_offset: | ||
70 | x: 0 | ||
71 | y: 0 | ||
72 | |||
73 | # OS X only: use thin stroke font rendering. Thin strokes are suitable | ||
74 | # for retina displays, but for non-retina you probably want this set to | ||
75 | # false. | ||
76 | use_thin_strokes: false | ||
77 | |||
78 | # Should display the render timer | ||
79 | debug.render_timer: false | ||
80 | |||
81 | # Use custom cursor colors. If true, display the cursor in the cursor.foreground | ||
82 | # and cursor.background colors, otherwise invert the colors of the cursor. | ||
83 | custom_cursor_colors: false | ||
84 | |||
85 | # Colorscheme | ||
86 | |||
87 | colors: | ||
88 | # Default colors | ||
89 | primary: | ||
90 | background: '0xfafafa' | ||
91 | foreground: '0x383a42' | ||
92 | |||
93 | # Colors the cursor will use if `custom_cursor_colors` is true | ||
94 | cursor: | ||
95 | text: '0xfafafa' | ||
96 | cursor: '0x383a42' | ||
97 | |||
98 | # Normal colors | ||
99 | normal: | ||
100 | black: '0xfafafa' | ||
101 | red: '0xca1243' | ||
102 | green: '0x50a14f' | ||
103 | yellow: '0xc18401' | ||
104 | blue: '0x4078f2' | ||
105 | magenta: '0xa626a4' | ||
106 | cyan: '0x0184bc' | ||
107 | white: '0x383a42' | ||
108 | |||
109 | # Bright colors | ||
110 | bright: | ||
111 | black: '0xa0a1a7' | ||
112 | red: '0xd75f00' | ||
113 | green: '0xf0f0f1' | ||
114 | yellow: '0xe5e5e6' | ||
115 | blue: '0x696c77' | ||
116 | magenta: '0x202227' | ||
117 | cyan: '0x986801' | ||
118 | white: '0x090a0b' | ||
119 | |||
120 | # Visual Bell | ||
121 | # | ||
122 | # Any time the BEL code is received, Alacritty "rings" the visual bell. Once | ||
123 | # rung, the terminal background will be set to white and transition back to the | ||
124 | # default background color. You can control the rate of this transition by | ||
125 | # setting the `duration` property (represented in milliseconds). You can also | ||
126 | # configure the transition function by setting the `animation` property. | ||
127 | # | ||
128 | # Possible values for `animation` | ||
129 | # `Ease` | ||
130 | # `EaseOut` | ||
131 | # `EaseOutSine` | ||
132 | # `EaseOutQuad` | ||
133 | # `EaseOutCubic` | ||
134 | # `EaseOutQuart` | ||
135 | # `EaseOutQuint` | ||
136 | # `EaseOutExpo` | ||
137 | # `EaseOutCirc` | ||
138 | # `Linear` | ||
139 | # | ||
140 | # To completely disable the visual bell, set its duration to 0. | ||
141 | # | ||
142 | visual_bell: | ||
143 | animation: EaseOutExpo | ||
144 | duration: 0 | ||
145 | |||
146 | # Background opacity | ||
147 | background_opacity: 1.0 | ||
148 | |||
149 | # Mouse bindings | ||
150 | # | ||
151 | # Currently doesn't support modifiers. Both the `mouse` and `action` fields must | ||
152 | # be specified. | ||
153 | # | ||
154 | # Values for `mouse`: | ||
155 | # - Middle | ||
156 | # - Left | ||
157 | # - Right | ||
158 | # - Numeric identifier such as `5` | ||
159 | # | ||
160 | # Values for `action`: | ||
161 | # - Paste | ||
162 | # - PasteSelection | ||
163 | # - Copy (TODO) | ||
164 | mouse_bindings: | ||
165 | - { mouse: Middle, action: PasteSelection } | ||
166 | |||
167 | mouse: | ||
168 | double_click: { threshold: 300 } | ||
169 | triple_click: { threshold: 300 } | ||
170 | |||
171 | selection: | ||
172 | semantic_escape_chars: ",│`|:\"' ()[]{}<>" | ||
173 | |||
174 | hide_cursor_when_typing: false | ||
175 | |||
176 | # Style of the cursor | ||
177 | # | ||
178 | # Values for 'cursor_style': | ||
179 | # - Block | ||
180 | # - Underline | ||
181 | # - Beam | ||
182 | cursor_style: underline | ||
183 | |||
184 | # Live config reload (changes require restart) | ||
185 | live_config_reload: true | ||
186 | |||
187 | # Shell | ||
188 | # | ||
189 | # You can set shell.program to the path of your favorite shell, e.g. /bin/fish. | ||
190 | # Entries in shell.args are passed unmodified as arguments to the shell. | ||
191 | # shell: | ||
192 | # program: /bin/bash | ||
193 | # args: | ||
194 | # - --login | ||
195 | |||
196 | |||
197 | # Key bindings | ||
198 | # | ||
199 | # Each binding is defined as an object with some properties. Most of the | ||
200 | # properties are optional. All of the alphabetical keys should have a letter for | ||
201 | # the `key` value such as `V`. Function keys are probably what you would expect | ||
202 | # as well (F1, F2, ..). The number keys above the main keyboard are encoded as | ||
203 | # `Key1`, `Key2`, etc. Keys on the number pad are encoded `Number1`, `Number2`, | ||
204 | # etc. These all match the glutin::VirtualKeyCode variants. | ||
205 | # | ||
206 | # Possible values for `mods` | ||
207 | # `Command`, `Super` refer to the super/command/windows key | ||
208 | # `Control` for the control key | ||
209 | # `Shift` for the Shift key | ||
210 | # `Alt` and `Option` refer to alt/option | ||
211 | # | ||
212 | # mods may be combined with a `|`. For example, requiring control and shift | ||
213 | # looks like: | ||
214 | # | ||
215 | # mods: Control|Shift | ||
216 | # | ||
217 | # The parser is currently quite sensitive to whitespace and capitalization - | ||
218 | # capitalization must match exactly, and piped items must not have whitespace | ||
219 | # around them. | ||
220 | # | ||
221 | # Either an `action`, `chars`, or `command` field must be present. | ||
222 | # `action` must be one of `Paste`, `PasteSelection`, `Copy`, or `Quit`. | ||
223 | # `chars` writes the specified string every time that binding is activated. | ||
224 | # These should generally be escape sequences, but they can be configured to | ||
225 | # send arbitrary strings of bytes. | ||
226 | # `command` must be a map containing a `program` string, and `args` array of | ||
227 | # strings. For example: | ||
228 | # - { ... , command: { program: "alacritty", args: ["-e", "vttest"] } } | ||
229 | # | ||
230 | # Want to add a binding (e.g. "PageUp") but are unsure what the X sequence | ||
231 | # (e.g. "\x1b[5~") is? Open another terminal (like xterm) without tmux, | ||
232 | # then run `showkey -a` to get the sequence associated to a key combination. | ||
233 | key_bindings: | ||
234 | - { key: V, mods: Control|Shift, action: Paste } | ||
235 | - { key: C, mods: Control|Shift, action: Copy } | ||
236 | - { key: Q, mods: Command, action: Quit } | ||
237 | - { key: W, mods: Command, action: Quit } | ||
238 | - { key: Insert, mods: Shift, action: PasteSelection } | ||
239 | - { key: Key0, mods: Control, action: ResetFontSize } | ||
240 | - { key: Equals, mods: Control, action: IncreaseFontSize } | ||
241 | - { key: Subtract, mods: Control, action: DecreaseFontSize } | ||
242 | - { key: Home, chars: "\x1bOH", mode: AppCursor } | ||
243 | - { key: Home, chars: "\x1b[H", mode: ~AppCursor } | ||
244 | - { key: End, chars: "\x1bOF", mode: AppCursor } | ||
245 | - { key: End, chars: "\x1b[F", mode: ~AppCursor } | ||
246 | - { key: PageUp, mods: Shift, chars: "\x1b[5;2~" } | ||
247 | - { key: PageUp, mods: Control, chars: "\x1b[5;5~" } | ||
248 | - { key: PageUp, chars: "\x1b[5~" } | ||
249 | - { key: PageDown, mods: Shift, chars: "\x1b[6;2~" } | ||
250 | - { key: PageDown, mods: Control, chars: "\x1b[6;5~" } | ||
251 | - { key: PageDown, chars: "\x1b[6~" } | ||
252 | - { key: Tab, mods: Shift, chars: "\x1b[Z" } | ||
253 | - { key: Back, chars: "\x7f" } | ||
254 | - { key: Back, mods: Alt, chars: "\x1b\x7f" } | ||
255 | - { key: Insert, chars: "\x1b[2~" } | ||
256 | - { key: Delete, chars: "\x1b[3~" } | ||
257 | - { key: Left, mods: Shift, chars: "\x1b[1;2D" } | ||
258 | - { key: Left, mods: Control, chars: "\x1b[1;5D" } | ||
259 | - { key: Left, mods: Alt, chars: "\x1b[1;3D" } | ||
260 | - { key: Left, chars: "\x1b[D", mode: ~AppCursor } | ||
261 | - { key: Left, chars: "\x1bOD", mode: AppCursor } | ||
262 | - { key: Right, mods: Shift, chars: "\x1b[1;2C" } | ||
263 | - { key: Right, mods: Control, chars: "\x1b[1;5C" } | ||
264 | - { key: Right, mods: Alt, chars: "\x1b[1;3C" } | ||
265 | - { key: Right, chars: "\x1b[C", mode: ~AppCursor } | ||
266 | - { key: Right, chars: "\x1bOC", mode: AppCursor } | ||
267 | - { key: Up, mods: Shift, chars: "\x1b[1;2A" } | ||
268 | - { key: Up, mods: Control, chars: "\x1b[1;5A" } | ||
269 | - { key: Up, mods: Alt, chars: "\x1b[1;3A" } | ||
270 | - { key: Up, chars: "\x1b[A", mode: ~AppCursor } | ||
271 | - { key: Up, chars: "\x1bOA", mode: AppCursor } | ||
272 | - { key: Down, mods: Shift, chars: "\x1b[1;2B" } | ||
273 | - { key: Down, mods: Control, chars: "\x1b[1;5B" } | ||
274 | - { key: Down, mods: Alt, chars: "\x1b[1;3B" } | ||
275 | - { key: Down, chars: "\x1b[B", mode: ~AppCursor } | ||
276 | - { key: Down, chars: "\x1bOB", mode: AppCursor } | ||
277 | - { key: F1, chars: "\x1bOP" } | ||
278 | - { key: F2, chars: "\x1bOQ" } | ||
279 | - { key: F3, chars: "\x1bOR" } | ||
280 | - { key: F4, chars: "\x1bOS" } | ||
281 | - { key: F5, chars: "\x1b[15~" } | ||
282 | - { key: F6, chars: "\x1b[17~" } | ||
283 | - { key: F7, chars: "\x1b[18~" } | ||
284 | - { key: F8, chars: "\x1b[19~" } | ||
285 | - { key: F9, chars: "\x1b[20~" } | ||
286 | - { key: F10, chars: "\x1b[21~" } | ||
287 | - { key: F11, chars: "\x1b[23~" } | ||
288 | - { key: F12, chars: "\x1b[24~" } | ||
289 | - { key: F1, mods: Shift, chars: "\x1b[1;2P" } | ||
290 | - { key: F2, mods: Shift, chars: "\x1b[1;2Q" } | ||
291 | - { key: F3, mods: Shift, chars: "\x1b[1;2R" } | ||
292 | - { key: F4, mods: Shift, chars: "\x1b[1;2S" } | ||
293 | - { key: F5, mods: Shift, chars: "\x1b[15;2~" } | ||
294 | - { key: F6, mods: Shift, chars: "\x1b[17;2~" } | ||
295 | - { key: F7, mods: Shift, chars: "\x1b[18;2~" } | ||
296 | - { key: F8, mods: Shift, chars: "\x1b[19;2~" } | ||
297 | - { key: F9, mods: Shift, chars: "\x1b[20;2~" } | ||
298 | - { key: F10, mods: Shift, chars: "\x1b[21;2~" } | ||
299 | - { key: F11, mods: Shift, chars: "\x1b[23;2~" } | ||
300 | - { key: F12, mods: Shift, chars: "\x1b[24;2~" } | ||
301 | - { key: F1, mods: Control, chars: "\x1b[1;5P" } | ||
302 | - { key: F2, mods: Control, chars: "\x1b[1;5Q" } | ||
303 | - { key: F3, mods: Control, chars: "\x1b[1;5R" } | ||
304 | - { key: F4, mods: Control, chars: "\x1b[1;5S" } | ||
305 | - { key: F5, mods: Control, chars: "\x1b[15;5~" } | ||
306 | - { key: F6, mods: Control, chars: "\x1b[17;5~" } | ||
307 | - { key: F7, mods: Control, chars: "\x1b[18;5~" } | ||
308 | - { key: F8, mods: Control, chars: "\x1b[19;5~" } | ||
309 | - { key: F9, mods: Control, chars: "\x1b[20;5~" } | ||
310 | - { key: F10, mods: Control, chars: "\x1b[21;5~" } | ||
311 | - { key: F11, mods: Control, chars: "\x1b[23;5~" } | ||
312 | - { key: F12, mods: Control, chars: "\x1b[24;5~" } | ||
313 | - { key: F1, mods: Alt, chars: "\x1b[1;6P" } | ||
314 | - { key: F2, mods: Alt, chars: "\x1b[1;6Q" } | ||
315 | - { key: F3, mods: Alt, chars: "\x1b[1;6R" } | ||
316 | - { key: F4, mods: Alt, chars: "\x1b[1;6S" } | ||
317 | - { key: F5, mods: Alt, chars: "\x1b[15;6~" } | ||
318 | - { key: F6, mods: Alt, chars: "\x1b[17;6~" } | ||
319 | - { key: F7, mods: Alt, chars: "\x1b[18;6~" } | ||
320 | - { key: F8, mods: Alt, chars: "\x1b[19;6~" } | ||
321 | - { key: F9, mods: Alt, chars: "\x1b[20;6~" } | ||
322 | - { key: F10, mods: Alt, chars: "\x1b[21;6~" } | ||
323 | - { key: F11, mods: Alt, chars: "\x1b[23;6~" } | ||
324 | - { key: F12, mods: Alt, chars: "\x1b[24;6~" } | ||
325 | - { key: F1, mods: Super, chars: "\x1b[1;3P" } | ||
326 | - { key: F2, mods: Super, chars: "\x1b[1;3Q" } | ||
327 | - { key: F3, mods: Super, chars: "\x1b[1;3R" } | ||
328 | - { key: F4, mods: Super, chars: "\x1b[1;3S" } | ||
329 | - { key: F5, mods: Super, chars: "\x1b[15;3~" } | ||
330 | - { key: F6, mods: Super, chars: "\x1b[17;3~" } | ||
331 | - { key: F7, mods: Super, chars: "\x1b[18;3~" } | ||
332 | - { key: F8, mods: Super, chars: "\x1b[19;3~" } | ||
333 | - { key: F9, mods: Super, chars: "\x1b[20;3~" } | ||
334 | - { key: F10, mods: Super, chars: "\x1b[21;3~" } | ||
335 | - { key: F11, mods: Super, chars: "\x1b[23;3~" } | ||
336 | - { key: F12, mods: Super, chars: "\x1b[24;3~" } | ||