for karabiner-element:
- import:
karabiner://karabiner/assets/complex_modifications/import?url=https://gist.githubusercontent.com/Lincest/a43dd5495728ce5f43150c76d5ce92bc/raw
- press
enable all
Complex Modifications -> press delete button
| { | |
| "title": "Moreality: Karabiner-Capslock+", | |
| "url": "https://gist.githubusercontent.com/Lincest/a43dd5495728ce5f43150c76d5ce92bc/raw", | |
| "version": "3.0.3", | |
| "maintainers": [ | |
| "Moreality" | |
| ], | |
| "author": "roccoshi(imroccoshi@gmail.com)", | |
| "website": "https://roccoshi.top", | |
| "import_url": "karabiner://karabiner/assets/complex_modifications/import?url=https://gist.githubusercontent.com/Lincest/a43dd5495728ce5f43150c76d5ce92bc/raw", | |
| "rules": [ | |
| { | |
| "description": "Moreality Karabiner Rules", | |
| "manipulators": [ | |
| { | |
| "description": "Disable System cmd + ctrl + f (full screen)", | |
| "type": "basic", | |
| "from": { | |
| "key_code": "f", | |
| "modifiers": { | |
| "mandatory": [ | |
| "command", | |
| "left_control" | |
| ] | |
| } | |
| } | |
| }, | |
| { | |
| "description": "Disable System cmd + m (minimize current window)", | |
| "type": "basic", | |
| "from": { | |
| "key_code": "m", | |
| "modifiers": { | |
| "mandatory": [ | |
| "command" | |
| ] | |
| } | |
| } | |
| }, | |
| { | |
| "description": "Disable System cmd + h (hide current window)", | |
| "type": "basic", | |
| "from": { | |
| "key_code": "h", | |
| "modifiers": { | |
| "mandatory": [ | |
| "command" | |
| ] | |
| } | |
| } | |
| }, | |
| { | |
| "description": "capslock = hyper(hold)", | |
| "type": "basic", | |
| "from": { | |
| "key_code": "caps_lock", | |
| "modifiers": { | |
| "optional": [ | |
| "any" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "right_shift", | |
| "modifiers": [ | |
| "right_command", | |
| "right_control", | |
| "right_option" | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "capslock + h = shift + left", | |
| "type": "basic", | |
| "from": { | |
| "key_code": "h", | |
| "modifiers": { | |
| "mandatory": [ | |
| "right_command", | |
| "right_control", | |
| "right_shift", | |
| "right_option" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "left_arrow", | |
| "modifiers": [ | |
| "left_shift" | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "a = left", | |
| "type": "basic", | |
| "from": { | |
| "key_code": "a", | |
| "modifiers": { | |
| "mandatory": [ | |
| "right_command", | |
| "right_control", | |
| "right_shift", | |
| "right_option" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "left_arrow" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "j = line selection down", | |
| "type": "basic", | |
| "from": { | |
| "key_code": "j", | |
| "modifiers": { | |
| "mandatory": [ | |
| "right_command", | |
| "right_control", | |
| "right_shift", | |
| "right_option" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "down_arrow", | |
| "modifiers": [ | |
| "left_shift" | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "description": " s = down", | |
| "type": "basic", | |
| "from": { | |
| "key_code": "s", | |
| "modifiers": { | |
| "mandatory": [ | |
| "right_command", | |
| "right_control", | |
| "right_shift", | |
| "right_option" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "down_arrow" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "k = line selection up", | |
| "type": "basic", | |
| "from": { | |
| "key_code": "k", | |
| "modifiers": { | |
| "mandatory": [ | |
| "right_command", | |
| "right_control", | |
| "right_shift", | |
| "right_option" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "up_arrow", | |
| "modifiers": [ | |
| "left_shift" | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "w = up", | |
| "type": "basic", | |
| "from": { | |
| "key_code": "w", | |
| "modifiers": { | |
| "mandatory": [ | |
| "right_command", | |
| "right_control", | |
| "right_shift", | |
| "right_option" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "up_arrow" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "l = shift + right", | |
| "type": "basic", | |
| "from": { | |
| "key_code": "l", | |
| "modifiers": { | |
| "mandatory": [ | |
| "right_command", | |
| "right_control", | |
| "right_shift", | |
| "right_option" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "right_arrow", | |
| "modifiers": [ | |
| "left_shift" | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "d = right", | |
| "type": "basic", | |
| "from": { | |
| "key_code": "d", | |
| "modifiers": { | |
| "mandatory": [ | |
| "right_command", | |
| "right_control", | |
| "right_shift", | |
| "right_option" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "right_arrow" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "u = 选中到行首", | |
| "type": "basic", | |
| "from": { | |
| "key_code": "u", | |
| "modifiers": { | |
| "mandatory": [ | |
| "right_command", | |
| "right_control", | |
| "right_shift", | |
| "right_option" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "left_arrow", | |
| "modifiers": [ | |
| "left_shift", "left_command" | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "o = 选中到行尾", | |
| "type": "basic", | |
| "from": { | |
| "key_code": "o", | |
| "modifiers": { | |
| "mandatory": [ | |
| "right_command", | |
| "right_control", | |
| "right_shift", | |
| "right_option" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "right_arrow", | |
| "modifiers": [ | |
| "right_shift", "right_command" | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "[ = home", | |
| "type": "basic", | |
| "from": { | |
| "key_code": "open_bracket", | |
| "modifiers": { | |
| "mandatory": [ | |
| "right_command", | |
| "right_control", | |
| "right_shift", | |
| "right_option" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "left_arrow", | |
| "modifiers": [ | |
| "left_command" | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "] = end", | |
| "type": "basic", | |
| "from": { | |
| "key_code": "close_bracket", | |
| "modifiers": { | |
| "mandatory": [ | |
| "right_command", | |
| "right_control", | |
| "right_shift", | |
| "right_option" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "right_arrow", | |
| "modifiers": ["left_command"] | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "p = end", | |
| "type": "basic", | |
| "from": { | |
| "key_code": "p", | |
| "modifiers": { | |
| "mandatory": [ | |
| "right_command", | |
| "right_control", | |
| "right_shift", | |
| "right_option" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "right_arrow", | |
| "modifiers": ["left_command"] | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "enter = enter", | |
| "type": "basic", | |
| "from": { | |
| "key_code": "return_or_enter", | |
| "modifiers": { | |
| "mandatory": [ | |
| "right_command", | |
| "right_control", | |
| "right_shift", | |
| "right_option" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "return_or_enter" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "space = space", | |
| "type": "basic", | |
| "from": { | |
| "key_code": "spacebar", | |
| "modifiers": { | |
| "mandatory": [ | |
| "right_command", | |
| "right_control", | |
| "right_shift", | |
| "right_option" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "spacebar" | |
| } | |
| ] | |
| } | |
| ] | |
| } | |
| ] | |
| } |