open 'karabiner://karabiner/assets/complex_modifications/import?url=https%3A%2F%2Fgist.githubusercontent.com%2FArcCosine%2F49b652939ac45fb3f00abce416abac32%2Fraw%2F7ef1613b7235b68e5bb038bf88f675f679f0a6a5%2Fsemicolon-enter.json'
Last active
August 20, 2018 13:01
-
-
Save ArcCosine/49b652939ac45fb3f00abce416abac32 to your computer and use it in GitHub Desktop.
Enter semicolon as Enter for karabinar-elements
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
{ | |
"title": "Enter semicolon as Enter", | |
"rules": [ | |
{ | |
"description": "Set the semicolon as Enter, do not change the behavior of Shift + semicolon, keep Ctrl + semicolon as semicolon", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "semicolon", | |
"modifiers": { | |
"mandatory": ["shift"] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "semicolon", | |
"modifiers": [ | |
"left_shift" | |
] | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "semicolon", | |
"modifiers": { | |
"mandatory": ["left_control"] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "semicolon" | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "semicolon", | |
"modifiers": { | |
"optional": ["any"] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "return_or_enter" | |
} | |
] | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment