all repos — dotfiles @ ba12808baa81834516e9fcbe16efb507a124754c

personal dotfiles

alacritty/.config/alacritty/alacritty.yml (view raw)

  1# Configuration for Alacritty, the GPU enhanced terminal emulator.
  2
  3# Import additional configuration files
  4#
  5# These configuration files will be loaded in order, replacing values in files
  6# loaded earlier with those loaded later in the chain. The file itself will
  7# always be loaded last.
  8#import:
  9#  - /path/to/alacritty.yml
 10
 11# Any items in the `env` entry below will be added as
 12# environment variables. Some entries may override variables
 13# set by alacritty itself.
 14env:
 15  # TERM variable
 16  #
 17  # This value is used to set the `$TERM` environment variable for
 18  # each instance of Alacritty. If it is not present, alacritty will
 19  # check the local terminfo database and use `alacritty` if it is
 20  # available, otherwise `xterm-256color` is used.
 21  TERM: xterm-256color
 22
 23window:
 24
 25  opacity: 0.8
 26  # Window dimensions (changes require restart)
 27  #
 28  # Number of lines/columns (not pixels) in the terminal. The number of columns
 29  # must be at least `2`, while using a value of `0` for columns and lines will
 30  # fall back to the window manager's recommended size.
 31  #dimensions:
 32  #  columns: 0
 33  #  lines: 0
 34
 35  # Window position (changes require restart)
 36  #
 37  # Specified in number of pixels.
 38  # If the position is not set, the window manager will handle the placement.
 39  #position:
 40  #  x: 0
 41  #  y: 0
 42
 43  # Window padding (changes require restart)
 44  #
 45  # Blank space added around the window in pixels. This padding is scaled
 46  # by DPI and the specified value is always added at both opposing sides.
 47  padding:
 48    x: 5
 49    y: 5
 50
 51  # Spread additional padding evenly around the terminal content.
 52  dynamic_padding: true
 53
 54  # Window decorations
 55  #
 56  # Values for `decorations`:
 57  #     - full: Borders and title bar
 58  #     - none: Neither borders nor title bar
 59  #
 60  # Values for `decorations` (macOS only):
 61  #     - transparent: Title bar, transparent background and title bar buttons
 62  #     - buttonless: Title bar, transparent background, but no title bar buttons
 63  decorations: full
 64
 65  # Startup Mode (changes require restart)
 66  #
 67  # Values for `startup_mode`:
 68  #   - Windowed
 69  #   - Maximized
 70  #   - Fullscreen
 71  #
 72  # Values for `startup_mode` (macOS only):
 73  #   - SimpleFullscreen
 74  startup_mode: Windowed
 75
 76  # Window title
 77  #title: Alacritty
 78
 79  # Allow terminal applications to change Alacritty's window title.
 80  #dynamic_title: true
 81
 82  # Window class (Linux/BSD only):
 83  #class:
 84    # Application instance name
 85    #instance: Alacritty
 86    # General application class
 87    #general: Alacritty
 88
 89  # GTK theme variant (Linux/BSD only)
 90  #
 91  # Override the variant of the GTK theme. Commonly supported values are `dark` and `light`.
 92  # Set this to `None` to use the default theme variant.
 93  #gtk_theme_variant: None
 94
 95#scrolling:
 96  # Maximum number of lines in the scrollback buffer.
 97  # Specifying '0' will disable scrolling.
 98  #history: 10000
 99
100  # Scrolling distance multiplier.
101  #multiplier: 3
102
103# Font configuration
104font:
105  # Normal (roman) font face
106  normal:
107    # Font family
108    #
109    # Default:
110    #   - (macOS) Menlo
111    #   - (Linux/BSD) monospace
112    #   - (Windows) Consolas
113    family: JetBrains Mono
114
115    # The `style` can be specified to pick a specific face.
116    style: Medium
117
118  # Bold font face
119  bold:
120    # Font family
121    #
122    # If the bold family is not specified, it will fall back to the
123    # value specified for the normal font.
124    family: JetBrains Mono
125
126    # The `style` can be specified to pick a specific face.
127    style: Bold
128
129  # Italic font face
130  italic:
131    # Font family
132    #
133    # If the italic family is not specified, it will fall back to the
134    # value specified for the normal font.
135    family: JetBrains Mono
136
137    # The `style` can be specified to pick a specific face.
138    style: Italic
139
140  # Bold italic font face
141  bold_italic:
142    # Font family
143    #
144    # If the bold italic family is not specified, it will fall back to the
145    # value specified for the normal font.
146    family: JetBrains Mono
147
148    # The `style` can be specified to pick a specific face.
149    style: Bold Italic
150
151  # Point size
152  size: 11.0
153
154  # Offset is the extra space around each character. `offset.y` can be thought of
155  # as modifying the line spacing, and `offset.x` as modifying the letter spacing.
156  #offset:
157  #  x: 0
158  #  y: 0
159
160  # Glyph offset determines the locations of the glyphs within their cells with
161  # the default being at the bottom. Increasing `x` moves the glyph to the right,
162  # increasing `y` moves the glyph upward.
163  #glyph_offset:
164  #  x: 0
165  #  y: 0
166
167  # Thin stroke font rendering (macOS only)
168  #
169  # Thin strokes are suitable for retina displays, but for non-retina screens
170  # it is recommended to set `use_thin_strokes` to `false`.
171  #use_thin_strokes: true
172
173# If `true`, bold text is drawn using the bright color variants.
174# draw_bold_text_with_bright_colors: false
175colors:
176  # Default colors
177  primary:
178    background: '#111111'
179    foreground: '#ccbbcc'
180
181  # Normal colors
182  normal:
183    black:   '#223333'
184    red:     '#556666'
185    green:   '#889999'
186    yellow:  '#bbcccc'
187    blue:    '#665566'
188    magenta: '#887788'
189    cyan:    '#aa99aa'
190    white:   '#ccbbcc'
191
192  # Bright colors
193  bright:
194    black:   '#883333'
195    red:     '#aa5555'
196    green:   '#cc7777'
197    yellow:  '#ffaaaa'
198    blue:    '#883333'
199    magenta: '#aa5555'
200    cyan:    '#ee9999'
201    white:   '#ffaaaa'
202
203# manual-rbow
204# colors:
205#   # Default colors
206#   primary:
207#     background: '#19191a'
208#     foreground: '#cadcde'
209#
210#   # Normal colors
211#   normal:
212#     black:   '#393838'
213#     red:     '#c74444'
214#     green:   '#7f9848'
215#     yellow:  '#d7a06d'
216#     blue:    '#4e96d5'
217#     magenta: '#bc5fa7'
218#     cyan:    '#55b795'
219#     white:   '#c3b2f7'
220#
221#   # Bright colors
222#   bright:
223#     black:   '#5a514b'
224#     red:     '#ed7c68'
225#     green:   '#c7ea76'
226#     yellow:  '#ffdb9d'
227#     blue:    '#a6d5fe'
228#     magenta: '#edbbe9'
229#     cyan:    '#7fe2c5'
230#     white:   '#e2d6ff'
231
232# old-theme (hybrid by w0ng)
233# colors:
234#       # Default colors
235#   primary:
236#     background: '#1d1f21'
237#     foreground: '#c5c8c6'
238#
239#       # Normal colors
240#   normal:
241#     black:   '#282a2e'
242#     red:     '#a54242'
243#     green:   '#8c9440'
244#     yellow:  '#de935f'
245#     blue:    '#5f819d'
246#     magenta: '#85678f'
247#     cyan:    '#5e8d87'
248#     white:   '#707880'
249#
250#         # Bright colors
251#   bright:
252#     black:   '#373b41'
253#     red:     '#cc6666'
254#     green:   '#b5bd68'
255#     yellow:  '#f0c674'
256#     blue:    '#81a2be'
257#     magenta: '#b294bb'
258#     cyan:    '#8abeb7'
259#     white:   '#c5c8c6'
260
261# Colors (Tomorrow Night)
262#colors:
263  # Default colors
264  #primary:
265  #  background: '#1d1f21'
266  #  foreground: '#c5c8c6'
267
268    # Bright and dim foreground colors
269    #
270    # The dimmed foreground color is calculated automatically if it is not present.
271    # If the bright foreground color is not set, or `draw_bold_text_with_bright_colors`
272    # is `false`, the normal foreground color will be used.
273    #dim_foreground: '#828482'
274    #bright_foreground: '#eaeaea'
275
276  # Cursor colors
277  #
278  # Colors which should be used to draw the terminal cursor.
279  #
280  # Allowed values are CellForeground and CellBackground, which reference the
281  # affected cell, or hexadecimal colors like #ff00ff.
282  #cursor:
283  #  text: CellBackground
284  #  cursor: CellForeground
285
286  # Vi mode cursor colors
287  #
288  # Colors for the cursor when the vi mode is active.
289  #
290  # Allowed values are CellForeground and CellBackground, which reference the
291  # affected cell, or hexadecimal colors like #ff00ff.
292  #vi_mode_cursor:
293  #  text: CellBackground
294  #  cursor: CellForeground
295
296  # Selection colors
297  #
298  # Colors which should be used to draw the selection area.
299  #
300  # Allowed values are CellForeground and CellBackground, which reference the
301  # affected cell, or hexadecimal colors like #ff00ff.
302  #selection:
303  #  text: CellBackground
304  #  background: CellForeground
305
306  # Search colors
307  #
308  # Colors used for the search bar and match highlighting.
309  #search:
310    # Allowed values are CellForeground and CellBackground, which reference the
311    # affected cell, or hexadecimal colors like #ff00ff.
312    #matches:
313    #  foreground: '#000000'
314    #  background: '#ffffff'
315
316    #bar:
317    #  background: '#c5c8c6'
318    #  foreground: '#1d1f21'
319
320  # Normal colors
321  #normal:
322  #  black:   '#1d1f21'
323  #  red:     '#cc6666'
324  #  green:   '#b5bd68'
325  #  yellow:  '#f0c674'
326  #  blue:    '#81a2be'
327  #  magenta: '#b294bb'
328  #  cyan:    '#8abeb7'
329  #  white:   '#c5c8c6'
330
331  # Bright colors
332  #bright:
333  #  black:   '#666666'
334  #  red:     '#d54e53'
335  #  green:   '#b9ca4a'
336  #  yellow:  '#e7c547'
337  #  blue:    '#7aa6da'
338  #  magenta: '#c397d8'
339  #  cyan:    '#70c0b1'
340  #  white:   '#eaeaea'
341
342  # Dim colors
343  #
344  # If the dim colors are not set, they will be calculated automatically based
345  # on the `normal` colors.
346  #dim:
347  #  black:   '#131415'
348  #  red:     '#864343'
349  #  green:   '#777c44'
350  #  yellow:  '#9e824c'
351  #  blue:    '#556a7d'
352  #  magenta: '#75617b'
353  #  cyan:    '#5b7d78'
354  #  white:   '#828482'
355
356  # Indexed Colors
357  #
358  # The indexed colors include all colors from 16 to 256.
359  # When these are not set, they're filled with sensible defaults.
360  #
361  # Example:
362  #   `- { index: 16, color: '#ff00ff' }`
363  #
364  #indexed_colors: []
365
366# Bell
367#
368# The bell is rung every time the BEL control character is received.
369#bell:
370  # Visual Bell Animation
371  #
372  # Animation effect for flashing the screen when the visual bell is rung.
373  #
374  # Values for `animation`:
375  #   - Ease
376  #   - EaseOut
377  #   - EaseOutSine
378  #   - EaseOutQuad
379  #   - EaseOutCubic
380  #   - EaseOutQuart
381  #   - EaseOutQuint
382  #   - EaseOutExpo
383  #   - EaseOutCirc
384  #   - Linear
385  #animation: EaseOutExpo
386
387  # Duration of the visual bell flash in milliseconds. A `duration` of `0` will
388  # disable the visual bell animation.
389  #duration: 0
390
391  # Visual bell animation color.
392  #color: '#ffffff'
393
394  # Bell Command
395  #
396  # This program is executed whenever the bell is rung.
397  #
398  # When set to `command: None`, no command will be executed.
399  #
400  # Example:
401  #   command:
402  #     program: notify-send
403  #     args: ["Hello, World!"]
404  #
405  #command: None
406
407# Background opacity
408#
409# Window opacity as a floating point number from `0.0` to `1.0`.
410# The value `0.0` is completely transparent and `1.0` is opaque.
411
412#selection:
413  # This string contains all characters that are used as separators for "semantic words" in Alacritty.
414  #semantic_escape_chars: ",│`|:\"' ()[]{}<>\t"
415
416  # When set to `true`, selected text will be copied to the primary clipboard.
417  #save_to_clipboard: false
418
419#cursor:
420  # Cursor style
421  #
422  # Values for `style`:
423  #   - â–‡ Block
424  #   - _ Underline
425  #   - | Beam
426  #style: Block
427
428  # Vi mode cursor style
429  #
430  # If the vi mode cursor style is `None` or not specified, it will fall back to
431  # the style of the active value of the normal cursor.
432  #
433  # See `cursor.style` for available options.
434  #vi_mode_style: None
435
436  # If this is `true`, the cursor will be rendered as a hollow box when the
437  # window is not focused.
438  #unfocused_hollow: true
439
440  # Thickness of the cursor relative to the cell width as floating point number
441  # from `0.0` to `1.0`.
442  #thickness: 0.15
443
444# Live config reload (changes require restart)
445#live_config_reload: true
446
447# Shell
448#
449# You can set `shell.program` to the path of your favorite shell, e.g. `/bin/fish`.
450# Entries in `shell.args` are passed unmodified as arguments to the shell.
451#
452# Default:
453#   - (macOS) /bin/bash --login
454#   - (Linux/BSD) user login shell
455#   - (Windows) powershell
456#shell:
457#  program: /bin/bash
458#  args:
459#    - --login
460
461# Startup directory
462#
463# Directory the shell is started in. If this is unset, or `None`, the working
464# directory of the parent process will be used.
465#working_directory: None
466
467# WinPTY backend (Windows only)
468#
469# Alacritty defaults to using the newer ConPTY backend if it is available,
470# since it resolves a lot of bugs and is quite a bit faster. If it is not
471# available, the WinPTY backend will be used instead.
472#
473# Setting this option to `true` makes Alacritty use the legacy WinPTY backend,
474# even if the ConPTY backend is available.
475#winpty_backend: false
476
477# Send ESC (\x1b) before characters when alt is pressed.
478#alt_send_esc: true
479
480#mouse:
481  # Click settings
482  #
483  # The `double_click` and `triple_click` settings control the time
484  # alacritty should wait for accepting multiple clicks as one double
485  # or triple click.
486  #double_click: { threshold: 300 }
487  #triple_click: { threshold: 300 }
488
489  # If this is `true`, the cursor is temporarily hidden when typing.
490  #hide_when_typing: false
491
492  #url:
493    # URL launcher
494    #
495    # This program is executed when clicking on a text which is recognized as a URL.
496    # The URL is always added to the command as the last parameter.
497    #
498    # When set to `launcher: None`, URL launching will be disabled completely.
499    #
500    # Default:
501    #   - (macOS) open
502    #   - (Linux/BSD) xdg-open
503    #   - (Windows) explorer
504    #launcher:
505    #  program: xdg-open
506    #  args: []
507
508    # URL modifiers
509    #
510    # These are the modifiers that need to be held down for opening URLs when clicking
511    # on them. The available modifiers are documented in the key binding section.
512    #modifiers: None
513
514# Mouse bindings
515#
516# Mouse bindings are specified as a list of objects, much like the key
517# bindings further below.
518#
519# To trigger mouse bindings when an application running within Alacritty captures the mouse, the
520# `Shift` modifier is automatically added as a requirement.
521#
522# Each mouse binding will specify a:
523#
524# - `mouse`:
525#
526#   - Middle
527#   - Left
528#   - Right
529#   - Numeric identifier such as `5`
530#
531# - `action` (see key bindings)
532#
533# And optionally:
534#
535# - `mods` (see key bindings)
536#mouse_bindings:
537#  - { mouse: Middle, 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#   - ClearLogNotice
607#       Clear Alacritty's UI warning and error notice.
608#   - ClearSelection
609#       Remove the active selection.
610#   - ReceiveChar
611#   - None
612#
613#   (`mode: Vi` only):
614#   - Open
615#       Open URLs at the cursor location with the launcher configured in `url.launcher`.
616#   - Up
617#       Move the vi mode cursor up by one line.
618#   - Down
619#       Move the vi mode cursor down by one line.
620#   - Left
621#       Move the vi mode cursor left by one character.
622#   - Right
623#       Move the vi mode cursor right by one character.
624#   - First
625#       Move the vi mode cursor to the start of the line, searching across newlines if it is already at the beginning.
626#   - Last
627#       Move the vi mode cursor to the end of the line, searching across newlines if it is already at the end.
628#   - FirstOccupied
629#       Move the vi mode cursor to the first non-empty cell in this line, searching across newlines if it is already at the first one.
630#   - High
631#       Move the vi mode cursor to the top of the screen.
632#   - Middle
633#       Move the vi mode cursor to the middle of the screen.
634#   - Low
635#       Move the vi mode cursor to the bottom of the screen.
636#   - SemanticLeft
637#       Move the vi mode cursor to the start of the previous semantically separated word.
638#   - SemanticRight
639#       Move the vi mode cursor to the start of the next semantically separated word.
640#   - SemanticLeftEnd
641#       Move the vi mode cursor to the end of the previous semantically separated word.
642#   - SemanticRightEnd
643#       Move the vi mode cursor to the end of the next semantically separated word.
644#   - WordLeft
645#       Move the vi mode cursor to the start of the previous whitespace separated word.
646#   - WordRight
647#       Move the vi mode cursor to the start of the next whitespace separated word.
648#   - WordLeftEnd
649#       Move the vi mode cursor to the end of the previous whitespace separated word.
650#   - WordRightEnd
651#       Move the vi mode cursor to the end of the next whitespace separated word.
652#   - Bracket
653#       Move the vi mode cursor to the next character that matches the bracket at the cursor's
654#       current location.
655#   - ToggleNormalSelection
656#   - ToggleLineSelection
657#   - ToggleBlockSelection
658#   - ToggleSemanticSelection
659#       Toggle semantic selection based on `selection.semantic_escape_chars`.
660#   - SearchNext
661#       Jump to the beginning of the next match.
662#   - SearchPrevious
663#       Jump to the beginning of the previous match.
664#   - SearchStart
665#       Jump to the next start of a match to the left of the vi mode cursor.
666#   - SearchEnd
667#       Jump to the next end of a match to the left of the vi mode cursor.
668#
669#   (macOS only):
670#   - ToggleSimpleFullscreen
671#       Enter fullscreen without occupying another space.
672#
673#   (Linux/BSD only):
674#   - CopySelection
675#       Copy from the selection buffer.
676#   - PasteSelection
677#       Paste from the selection buffer.
678#
679# - `command`: Fork and execute a specified command plus arguments
680#
681#    The `command` field must be a map containing a `program` string and an
682#    `args` array of command line parameter strings. For example:
683#       `{ program: "alacritty", args: ["-e", "vttest"] }`
684#
685# And optionally:
686#
687# - `mods`: Key modifiers to filter binding actions
688#
689#    - Command
690#    - Control
691#    - Option
692#    - Super
693#    - Shift
694#    - Alt
695#
696#    Multiple `mods` can be combined using `|` like this:
697#       `mods: Control|Shift`.
698#    Whitespace and capitalization are relevant and must match the example.
699#
700# - `mode`: Indicate a binding for only specific terminal reported modes
701#
702#    This is mainly used to send applications the correct escape sequences
703#    when in different modes.
704#
705#    - AppCursor
706#    - AppKeypad
707#    - Alt
708#    - Vi
709#
710#    A `~` operator can be used before a mode to apply the binding whenever
711#    the mode is *not* active, e.g. `~Alt`.
712#
713# Bindings are always filled by default, but will be replaced when a new
714# binding with the same triggers is defined. To unset a default binding, it can
715# be mapped to the `ReceiveChar` action. Alternatively, you can use `None` for
716# a no-op if you do not wish to receive input characters for that binding.
717#
718# If the same trigger is assigned to multiple actions, all of them are executed
719# in the order they were defined in.
720#key_bindings:
721  #- { key: Paste,                                action: Paste          }
722  #- { key: Copy,                                 action: Copy           }
723  #- { key: L,         mods: Control,             action: ClearLogNotice }
724  #- { key: L,         mods: Control, mode: ~Vi,  chars: "\x0c"          }
725  #- { key: PageUp,    mods: Shift,   mode: ~Alt, action: ScrollPageUp,  }
726  #- { key: PageDown,  mods: Shift,   mode: ~Alt, action: ScrollPageDown }
727  #- { key: Home,      mods: Shift,   mode: ~Alt, action: ScrollToTop,   }
728  #- { key: End,       mods: Shift,   mode: ~Alt, action: ScrollToBottom }
729
730  # Vi Mode
731  #- { key: Space,  mods: Shift|Control, mode: Vi, action: ScrollToBottom          }
732  #- { key: Space,  mods: Shift|Control,           action: ToggleViMode            }
733  #- { key: Escape,                      mode: Vi, action: ClearSelection          }
734  #- { key: I,                           mode: Vi, action: ScrollToBottom          }
735  #- { key: I,                           mode: Vi, action: ToggleViMode            }
736  #- { key: C,      mods: Control,       mode: Vi, action: ToggleViMode            }
737  #- { key: Y,      mods: Control,       mode: Vi, action: ScrollLineUp            }
738  #- { key: E,      mods: Control,       mode: Vi, action: ScrollLineDown          }
739  #- { key: G,                           mode: Vi, action: ScrollToTop             }
740  #- { key: G,      mods: Shift,         mode: Vi, action: ScrollToBottom          }
741  #- { key: B,      mods: Control,       mode: Vi, action: ScrollPageUp            }
742  #- { key: F,      mods: Control,       mode: Vi, action: ScrollPageDown          }
743  #- { key: U,      mods: Control,       mode: Vi, action: ScrollHalfPageUp        }
744  #- { key: D,      mods: Control,       mode: Vi, action: ScrollHalfPageDown      }
745  #- { key: Y,                           mode: Vi, action: Copy                    }
746  #- { key: Y,                           mode: Vi, action: ClearSelection          }
747  #- { key: Copy,                        mode: Vi, action: ClearSelection          }
748  #- { key: V,                           mode: Vi, action: ToggleNormalSelection   }
749  #- { key: V,      mods: Shift,         mode: Vi, action: ToggleLineSelection     }
750  #- { key: V,      mods: Control,       mode: Vi, action: ToggleBlockSelection    }
751  #- { key: V,      mods: Alt,           mode: Vi, action: ToggleSemanticSelection }
752  #- { key: Return,                      mode: Vi, action: Open                    }
753  #- { key: K,                           mode: Vi, action: Up                      }
754  #- { key: J,                           mode: Vi, action: Down                    }
755  #- { key: H,                           mode: Vi, action: Left                    }
756  #- { key: L,                           mode: Vi, action: Right                   }
757  #- { key: Up,                          mode: Vi, action: Up                      }
758  #- { key: Down,                        mode: Vi, action: Down                    }
759  #- { key: Left,                        mode: Vi, action: Left                    }
760  #- { key: Right,                       mode: Vi, action: Right                   }
761  #- { key: Key0,                        mode: Vi, action: First                   }
762  #- { key: Key4,   mods: Shift,         mode: Vi, action: Last                    }
763  #- { key: Key6,   mods: Shift,         mode: Vi, action: FirstOccupied           }
764  #- { key: H,      mods: Shift,         mode: Vi, action: High                    }
765  #- { key: M,      mods: Shift,         mode: Vi, action: Middle                  }
766  #- { key: L,      mods: Shift,         mode: Vi, action: Low                     }
767  #- { key: B,                           mode: Vi, action: SemanticLeft            }
768  #- { key: W,                           mode: Vi, action: SemanticRight           }
769  #- { key: E,                           mode: Vi, action: SemanticRightEnd        }
770  #- { key: B,      mods: Shift,         mode: Vi, action: WordLeft                }
771  #- { key: W,      mods: Shift,         mode: Vi, action: WordRight               }
772  #- { key: E,      mods: Shift,         mode: Vi, action: WordRightEnd            }
773  #- { key: Key5,   mods: Shift,         mode: Vi, action: Bracket                 }
774  #- { key: Slash,                       mode: Vi, action: SearchForward           }
775  #- { key: Slash,  mods: Shift,         mode: Vi, action: SearchBackward          }
776  #- { key: N,                           mode: Vi, action: SearchNext              }
777  #- { key: N,      mods: Shift,         mode: Vi, action: SearchPrevious          }
778
779  # (Windows, Linux, and BSD only)
780  #- { key: V,              mods: Control|Shift,           action: Paste            }
781  #- { key: C,              mods: Control|Shift,           action: Copy             }
782  #- { key: F,              mods: Control|Shift,           action: SearchForward    }
783  #- { key: B,              mods: Control|Shift,           action: SearchBackward   }
784  #- { key: C,              mods: Control|Shift, mode: Vi, action: ClearSelection   }
785  #- { key: Insert,         mods: Shift,                   action: PasteSelection   }
786  #- { key: Key0,           mods: Control,                 action: ResetFontSize    }
787  #- { key: Equals,         mods: Control,                 action: IncreaseFontSize }
788  #- { key: Plus,           mods: Control,                 action: IncreaseFontSize }
789  #- { key: NumpadAdd,      mods: Control,                 action: IncreaseFontSize }
790  #- { key: Minus,          mods: Control,                 action: DecreaseFontSize }
791  #- { key: NumpadSubtract, mods: Control,                 action: DecreaseFontSize }
792
793  # (Windows only)
794  #- { key: Return,   mods: Alt,           action: ToggleFullscreen }
795
796  # (macOS only)
797  #- { key: K,              mods: Command, mode: ~Vi, chars: "\x0c"            }
798  #- { key: Key0,           mods: Command,            action: ResetFontSize    }
799  #- { key: Equals,         mods: Command,            action: IncreaseFontSize }
800  #- { key: Plus,           mods: Command,            action: IncreaseFontSize }
801  #- { key: NumpadAdd,      mods: Command,            action: IncreaseFontSize }
802  #- { key: Minus,          mods: Command,            action: DecreaseFontSize }
803  #- { key: NumpadSubtract, mods: Command,            action: DecreaseFontSize }
804  #- { key: K,              mods: Command,            action: ClearHistory     }
805  #- { key: V,              mods: Command,            action: Paste            }
806  #- { key: C,              mods: Command,            action: Copy             }
807  #- { key: C,              mods: Command, mode: Vi,  action: ClearSelection   }
808  #- { key: H,              mods: Command,            action: Hide             }
809  #- { key: M,              mods: Command,            action: Minimize         }
810  #- { key: Q,              mods: Command,            action: Quit             }
811  #- { key: W,              mods: Command,            action: Quit             }
812  #- { key: N,              mods: Command,            action: SpawnNewInstance }
813  #- { key: F,              mods: Command|Control,    action: ToggleFullscreen }
814  #- { key: F,              mods: Command,            action: SearchForward    }
815  #- { key: B,              mods: Command,            action: SearchBackward   }
816
817#debug:
818  # Display the time it takes to redraw each frame.
819  #render_timer: false
820
821  # Keep the log file after quitting Alacritty.
822  #persistent_logging: false
823
824  # Log level
825  #
826  # Values for `log_level`:
827  #   - None
828  #   - Error
829  #   - Warn
830  #   - Info
831  #   - Debug
832  #   - Trace
833  #log_level: Warn
834
835  # Print all received window events.
836  #print_events: false