fix switch-host2
[distro-setup] / subdir_files / .config / alacritty / alacritty.yml
1 # defaults are in /a/opt/alacritty/alacritty.yml
2
3 TERM: alacritty
4
5
6 # Configuration for Alacritty, the GPU enhanced terminal emulator.
7
8 # Import additional configuration files
9 #
10 # Imports are loaded in order, skipping all missing files, with the importing
11 # file being loaded last. If a field is already present in a previous import, it
12 # will be replaced.
13 #
14 # All imports must either be absolute paths starting with `/`, or paths relative
15 # to the user's home directory starting with `~/`.
16 #import:
17 # - /path/to/alacritty.yml
18
19 # Any items in the `env` entry below will be added as
20 # environment variables. Some entries may override variables
21 # set by alacritty itself.
22 #env:
23 # TERM variable
24 #
25 # This value is used to set the `$TERM` environment variable for
26 # each instance of Alacritty. If it is not present, alacritty will
27 # check the local terminfo database and use `alacritty` if it is
28 # available, otherwise `xterm-256color` is used.
29 #TERM: alacritty
30
31 #window:
32 # Window dimensions (changes require restart)
33 #
34 # Number of lines/columns (not pixels) in the terminal. The number of columns
35 # must be at least `2`, while using a value of `0` for columns and lines will
36 # fall back to the window manager's recommended size.
37 #dimensions:
38 # columns: 0
39 # lines: 0
40
41 # Window position (changes require restart)
42 #
43 # Specified in number of pixels.
44 # If the position is not set, the window manager will handle the placement.
45 #position:
46 # x: 0
47 # y: 0
48
49 # Window padding (changes require restart)
50 #
51 # Blank space added around the window in pixels. This padding is scaled
52 # by DPI and the specified value is always added at both opposing sides.
53 #padding:
54 # x: 0
55 # y: 0
56
57 # Spread additional padding evenly around the terminal content.
58 #dynamic_padding: false
59
60 # Window decorations
61 #
62 # Values for `decorations`:
63 # - full: Borders and title bar
64 # - none: Neither borders nor title bar
65 #
66 # Values for `decorations` (macOS only):
67 # - transparent: Title bar, transparent background and title bar buttons
68 # - buttonless: Title bar, transparent background and no title bar buttons
69 #decorations: full
70
71 # Background opacity
72 #
73 # Window opacity as a floating point number from `0.0` to `1.0`.
74 # The value `0.0` is completely transparent and `1.0` is opaque.
75 #opacity: 1.0
76
77 # Startup Mode (changes require restart)
78 #
79 # Values for `startup_mode`:
80 # - Windowed
81 # - Maximized
82 # - Fullscreen
83 #
84 # Values for `startup_mode` (macOS only):
85 # - SimpleFullscreen
86 #startup_mode: Windowed
87
88 # Window title
89 #title: Alacritty
90
91 # Allow terminal applications to change Alacritty's window title.
92 #dynamic_title: true
93
94 # Window class (Linux/BSD only):
95 #class:
96 # Application instance name
97 #instance: Alacritty
98 # General application class
99 #general: Alacritty
100
101 # GTK theme variant (Linux/BSD only)
102 #
103 # Override the variant of the GTK theme. Commonly supported values are `dark`
104 # and `light`. Set this to `None` to use the default theme variant.
105 #gtk_theme_variant: None
106
107 #scrolling:
108 # Maximum number of lines in the scrollback buffer.
109 # Specifying '0' will disable scrolling.
110 #history: 10000
111
112 # Scrolling distance multiplier.
113 #multiplier: 3
114
115 # Font configuration
116 #font:
117 # Normal (roman) font face
118 #normal:
119 # Font family
120 #
121 # Default:
122 # - (macOS) Menlo
123 # - (Linux/BSD) monospace
124 # - (Windows) Consolas
125 #family: monospace
126
127 # The `style` can be specified to pick a specific face.
128 #style: Regular
129
130 # Bold font face
131 #bold:
132 # Font family
133 #
134 # If the bold family is not specified, it will fall back to the
135 # value specified for the normal font.
136 #family: monospace
137
138 # The `style` can be specified to pick a specific face.
139 #style: Bold
140
141 # Italic font face
142 #italic:
143 # Font family
144 #
145 # If the italic family is not specified, it will fall back to the
146 # value specified for the normal font.
147 #family: monospace
148
149 # The `style` can be specified to pick a specific face.
150 #style: Italic
151
152 # Bold italic font face
153 #bold_italic:
154 # Font family
155 #
156 # If the bold italic family is not specified, it will fall back to the
157 # value specified for the normal font.
158 #family: monospace
159
160 # The `style` can be specified to pick a specific face.
161 #style: Bold Italic
162
163 # Point size
164 #size: 11.0
165
166 # Offset is the extra space around each character. `offset.y` can be thought
167 # of as modifying the line spacing, and `offset.x` as modifying the letter
168 # spacing.
169 #offset:
170 # x: 0
171 # y: 0
172
173 # Glyph offset determines the locations of the glyphs within their cells with
174 # the default being at the bottom. Increasing `x` moves the glyph to the
175 # right, increasing `y` moves the glyph upward.
176 #glyph_offset:
177 # x: 0
178 # y: 0
179
180 # Thin stroke font rendering (macOS only)
181 #
182 # Thin strokes are suitable for retina displays, but for non-retina screens
183 # it is recommended to set `use_thin_strokes` to `false`.
184 #use_thin_strokes: true
185
186 # If `true`, bold text is drawn using the bright color variants.
187 #draw_bold_text_with_bright_colors: false
188
189 # Colors (Tomorrow Night)
190 #colors:
191 # Default colors
192 #primary:
193 # background: '#1d1f21'
194 # foreground: '#c5c8c6'
195
196 # Bright and dim foreground colors
197 #
198 # The dimmed foreground color is calculated automatically if it is not
199 # present. If the bright foreground color is not set, or
200 # `draw_bold_text_with_bright_colors` is `false`, the normal foreground
201 # color will be used.
202 #dim_foreground: '#828482'
203 #bright_foreground: '#eaeaea'
204
205 # Cursor colors
206 #
207 # Colors which should be used to draw the terminal cursor.
208 #
209 # Allowed values are CellForeground/CellBackground, which reference the
210 # affected cell, or hexadecimal colors like #ff00ff.
211 #cursor:
212 # text: CellBackground
213 # cursor: CellForeground
214
215 # Vi mode cursor colors
216 #
217 # Colors for the cursor when the vi mode is active.
218 #
219 # Allowed values are CellForeground/CellBackground, which reference the
220 # affected cell, or hexadecimal colors like #ff00ff.
221 #vi_mode_cursor:
222 # text: CellBackground
223 # cursor: CellForeground
224
225 # Search colors
226 #
227 # Colors used for the search bar and match highlighting.
228 #search:
229 # Allowed values are CellForeground/CellBackground, which reference the
230 # affected cell, or hexadecimal colors like #ff00ff.
231 #matches:
232 # foreground: '#000000'
233 # background: '#ffffff'
234 #focused_match:
235 # foreground: '#ffffff'
236 # background: '#000000'
237
238 #bar:
239 # background: '#c5c8c6'
240 # foreground: '#1d1f21'
241
242 # Keyboard regex hints
243 #hints:
244 # First character in the hint label
245 #
246 # Allowed values are CellForeground/CellBackground, which reference the
247 # affected cell, or hexadecimal colors like #ff00ff.
248 #start:
249 # foreground: '#1d1f21'
250 # background: '#e9ff5e'
251
252 # All characters after the first one in the hint label
253 #
254 # Allowed values are CellForeground/CellBackground, which reference the
255 # affected cell, or hexadecimal colors like #ff00ff.
256 #end:
257 # foreground: '#e9ff5e'
258 # background: '#1d1f21'
259
260 # Line indicator
261 #
262 # Color used for the indicator displaying the position in history during
263 # search and vi mode.
264 #
265 # By default, these will use the opposing primary color.
266 #line_indicator:
267 # foreground: None
268 # background: None
269
270 # Selection colors
271 #
272 # Colors which should be used to draw the selection area.
273 #
274 # Allowed values are CellForeground/CellBackground, which reference the
275 # affected cell, or hexadecimal colors like #ff00ff.
276 #selection:
277 # text: CellBackground
278 # background: CellForeground
279
280 # Normal colors
281 #normal:
282 # black: '#1d1f21'
283 # red: '#cc6666'
284 # green: '#b5bd68'
285 # yellow: '#f0c674'
286 # blue: '#81a2be'
287 # magenta: '#b294bb'
288 # cyan: '#8abeb7'
289 # white: '#c5c8c6'
290
291 # Bright colors
292 #bright:
293 # black: '#666666'
294 # red: '#d54e53'
295 # green: '#b9ca4a'
296 # yellow: '#e7c547'
297 # blue: '#7aa6da'
298 # magenta: '#c397d8'
299 # cyan: '#70c0b1'
300 # white: '#eaeaea'
301
302 # Dim colors
303 #
304 # If the dim colors are not set, they will be calculated automatically based
305 # on the `normal` colors.
306 #dim:
307 # black: '#131415'
308 # red: '#864343'
309 # green: '#777c44'
310 # yellow: '#9e824c'
311 # blue: '#556a7d'
312 # magenta: '#75617b'
313 # cyan: '#5b7d78'
314 # white: '#828482'
315
316 # Indexed Colors
317 #
318 # The indexed colors include all colors from 16 to 256.
319 # When these are not set, they're filled with sensible defaults.
320 #
321 # Example:
322 # `- { index: 16, color: '#ff00ff' }`
323 #
324 #indexed_colors: []
325
326 # Transparent cell backgrounds
327 #
328 # Whether or not `window.opacity` applies to all cell backgrounds or only to
329 # the default background. When set to `true` all cells will be transparent
330 # regardless of their background color.
331 #transparent_background_colors: false
332
333 # Bell
334 #
335 # The bell is rung every time the BEL control character is received.
336 #bell:
337 # Visual Bell Animation
338 #
339 # Animation effect for flashing the screen when the visual bell is rung.
340 #
341 # Values for `animation`:
342 # - Ease
343 # - EaseOut
344 # - EaseOutSine
345 # - EaseOutQuad
346 # - EaseOutCubic
347 # - EaseOutQuart
348 # - EaseOutQuint
349 # - EaseOutExpo
350 # - EaseOutCirc
351 # - Linear
352 #animation: EaseOutExpo
353
354 # Duration of the visual bell flash in milliseconds. A `duration` of `0` will
355 # disable the visual bell animation.
356 #duration: 0
357
358 # Visual bell animation color.
359 #color: '#ffffff'
360
361 # Bell Command
362 #
363 # This program is executed whenever the bell is rung.
364 #
365 # When set to `command: None`, no command will be executed.
366 #
367 # Example:
368 # command:
369 # program: notify-send
370 # args: ["Hello, World!"]
371 #
372 #command: None
373
374 #selection:
375 # This string contains all characters that are used as separators for
376 # "semantic words" in Alacritty.
377 #semantic_escape_chars: ",│`|:\"' ()[]{}<>\t"
378
379 # When set to `true`, selected text will be copied to the primary clipboard.
380 #save_to_clipboard: false
381
382 #cursor:
383 # Cursor style
384 #style:
385 # Cursor shape
386 #
387 # Values for `shape`:
388 # - â–‡ Block
389 # - _ Underline
390 # - | Beam
391 #shape: Block
392
393 # Cursor blinking state
394 #
395 # Values for `blinking`:
396 # - Never: Prevent the cursor from ever blinking
397 # - Off: Disable blinking by default
398 # - On: Enable blinking by default
399 # - Always: Force the cursor to always blink
400 #blinking: Off
401
402 # Vi mode cursor style
403 #
404 # If the vi mode cursor style is `None` or not specified, it will fall back to
405 # the style of the active value of the normal cursor.
406 #
407 # See `cursor.style` for available options.
408 #vi_mode_style: None
409
410 # Cursor blinking interval in milliseconds.
411 #blink_interval: 750
412
413 # If this is `true`, the cursor will be rendered as a hollow box when the
414 # window is not focused.
415 #unfocused_hollow: true
416
417 # Thickness of the cursor relative to the cell width as floating point number
418 # from `0.0` to `1.0`.
419 #thickness: 0.15
420
421 # Live config reload (changes require restart)
422 #live_config_reload: true
423
424 # Shell
425 #
426 # You can set `shell.program` to the path of your favorite shell, e.g.
427 # `/bin/fish`. Entries in `shell.args` are passed unmodified as arguments to the
428 # shell.
429 #
430 # Default:
431 # - (macOS) /bin/bash --login
432 # - (Linux/BSD) user login shell
433 # - (Windows) powershell
434 #shell:
435 # program: /bin/bash
436 # args:
437 # - --login
438
439 # Startup directory
440 #
441 # Directory the shell is started in. If this is unset, or `None`, the working
442 # directory of the parent process will be used.
443 #working_directory: None
444
445 # Send ESC (\x1b) before characters when alt is pressed.
446 #alt_send_esc: true
447
448 # Offer IPC using `alacritty msg` (unix only)
449 #ipc_socket: true
450
451 #mouse:
452 # Click settings
453 #
454 # The `double_click` and `triple_click` settings control the time
455 # alacritty should wait for accepting multiple clicks as one double
456 # or triple click.
457 #double_click: { threshold: 300 }
458 #triple_click: { threshold: 300 }
459
460 # If this is `true`, the cursor is temporarily hidden when typing.
461 #hide_when_typing: false
462
463 # Regex hints
464 #
465 # Terminal hints can be used to find text in the visible part of the terminal
466 # and pipe it to other applications.
467 #hints:
468 # Keys used for the hint labels.
469 #alphabet: "jfkdls;ahgurieowpq"
470
471 # List with all available hints
472 #
473 # Each hint must have a `regex` and either an `action` or a `command` field.
474 # The fields `mouse`, `binding` and `post_processing` are optional.
475 #
476 # The fields `command`, `binding.key`, `binding.mods`, `binding.mode` and
477 # `mouse.mods` accept the same values as they do in the `key_bindings` section.
478 #
479 # The `mouse.enabled` field controls if the hint should be underlined while
480 # the mouse with all `mouse.mods` keys held or the vi mode cursor is above it.
481 #
482 # If the `post_processing` field is set to `true`, heuristics will be used to
483 # shorten the match if there are characters likely not to be part of the hint
484 # (e.g. a trailing `.`). This is most useful for URIs.
485 #
486 # Values for `action`:
487 # - Copy
488 # Copy the hint's text to the clipboard.
489 # - Paste
490 # Paste the hint's text to the terminal or search.
491 # - Select
492 # Select the hint's text.
493 # - MoveViModeCursor
494 # Move the vi mode cursor to the beginning of the hint.
495 #enabled:
496 # - regex: "(ipfs:|ipns:|magnet:|mailto:|gemini:|gopher:|https:|http:|news:|file:|git:|ssh:|ftp:)\
497 # [^\u0000-\u001F\u007F-\u009F<>\"\\s{-}\\^⟨⟩`]+"
498 # command: xdg-open
499 # post_processing: true
500 # mouse:
501 # enabled: true
502 # mods: None
503 # binding:
504 # key: U
505 # mods: Control|Shift
506
507 # Mouse bindings
508 #
509 # Mouse bindings are specified as a list of objects, much like the key
510 # bindings further below.
511 #
512 # To trigger mouse bindings when an application running within Alacritty
513 # captures the mouse, the `Shift` modifier is automatically added as a
514 # requirement.
515 #
516 # Each mouse binding will specify a:
517 #
518 # - `mouse`:
519 #
520 # - Middle
521 # - Left
522 # - Right
523 # - Numeric identifier such as `5`
524 #
525 # - `action` (see key bindings for actions not exclusive to mouse mode)
526 #
527 # - Mouse exclusive actions:
528 #
529 # - ExpandSelection
530 # Expand the selection to the current mouse cursor location.
531 #
532 # And optionally:
533 #
534 # - `mods` (see key bindings)
535 #mouse_bindings:
536 # - { mouse: Right, action: ExpandSelection }
537 # - { mouse: Middle, mode: ~Vi, action: PasteSelection }
538
539 # Key bindings
540 #
541 # Key bindings are specified as a list of objects. For example, this is the
542 # default paste binding:
543 #
544 # `- { key: V, mods: Control|Shift, action: Paste }`
545 #
546 # Each key binding will specify a:
547 #
548 # - `key`: Identifier of the key pressed
549 #
550 # - A-Z
551 # - F1-F24
552 # - Key0-Key9
553 #
554 # A full list with available key codes can be found here:
555 # https://docs.rs/glutin/*/glutin/event/enum.VirtualKeyCode.html#variants
556 #
557 # Instead of using the name of the keys, the `key` field also supports using
558 # the scancode of the desired key. Scancodes have to be specified as a
559 # decimal number. This command will allow you to display the hex scancodes
560 # for certain keys:
561 #
562 # `showkey --scancodes`.
563 #
564 # Then exactly one of:
565 #
566 # - `chars`: Send a byte sequence to the running application
567 #
568 # The `chars` field writes the specified string to the terminal. This makes
569 # it possible to pass escape sequences. To find escape codes for bindings
570 # like `PageUp` (`"\x1b[5~"`), you can run the command `showkey -a` outside
571 # of tmux. Note that applications use terminfo to map escape sequences back
572 # to keys. It is therefore required to update the terminfo when changing an
573 # escape sequence.
574 #
575 # - `action`: Execute a predefined action
576 #
577 # - ToggleViMode
578 # - SearchForward
579 # Start searching toward the right of the search origin.
580 # - SearchBackward
581 # Start searching toward the left of the search origin.
582 # - Copy
583 # - Paste
584 # - IncreaseFontSize
585 # - DecreaseFontSize
586 # - ResetFontSize
587 # - ScrollPageUp
588 # - ScrollPageDown
589 # - ScrollHalfPageUp
590 # - ScrollHalfPageDown
591 # - ScrollLineUp
592 # - ScrollLineDown
593 # - ScrollToTop
594 # - ScrollToBottom
595 # - ClearHistory
596 # Remove the terminal's scrollback history.
597 # - Hide
598 # Hide the Alacritty window.
599 # - Minimize
600 # Minimize the Alacritty window.
601 # - Quit
602 # Quit Alacritty.
603 # - ToggleFullscreen
604 # - SpawnNewInstance
605 # Spawn a new instance of Alacritty.
606 # - CreateNewWindow
607 # Create a new Alacritty window from the current process.
608 # - ClearLogNotice
609 # Clear Alacritty's UI warning and error notice.
610 # - ClearSelection
611 # Remove the active selection.
612 # - ReceiveChar
613 # - None
614 #
615 # - Vi mode exclusive actions:
616 #
617 # - Open
618 # Perform the action of the first matching hint under the vi mode cursor
619 # with `mouse.enabled` set to `true`.
620 # - ToggleNormalSelection
621 # - ToggleLineSelection
622 # - ToggleBlockSelection
623 # - ToggleSemanticSelection
624 # Toggle semantic selection based on `selection.semantic_escape_chars`.
625 #
626 # - Vi mode exclusive cursor motion actions:
627 #
628 # - Up
629 # One line up.
630 # - Down
631 # One line down.
632 # - Left
633 # One character left.
634 # - Right
635 # One character right.
636 # - First
637 # First column, or beginning of the line when already at the first column.
638 # - Last
639 # Last column, or beginning of the line when already at the last column.
640 # - FirstOccupied
641 # First non-empty cell in this terminal row, or first non-empty cell of
642 # the line when already at the first cell of the row.
643 # - High
644 # Top of the screen.
645 # - Middle
646 # Center of the screen.
647 # - Low
648 # Bottom of the screen.
649 # - SemanticLeft
650 # Start of the previous semantically separated word.
651 # - SemanticRight
652 # Start of the next semantically separated word.
653 # - SemanticLeftEnd
654 # End of the previous semantically separated word.
655 # - SemanticRightEnd
656 # End of the next semantically separated word.
657 # - WordLeft
658 # Start of the previous whitespace separated word.
659 # - WordRight
660 # Start of the next whitespace separated word.
661 # - WordLeftEnd
662 # End of the previous whitespace separated word.
663 # - WordRightEnd
664 # End of the next whitespace separated word.
665 # - Bracket
666 # Character matching the bracket at the cursor's location.
667 # - SearchNext
668 # Beginning of the next match.
669 # - SearchPrevious
670 # Beginning of the previous match.
671 # - SearchStart
672 # Start of the match to the left of the vi mode cursor.
673 # - SearchEnd
674 # End of the match to the right of the vi mode cursor.
675 #
676 # - Search mode exclusive actions:
677 # - SearchFocusNext
678 # Move the focus to the next search match.
679 # - SearchFocusPrevious
680 # Move the focus to the previous search match.
681 # - SearchConfirm
682 # - SearchCancel
683 # - SearchClear
684 # Reset the search regex.
685 # - SearchDeleteWord
686 # Delete the last word in the search regex.
687 # - SearchHistoryPrevious
688 # Go to the previous regex in the search history.
689 # - SearchHistoryNext
690 # Go to the next regex in the search history.
691 #
692 # - macOS exclusive actions:
693 # - ToggleSimpleFullscreen
694 # Enter fullscreen without occupying another space.
695 #
696 # - Linux/BSD exclusive actions:
697 #
698 # - CopySelection
699 # Copy from the selection buffer.
700 # - PasteSelection
701 # Paste from the selection buffer.
702 #
703 # - `command`: Fork and execute a specified command plus arguments
704 #
705 # The `command` field must be a map containing a `program` string and an
706 # `args` array of command line parameter strings. For example:
707 # `{ program: "alacritty", args: ["-e", "vttest"] }`
708 #
709 # And optionally:
710 #
711 # - `mods`: Key modifiers to filter binding actions
712 #
713 # - Command
714 # - Control
715 # - Option
716 # - Super
717 # - Shift
718 # - Alt
719 #
720 # Multiple `mods` can be combined using `|` like this:
721 # `mods: Control|Shift`.
722 # Whitespace and capitalization are relevant and must match the example.
723 #
724 # - `mode`: Indicate a binding for only specific terminal reported modes
725 #
726 # This is mainly used to send applications the correct escape sequences
727 # when in different modes.
728 #
729 # - AppCursor
730 # - AppKeypad
731 # - Search
732 # - Alt
733 # - Vi
734 #
735 # A `~` operator can be used before a mode to apply the binding whenever
736 # the mode is *not* active, e.g. `~Alt`.
737 #
738 # Bindings are always filled by default, but will be replaced when a new
739 # binding with the same triggers is defined. To unset a default binding, it can
740 # be mapped to the `ReceiveChar` action. Alternatively, you can use `None` for
741 # a no-op if you do not wish to receive input characters for that binding.
742 #
743 # If the same trigger is assigned to multiple actions, all of them are executed
744 # in the order they were defined in.
745 #key_bindings:
746 #- { key: Paste, action: Paste }
747 #- { key: Copy, action: Copy }
748 #- { key: L, mods: Control, action: ClearLogNotice }
749 #- { key: L, mods: Control, mode: ~Vi|~Search, chars: "\x0c" }
750 #- { key: PageUp, mods: Shift, mode: ~Alt, action: ScrollPageUp, }
751 #- { key: PageDown, mods: Shift, mode: ~Alt, action: ScrollPageDown }
752 #- { key: Home, mods: Shift, mode: ~Alt, action: ScrollToTop, }
753 #- { key: End, mods: Shift, mode: ~Alt, action: ScrollToBottom }
754
755 # Vi Mode
756 #- { key: Space, mods: Shift|Control, mode: ~Search, action: ToggleViMode }
757 #- { key: Space, mods: Shift|Control, mode: Vi|~Search, action: ScrollToBottom }
758 #- { key: Escape, mode: Vi|~Search, action: ClearSelection }
759 #- { key: I, mode: Vi|~Search, action: ToggleViMode }
760 #- { key: I, mode: Vi|~Search, action: ScrollToBottom }
761 #- { key: C, mods: Control, mode: Vi|~Search, action: ToggleViMode }
762 #- { key: Y, mods: Control, mode: Vi|~Search, action: ScrollLineUp }
763 #- { key: E, mods: Control, mode: Vi|~Search, action: ScrollLineDown }
764 #- { key: G, mode: Vi|~Search, action: ScrollToTop }
765 #- { key: G, mods: Shift, mode: Vi|~Search, action: ScrollToBottom }
766 #- { key: B, mods: Control, mode: Vi|~Search, action: ScrollPageUp }
767 #- { key: F, mods: Control, mode: Vi|~Search, action: ScrollPageDown }
768 #- { key: U, mods: Control, mode: Vi|~Search, action: ScrollHalfPageUp }
769 #- { key: D, mods: Control, mode: Vi|~Search, action: ScrollHalfPageDown }
770 #- { key: Y, mode: Vi|~Search, action: Copy }
771 #- { key: Y, mode: Vi|~Search, action: ClearSelection }
772 #- { key: Copy, mode: Vi|~Search, action: ClearSelection }
773 #- { key: V, mode: Vi|~Search, action: ToggleNormalSelection }
774 #- { key: V, mods: Shift, mode: Vi|~Search, action: ToggleLineSelection }
775 #- { key: V, mods: Control, mode: Vi|~Search, action: ToggleBlockSelection }
776 #- { key: V, mods: Alt, mode: Vi|~Search, action: ToggleSemanticSelection }
777 #- { key: Return, mode: Vi|~Search, action: Open }
778 #- { key: K, mode: Vi|~Search, action: Up }
779 #- { key: J, mode: Vi|~Search, action: Down }
780 #- { key: H, mode: Vi|~Search, action: Left }
781 #- { key: L, mode: Vi|~Search, action: Right }
782 #- { key: Up, mode: Vi|~Search, action: Up }
783 #- { key: Down, mode: Vi|~Search, action: Down }
784 #- { key: Left, mode: Vi|~Search, action: Left }
785 #- { key: Right, mode: Vi|~Search, action: Right }
786 #- { key: Key0, mode: Vi|~Search, action: First }
787 #- { key: Key4, mods: Shift, mode: Vi|~Search, action: Last }
788 #- { key: Key6, mods: Shift, mode: Vi|~Search, action: FirstOccupied }
789 #- { key: H, mods: Shift, mode: Vi|~Search, action: High }
790 #- { key: M, mods: Shift, mode: Vi|~Search, action: Middle }
791 #- { key: L, mods: Shift, mode: Vi|~Search, action: Low }
792 #- { key: B, mode: Vi|~Search, action: SemanticLeft }
793 #- { key: W, mode: Vi|~Search, action: SemanticRight }
794 #- { key: E, mode: Vi|~Search, action: SemanticRightEnd }
795 #- { key: B, mods: Shift, mode: Vi|~Search, action: WordLeft }
796 #- { key: W, mods: Shift, mode: Vi|~Search, action: WordRight }
797 #- { key: E, mods: Shift, mode: Vi|~Search, action: WordRightEnd }
798 #- { key: Key5, mods: Shift, mode: Vi|~Search, action: Bracket }
799 #- { key: Slash, mode: Vi|~Search, action: SearchForward }
800 #- { key: Slash, mods: Shift, mode: Vi|~Search, action: SearchBackward }
801 #- { key: N, mode: Vi|~Search, action: SearchNext }
802 #- { key: N, mods: Shift, mode: Vi|~Search, action: SearchPrevious }
803
804 # Search Mode
805 #- { key: Return, mode: Search|Vi, action: SearchConfirm }
806 #- { key: Escape, mode: Search, action: SearchCancel }
807 #- { key: C, mods: Control, mode: Search, action: SearchCancel }
808 #- { key: U, mods: Control, mode: Search, action: SearchClear }
809 #- { key: W, mods: Control, mode: Search, action: SearchDeleteWord }
810 #- { key: P, mods: Control, mode: Search, action: SearchHistoryPrevious }
811 #- { key: N, mods: Control, mode: Search, action: SearchHistoryNext }
812 #- { key: Up, mode: Search, action: SearchHistoryPrevious }
813 #- { key: Down, mode: Search, action: SearchHistoryNext }
814 #- { key: Return, mode: Search|~Vi, action: SearchFocusNext }
815 #- { key: Return, mods: Shift, mode: Search|~Vi, action: SearchFocusPrevious }
816
817 # (Windows, Linux, and BSD only)
818 #- { key: V, mods: Control|Shift, mode: ~Vi, action: Paste }
819 #- { key: C, mods: Control|Shift, action: Copy }
820 #- { key: F, mods: Control|Shift, mode: ~Search, action: SearchForward }
821 #- { key: B, mods: Control|Shift, mode: ~Search, action: SearchBackward }
822 #- { key: C, mods: Control|Shift, mode: Vi|~Search, action: ClearSelection }
823 #- { key: Insert, mods: Shift, action: PasteSelection }
824 #- { key: Key0, mods: Control, action: ResetFontSize }
825 #- { key: Equals, mods: Control, action: IncreaseFontSize }
826 #- { key: Plus, mods: Control, action: IncreaseFontSize }
827 #- { key: NumpadAdd, mods: Control, action: IncreaseFontSize }
828 #- { key: Minus, mods: Control, action: DecreaseFontSize }
829 #- { key: NumpadSubtract, mods: Control, action: DecreaseFontSize }
830
831 # (Windows only)
832 #- { key: Return, mods: Alt, action: ToggleFullscreen }
833
834 # (macOS only)
835 #- { key: K, mods: Command, mode: ~Vi|~Search, chars: "\x0c" }
836 #- { key: K, mods: Command, mode: ~Vi|~Search, action: ClearHistory }
837 #- { key: Key0, mods: Command, action: ResetFontSize }
838 #- { key: Equals, mods: Command, action: IncreaseFontSize }
839 #- { key: Plus, mods: Command, action: IncreaseFontSize }
840 #- { key: NumpadAdd, mods: Command, action: IncreaseFontSize }
841 #- { key: Minus, mods: Command, action: DecreaseFontSize }
842 #- { key: NumpadSubtract, mods: Command, action: DecreaseFontSize }
843 #- { key: V, mods: Command, action: Paste }
844 #- { key: C, mods: Command, action: Copy }
845 #- { key: C, mods: Command, mode: Vi|~Search, action: ClearSelection }
846 #- { key: H, mods: Command, action: Hide }
847 #- { key: H, mods: Command|Alt, action: HideOtherApplications }
848 #- { key: M, mods: Command, action: Minimize }
849 #- { key: Q, mods: Command, action: Quit }
850 #- { key: W, mods: Command, action: Quit }
851 #- { key: N, mods: Command, action: SpawnNewInstance }
852 #- { key: F, mods: Command|Control, action: ToggleFullscreen }
853 #- { key: F, mods: Command, mode: ~Search, action: SearchForward }
854 #- { key: B, mods: Command, mode: ~Search, action: SearchBackward }
855
856 #debug:
857 # Display the time it takes to redraw each frame.
858 #render_timer: false
859
860 # Keep the log file after quitting Alacritty.
861 #persistent_logging: false
862
863 # Log level
864 #
865 # Values for `log_level`:
866 # - Off
867 # - Error
868 # - Warn
869 # - Info
870 # - Debug
871 # - Trace
872 #log_level: Warn
873
874 # Print all received window events.
875 #print_events: false