Skip to content

Latest commit

 

History

History
54 lines (32 loc) · 926 Bytes

README.md

File metadata and controls

54 lines (32 loc) · 926 Bytes

Extended keys for Alacritty

Enable CSI u mode.

The specification can be found at Fix keyboard input on terminals.

Installation

Copy keys.yml to your config file.

Configuration

Add more keys

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

References

Video discussing setting this up for neovim