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