Skip to content

Instantly share code, notes, and snippets.

@odmishien
Created July 9, 2020 02:44
Show Gist options
  • Save odmishien/80e425dab3913b996f09afac1064764b to your computer and use it in GitHub Desktop.
Save odmishien/80e425dab3913b996f09afac1064764b to your computer and use it in GitHub Desktop.
The Karabiner-Elements settings for the key binding on MicroSoftTeams.
{
"title": "browser",
"rules": [
{
"description": "MicroSoftTeams: send by Cmd+Enter",
"manipulators": [
{
"type": "basic",
"conditions": [
{
"type": "frontmost_application_if",
"bundle_identifiers": [
"^com\\.microsoft\\.teams"
]
}
],
"from": {
"key_code": "return_or_enter"
},
"to": [
{
"key_code": "return_or_enter",
"modifiers": ["left_shift"]
}
]
},
{
"type": "basic",
"conditions": [
{
"type": "frontmost_application_if",
"bundle_identifiers": [
"^com\\.microsoft\\.teams"
]
}
],
"from": {
"key_code": "return_or_enter",
"modifiers": {"mandatory": ["left_command"]}
},
"to": [
{
"key_code": "return_or_enter"
}
]
},
{
"type": "basic",
"conditions": [
{
"type": "frontmost_application_if",
"bundle_identifiers": [
"^com\\.microsoft\\.teams"
]
}
],
"from": {
"key_code": "return_or_enter",
"modifiers": {"mandatory": ["right_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