Created
August 8, 2014 13:39
-
-
Save bassu/b89488d8aef681dca78c to your computer and use it in GitHub Desktop.
Command & Option swaps into Right Ctrl on Apple keyboards (Emacs style for Atom.app and such)
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
<?xml version="1.0"?> | |
<root> | |
<item> | |
<name>Atom.app</name> | |
<appendix>Emacs style binding from PC keyboards by Bassu</appendix> | |
<appdef> | |
<appname>ATOM</appname> | |
<equal>com.github.atom</equal> | |
</appdef> | |
<item> | |
<name>Left option -> Left command</name> | |
<identifier>private.left_option_to_left_command</identifier> | |
<only>ATOM</only> | |
<autogen>__KeyToKey__ KeyCode::OPTION_L, KeyCode::COMMAND_L</autogen> | |
</item> | |
<item> | |
<name>Left command -> Left option</name> | |
<identifier>private.left_command_to_left_option</identifier> | |
<only>ATOM</only> | |
<autogen>__KeyToKey__ KeyCode::COMMAND_L, KeyCode::OPTION_L</autogen> | |
</item> | |
<item> | |
<name>Right option -> Ctrl</name> | |
<identifier>private.right_option_to_ctrl</identifier> | |
<only>ATOM</only> | |
<autogen>__KeyToKey__ KeyCode::OPTION_R, KeyCode::CONTROL_L</autogen> | |
</item> | |
<item> | |
<name>Right command -> Right option</name> | |
<identifier>private.right_command_to_right_option</identifier> | |
<only>ATOM</only> | |
<autogen>__KeyToKey__ KeyCode::COMMAND_R, KeyCode::OPTION_R</autogen> | |
</item> | |
</item> | |
</root> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment