all repos — dotfiles @ da644bd6d8abf3679d8d36b8fab0c34fd32e0b73

personal dotfiles

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