mirror of https://github.com/Chizi123/Dotfiles.git

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