KE-complex_modifications
complex_modifications for Karabiner-Elements.
https://pqrs.org/osx/karabiner/complex_modifications/
Update docs
Run make in terminal.
make
Add rules
- Put a
.erb
template file to src/json. (Or put a.json
file to docs/json directly.) - (Optional) Put extra description to docs/extra_descriptions.
- Add new json to docs/groups.json.
- Run
make
in terminal.
Note
docs/index.html
does not work properly if you open it via file://...
.
Launch a local web server by make server
in terminal and open http://localhost:8000 .
(You can quit the local web server by the control-c
shortcut in terminal.)
Karabiner-Elements cannot import the json from the local web server due to the no https connection between local web server.
Please import the json via file copy. (See Local testing section.)
complex_modifications documents
https://pqrs.org/osx/karabiner/json.html
Local testing
- Copy a json file to
~/.config/karabiner/assets/complex_modifications
. - Import rules from Karabiner-Elements Preferences.
Example
$ cp docs/json/caps_lock.json ~/.config/karabiner/assets/complex_modifications
Then open Karabiner-Elements Preferences > Complex Modifications > Rules > Add rule
Karabiner-Elements Usage
Import file from another site
- 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.