From 6320666a99bac45cfda64e9abb0f2663f9adb603 Mon Sep 17 00:00:00 2001 From: Kevin Cotugno Date: Mon, 9 Aug 2021 18:36:33 -0700 Subject: [PATCH] Add alt key binding for macOS --- .config/alacritty/alacritty.yml | 48 +++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/.config/alacritty/alacritty.yml b/.config/alacritty/alacritty.yml index 82b4bf0..848fafb 100644 --- a/.config/alacritty/alacritty.yml +++ b/.config/alacritty/alacritty.yml @@ -52,3 +52,51 @@ colors: - { index: 19, color: '0x586e75' } - { index: 20, color: '0x839496' } - { index: 21, color: '0xeee8d5' } + +key_bindings: + - { key: A, mods: Alt, chars: "\x1ba" } + - { key: B, mods: Alt, chars: "\x1bb" } + - { key: C, mods: Alt, chars: "\x1bc" } + - { key: D, mods: Alt, chars: "\x1bd" } + - { key: E, mods: Alt, chars: "\x1be" } + - { key: F, mods: Alt, chars: "\x1bf" } + - { key: G, mods: Alt, chars: "\x1bg" } + - { key: H, mods: Alt, chars: "\x1bh" } + - { key: I, mods: Alt, chars: "\x1bi" } + - { key: J, mods: Alt, chars: "\x1bj" } + - { key: K, mods: Alt, chars: "\x1bk" } + - { key: L, mods: Alt, chars: "\x1bl" } + - { key: M, mods: Alt, chars: "\x1bm" } + - { key: N, mods: Alt, chars: "\x1bn" } + - { key: O, mods: Alt, chars: "\x1bo" } + - { key: P, mods: Alt, chars: "\x1bp" } + - { key: Q, mods: Alt, chars: "\x1bq" } + - { key: R, mods: Alt, chars: "\x1br" } + - { key: S, mods: Alt, chars: "\x1bs" } + - { key: T, mods: Alt, chars: "\x1bt" } + - { key: U, mods: Alt, chars: "\x1bu" } + - { key: V, mods: Alt, chars: "\x1bv" } + - { key: W, mods: Alt, chars: "\x1bw" } + - { key: X, mods: Alt, chars: "\x1bx" } + - { key: Y, mods: Alt, chars: "\x1by" } + - { key: Z, mods: Alt, chars: "\x1bz" } + + - { key: 0, mods: Alt, chars: "\x1b0" } + - { key: 1, mods: Alt, chars: "\x1b1" } + - { key: 2, mods: Alt, chars: "\x1b2" } + - { key: 3, mods: Alt, chars: "\x1b3" } + - { key: 4, mods: Alt, chars: "\x1b4" } + - { key: 5, mods: Alt, chars: "\x1b5" } + - { key: 6, mods: Alt, chars: "\x1b6" } + - { key: 7, mods: Alt, chars: "\x1b7" } + - { key: 8, mods: Alt, chars: "\x1b8" } + - { key: 9, mods: Alt, chars: "\x1b9" } + + - { key: Minus, mods: Alt, chars: "\x1b-" } + - { key: Equals, mods: Alt, chars: "\x1b=" } + - { key: Space, mods: Alt, chars: "\x1b " } + - { key: Slash, mods: Alt, chars: "\x1b/" } + - { key: Backslash, mods: Alt, chars: "\x1b\\" } + - { key: Tab, mods: Alt, chars: "\x1b\t" } + - { key: LBracket, mods: Alt, chars: "\x1b[" } + - { key: RBracket, mods: Alt, chars: "\x1b]" }