Extended keys for Alacritty
Enable CSI u mode.
The specification can be found at Fix keyboard input on terminals.
Copy keys.yml
to your config file.
Read the specification.
The syntax is:
CSI <code-point> ; <modifier> u
In Alacritty-speak, it is:
key_bindings:
- { key: <key>, mods: <modifiers>, chars: "\x1b[<code-point>;<modifier>u" }
Get Alacritty key names for the key
section:
alacritty --print-events
Get the code points for the chars
section:
showkey --ascii