Last active
November 18, 2018 16:28
-
-
Save noir-neo/405a87604f08db3a15bb016deabccbc7 to your computer and use it in GitHub Desktop.
karabiner settings
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": "Change right_command+ijkl to arrow keys", | |
| "rules": [ | |
| { | |
| "description": "Change right_command+ijkl to arrow keys", | |
| "manipulators": [ | |
| { | |
| "from": { | |
| "key_code": "j", | |
| "modifiers": { | |
| "mandatory": [ | |
| "right_command" | |
| ], | |
| "optional": [ | |
| "any" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "left_arrow" | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "k", | |
| "modifiers": { | |
| "mandatory": [ | |
| "right_command" | |
| ], | |
| "optional": [ | |
| "any" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "down_arrow" | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "i", | |
| "modifiers": { | |
| "mandatory": [ | |
| "right_command" | |
| ], | |
| "optional": [ | |
| "any" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "up_arrow" | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "l", | |
| "modifiers": { | |
| "mandatory": [ | |
| "right_command" | |
| ], | |
| "optional": [ | |
| "any" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "right_arrow" | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| } | |
| ] | |
| } |
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": "Vim style escape key mapping", | |
| "rules": [ | |
| { | |
| "description": "Map ctrl + j to escape", | |
| "manipulators": [ | |
| { | |
| "type": "basic", | |
| "from": { | |
| "key_code": "j", | |
| "modifiers": { | |
| "mandatory": ["control"], | |
| "optional": ["any"] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "escape" | |
| } | |
| ] | |
| } | |
| ] | |
| } | |
| ] | |
| } |
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": "emacs style key mapping", | |
| "rules": [ | |
| { | |
| "description": "Map ctrl + h to backspace", | |
| "manipulators": [ | |
| { | |
| "type": "basic", | |
| "from": { | |
| "key_code": "h", | |
| "modifiers": { | |
| "mandatory": ["control"], | |
| "optional": ["any"] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "delete_or_backspace" | |
| } | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Map ctrl + m to return", | |
| "manipulators": [ | |
| { | |
| "type": "basic", | |
| "from": { | |
| "key_code": "m", | |
| "modifiers": { | |
| "mandatory": ["control"], | |
| "optional": ["any"] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "return_or_enter" | |
| } | |
| ] | |
| } | |
| ] | |
| } | |
| ] | |
| } |
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": "Override SandS", | |
| "rules": [ | |
| { | |
| "description": "Override command + space", | |
| "manipulators": [ | |
| { | |
| "type": "basic", | |
| "from": { | |
| "key_code": "spacebar", | |
| "modifiers": { | |
| "mandatory": ["right_command"], | |
| "optional": ["any"] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "spacebar", | |
| "modifiers": ["right_command"] | |
| } | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Override command + option", | |
| "manipulators": [ | |
| { | |
| "type": "basic", | |
| "from": { | |
| "key_code": "spacebar", | |
| "modifiers": { | |
| "mandatory": ["option"], | |
| "optional": ["any"] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "spacebar", | |
| "modifiers": ["option"] | |
| } | |
| ] | |
| } | |
| ] | |
| } | |
| ] | |
| } |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ln -snfvpwd~/.config/karabiner/assets/complex_modifications