# Alacritty

A cross-platform, OpenGL terminal emulator.

github.com/alacritty/alacritty (opens new window)

# ~/.config/alacritty/alacritty.yml

# cSpell:words alacritty lfcd
live_config_reload: true

import:
  - ~/.config/alacritty/aw/fallback.yml
  - ~/.config/alacritty/aw/current.yml

shell:
  program: /opt/homebrew/bin/fish

selection:
  semantic_escape_chars: ",│`|:\"' ()[]{}<>\t"
  save_to_clipboard: true

window:
  padding:
    x: 10
    y: 10
  dynamic_padding: false
  decorations: none

font:
  normal:
    family: 'SFMono Nerd Font'
    style: Regular
  size: 20.0
  use_thin_strokes: true

mouse:
  hide_when_typing: true

key_bindings:
  - { key: Comma, mods: Command, chars: "\x02," }
  - { key: D, mods: Command, chars: "\x02K" }
  - { key: F, mods: Command, chars: "lfcd\n" }
  - { key: P, mods: Command, chars: ":lua require'telescope.builtin'.git_files{}\n" }
  - { key: G, mods: Command, chars: "\x02g" }
  - { key: K, mods: Command, chars: "\x02s" }
  - { key: Key1, mods: Command, chars: "\x021" }
  - { key: Key2, mods: Command, chars: "\x022" }
  - { key: Key3, mods: Command, chars: "\x023" }
  - { key: Key4, mods: Command, chars: "\x024" }
  - { key: Key5, mods: Command, chars: "\x025" }
  - { key: Key6, mods: Command, chars: "\x026" }
  - { key: Key7, mods: Command, chars: "\x027" }
  - { key: Key8, mods: Command, chars: "\x028" }
  - { key: Key9, mods: Command, chars: "\x029" }
  - { key: L, mods: Command, chars: "\x02L" }
  - { key: LBracket, mods: Command, chars: "\x02[" }
  - { key: LBracket, mods: Command|Shift, chars: "\x02p" }
  - { key: E, mods: Command|Shift, chars: "\x02%" }
  - { key: E, mods: Command, chars: "\x02\"" }
  - { key: Q, mods: Command, chars: "\x02d" }
  - { key: RBracket, mods: Command|Shift, chars: "\x02n" }
  - { key: S, mods: Command, chars: "\e:w\n" }
  - { key: Semicolon, mods: Command, chars: "\x02:" }
  - { key: T, mods: Command, chars: "\x02c" }
  - { key: T, mods: Command|Shift, chars: "\x02!" }
  - { key: W, mods: Command, chars: "\x02x" }
  - { key: Z, mods: Command, chars: "\x02z" }