pqrs-org / Karabiner-Elements

Karabiner-Elements is a powerful utility for keyboard customization on macOS Sierra (10.12) or later.
https://pqrs.org/osx/karabiner/
The Unlicense
18.59k stars 835 forks source link

map key combination to another key combination #3004

Open tgy opened 2 years ago

tgy commented 2 years ago

hey thx for this awesome foss project

is it possible to map a key combination to another key combination?

e.g. i would like to map cmd+grave_accent_and_tilde to cmd+non_us_backslash

but i don't necessarily want to map grave_accent_and_tilde to non_us_backslash outside of when cmd is pressed

MuhammedZakir commented 2 years ago

You will have to use complex modifications for this.

  1. https://karabiner-elements.pqrs.org/docs/manual/configuration/configure-complex-modifications/
  2. https://karabiner-elements.pqrs.org/docs/json/
  3. WebUI (unofficial): https://genesy.github.io/karabiner-complex-rules-generator/