Last active
October 29, 2017 14:18
-
-
Save ohshhh/feebb969a2fcd3b7b820c13f70b313fd to your computer and use it in GitHub Desktop.
karabiner-elements complex config
This file contains 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
"complex_modifications": { | |
"rules": [ | |
{ | |
"manipulators": [ | |
{ | |
"description": "Ctrl+Tab to Cmd+Tab", | |
"from": { | |
"key_code": "tab", | |
"modifiers": { | |
"mandatory": [ | |
"left_control" | |
], | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [{ | |
"key_code": "tab", | |
"modifiers": ["left_command"] | |
}], | |
"type": "basic" | |
}, | |
{ | |
"description": "Cmd+Tab to Ctrl+Tab", | |
"from": { | |
"key_code": "tab", | |
"modifiers": { | |
"mandatory": [ | |
"left_command" | |
], | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [{ | |
"key_code": "tab", | |
"modifiers": ["left_control"] | |
}], | |
"type": "basic" | |
} | |
] | |
} | |
] | |
}, | |
The configuration file can be found in ~/.config/karabiner/karabiner.json and you see the modification directly after saving. (In your Karabiner-Elemnts window you can see in the Log tab what's happening). |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment