complex_modifications for Karabiner-Elements.
https://pqrs.org/osx/karabiner/complex_modifications/
Run make in terminal.
make
- Put a file to src/json. (or docs/json directly)
- Add
file_import_panel
to src/index.html.erb. - Run
make
in terminal.
Key name definitions are here.
In the "from"
section of the JSON files, you can use command
, option
, shift
, control
etc. instead of left_command
, left_option
, left_shift
and left_control
to refer to both the left and right modifier keys.
- Copy a json file to
~/.config/karabiner/assets/complex_modifications
. - Import rules from Karabiner-Elements Preferences.
$ cp docs/json/caps_lock.json ~/.config/karabiner/assets/complex_modifications
Then open Karabiner-Elements Preferences > Complex Modifications > Rules > Add rule
- Put a json file to your site.
- Make a link
karabiner://karabiner/assets/complex_modifications/import?url=<JSON_URL>
. - Open the link from web browser.