copy file to ~/.config/karabiner/assets/complex_modifications
Last active
October 28, 2019 04:12
-
-
Save yycking/260bdb9440cefbee8a8bf179b9ae336b to your computer and use it in GitHub Desktop.
Complex Modifications of ELECOM mouse on Karabiner-Elements
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": "elecom", | |
| "rules": [ | |
| { | |
| "description": "normal", | |
| "manipulators": [ | |
| { | |
| "description": "back: ⌘[", | |
| "from": { | |
| "pointing_button": "button4" | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "close_bracket", | |
| "modifiers": [ | |
| "command" | |
| ] | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "description": "forard: ⌘]", | |
| "from": { | |
| "pointing_button": "button5" | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "open_bracket", | |
| "modifiers": [ | |
| "command" | |
| ] | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Xcode", | |
| "manipulators": [ | |
| { | |
| "description": "back: ⌃⌘←", | |
| "from": { | |
| "pointing_button": "button5" | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "left_arrow", | |
| "modifiers": [ | |
| "command", | |
| "control" | |
| ] | |
| } | |
| ], | |
| "conditions": [ | |
| { | |
| "type": "frontmost_application_if", | |
| "bundle_identifiers": [ | |
| "^com.apple.dt.Xcode" | |
| ] | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "description": "forward: ⌃⌘→", | |
| "from": { | |
| "pointing_button": "button4" | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "right_arrow", | |
| "modifiers": [ | |
| "command", | |
| "control" | |
| ] | |
| } | |
| ], | |
| "conditions": [ | |
| { | |
| "type": "frontmost_application_if", | |
| "bundle_identifiers": [ | |
| "^com.apple.dt.Xcode" | |
| ] | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "sublimetext", | |
| "manipulators": [ | |
| { | |
| "description": "back: ⌃-", | |
| "from": { | |
| "pointing_button": "button4" | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "hyphen", | |
| "modifiers": [ | |
| "control" | |
| ] | |
| } | |
| ], | |
| "conditions": [ | |
| { | |
| "type": "frontmost_application_if", | |
| "bundle_identifiers": [ | |
| "^com.sublimetext.3" | |
| ] | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "description": "forward: ⌃⇪-", | |
| "from": { | |
| "pointing_button": "button5" | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "hyphen", | |
| "modifiers": [ | |
| "shift", | |
| "control" | |
| ] | |
| } | |
| ], | |
| "conditions": [ | |
| { | |
| "type": "frontmost_application_if", | |
| "bundle_identifiers": [ | |
| "^com.sublimetext.3" | |
| ] | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "mini broswer", | |
| "manipulators": [ | |
| { | |
| "description": "back: ⌘←", | |
| "from": { | |
| "pointing_button": "button4" | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "left_arrow", | |
| "modifiers": [ | |
| "command" | |
| ] | |
| } | |
| ], | |
| "conditions": [ | |
| { | |
| "type": "frontmost_application_if", | |
| "bundle_identifiers": [ | |
| "^com.electron.min" | |
| ] | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "description": "forward: ⌘→", | |
| "from": { | |
| "pointing_button": "button5" | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "right_arrow", | |
| "modifiers": [ | |
| "command" | |
| ] | |
| } | |
| ], | |
| "conditions": [ | |
| { | |
| "type": "frontmost_application_if", | |
| "bundle_identifiers": [ | |
| "^com.electron.min" | |
| ] | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| } | |
| ] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment