Skip to content

Instantly share code, notes, and snippets.

@jpcweb
Last active February 9, 2021 09:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jpcweb/2ab5a996ab7b9d6d01f6140b9cbbcbe0 to your computer and use it in GitHub Desktop.
Save jpcweb/2ab5a996ab7b9d6d01f6140b9cbbcbe0 to your computer and use it in GitHub Desktop.
Alacritty key bindings (curl braces, etc...) for french keyboard
# Find out which key you are pressing looking at Alacritty events
alacritty --print-events | grep "WindowEvent.*KeyboardInput"
vim ~/.config/alacritty/alacritty.yml
key_bindings:
# French keyboard works on MAC
- { key: LBracket, mods: Alt, chars: "{" }
- { key: RBracket, mods: Alt, chars: "}" }
- { key: LBracket, mods: Alt|Shift,chars: "[" }
- { key: RBracket, mods: Alt|Shift,chars: "]" }
- { key: 37, mods: Alt|Shift,chars: "|" }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment