Created
December 8, 2020 07:31
-
-
Save shuymn/da0e3f179d8cf81d327b7acc621f3bf6 to your computer and use it in GitHub Desktop.
Change Enter (New Line) behavior in Microsoft Teams like Slack on macOS
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": "Custom key-binding in Microsoft Teams", | |
"rules": [ | |
{ | |
"description": "Custom key-binding in Microsoft Teams", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"conditions": [ | |
{ | |
"bundle_identifiers": ["^com\\.microsoft\\.teams"], | |
"type": "frontmost_application_if" | |
} | |
], | |
"from": { | |
"key_code": "return_or_enter" | |
}, | |
"to": [ | |
{ | |
"key_code": "return_or_enter", | |
"modifiers": ["shift"] | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"conditions": [ | |
{ | |
"bundle_identifiers": ["^com\\.microsoft\\.teams"], | |
"type": "frontmost_application_if" | |
} | |
], | |
"from": { | |
"key_code": "return_or_enter", | |
"modifiers": ["command"] | |
}, | |
"to": [ | |
{ | |
"key_code": "return_or_enter" | |
} | |
] | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment