Last active
November 30, 2022 21:39
-
-
Save DanSkeel/2a98f54cc672bed3cb3b to your computer and use it in GitHub Desktop.
Settings for Karabiner to enable Shift+Enter shortcut for newline in Messages app
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
<?xml version="1.0"?> | |
<!-- Documentation: https://pqrs.org/osx/karabiner/xml.html.en --> | |
<root> | |
<appdef> | |
<appname>Messages</appname> | |
<equal>com.apple.iChat</equal> | |
</appdef> | |
<item> | |
<name>Enable Shift+enter newline shortcut in Messages app</name> | |
<identifier>private.Messages.NewLine</identifier> | |
<uielementrole_only>AXTextArea</uielementrole_only> | |
<only>Messages</only> | |
<autogen> | |
__KeyToKey__ | |
KeyCode::RETURN, ModifierFlag::SHIFT_L | ModifierFlag::NONE, | |
KeyCode::RETURN, ModifierFlag::OPTION_L | |
</autogen> | |
</item> | |
</root> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you!