Forked from mh-mobile/discord-enter-modification.json
Created
December 29, 2024 08:46
-
-
Save 256hax/37327ab41de64b8aa3ba5b74121ec7ec to your computer and use it in GitHub Desktop.
DiscordのEnterキーの挙動変更(Karabiner-Elements)- Enterで改行 / Command + Enterで送信
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
| { | |
| "description": "Discord-Enter-Modification", | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "bundle_identifiers": [ | |
| "^com\\.hnc\\.Discord" | |
| ], | |
| "type": "frontmost_application_if" | |
| } | |
| ], | |
| "from": { "key_code": "return_or_enter" }, | |
| "to": [ | |
| { | |
| "key_code": "return_or_enter", | |
| "modifiers": ["left_shift"] | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "conditions": [ | |
| { | |
| "bundle_identifiers": [ | |
| "^com\\.hnc\\.Discord" | |
| ], | |
| "type": "frontmost_application_if" | |
| } | |
| ], | |
| "from": { | |
| "key_code": "return_or_enter", | |
| "modifiers": { "mandatory": ["command"] } | |
| }, | |
| "to": { "key_code": "return_or_enter" }, | |
| "type": "basic" | |
| } | |
| ] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment