Last active
September 21, 2018 15:57
-
-
Save alexkilla/ed400b9be6ec561d263515391d9fb778 to your computer and use it in GitHub Desktop.
This file is to replace arrow keys for option + ijkl. To import in karabiner elements (click link in the comments)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "title": "Option + IJKL", | |
| "rules": [ | |
| { "description": "Caps Lock to Ctrl", | |
| "manipulators": [{"type": "basic", "from": {"key_code": "caps_lock", "modifiers": {"optional": ["any"]}}, "to": [{"key_code": "right_control"}]}] }, | |
| { "description": "Alt to Command", | |
| "manipulators": [{"type": "basic", "from": {"key_code": "left_options", "modifiers": {"optional": ["any"]}}, "to": [{"key_code": "left_command"}]}] }, | |
| { "description": "Command to Alt", | |
| "manipulators": [{"type": "basic", "from": {"key_code": "left_command", "modifiers": {"optional": ["any"]}}, "to": [{"key_code": "left_option"}]}] }, | |
| { "description": "option + I/J/K/L to Arrow Keys", | |
| "manipulators": [{"type": "basic", "from": {"key_code": "i", "modifiers": {"mandatory": ["left_option"], "optional": ["any"]}}, "to": [{"key_code": "up_arrow"}] }, | |
| {"type": "basic", "from": {"key_code": "j", "modifiers": {"mandatory": ["left_option"], "optional": ["any"]}}, "to": [{"key_code": "left_arrow"}]}, | |
| {"type": "basic", "from": {"key_code": "k", "modifiers": {"mandatory": ["left_option"], "optional": ["any"]}}, "to": [{"key_code": "down_arrow"}]}, | |
| {"type": "basic", "from": {"key_code": "l", "modifiers": {"mandatory": ["left_option"], "optional": ["any"]}}, "to": [{"key_code": "right_arrow"}]}] }, | |
| { "description": "Disable arrows", | |
| "manipulators": [{"type": "basic", "from": {"key_code": "left_arrow"}, "to": [{"key_code": "vk_none"}]}, | |
| {"type": "basic", "from": {"key_code": "right_arrow"}, "to": [{"key_code": "vk_none"}]}, | |
| {"type": "basic", "from": {"key_code": "up_arrow"}, "to": [{"key_code": "vk_none"}]}, | |
| {"type": "basic", "from": {"key_code": "down_arrow"}, "to": [{"key_code": "vk_none"}]}] }, | |
| ] | |
| } |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Copy and paste in the browser the following url:
karabiner://karabiner/assets/complex_modifications/import?url=https://gist.githubusercontent.com/alexkilla/ed400b9be6ec561d263515391d9fb778/raw/b249d796452ebebd42d511b193301d64b6510901/arrow_keys_to_option_ijkl_and_more.json