Forked from ShingoFukuyama/Return-to-ControlR-for-Karabiner
Last active
August 29, 2015 14:27
-
-
Save carlosliu/52431eb7accc492f28f2 to your computer and use it in GitHub Desktop.
Pretend return key as control_r key. http://fukuyama.co/return-to-right-control (with "only in Emacs, Vi, Terminal, X11" options)
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>Change Return Key R</name> | |
<item> | |
<name>Return to Command_R</name> | |
<identifier>remap.return2commandR</identifier> | |
<autogen>__KeyToKey__ KeyCode::RETURN, KeyCode::COMMAND_R</autogen> | |
</item> | |
<item> | |
<name>Return to Control_R</name> | |
<appendix>(+ When you type Return only, send Return)</appendix> | |
<identifier>remap.return2controlR_return</identifier> | |
<autogen>__KeyOverlaidModifier__ KeyCode::RETURN, KeyCode::CONTROL_R, KeyCode::RETURN</autogen> | |
</item> | |
<item> | |
<name>Return to Control_R (only in Emacs, Vi, Terminal, X11)</name> | |
<appendix>(+ When you type Return only, send Return)</appendix> | |
<identifier>remap.return2controlR_return_etx</identifier> | |
<only>EMACS, VI, TERMINAL, X11</only> | |
<autogen>__KeyOverlaidModifier__ KeyCode::RETURN, KeyCode::CONTROL_R, KeyCode::RETURN</autogen> | |
</item> | |
<item> | |
<name>Return to Control_R</name> | |
<appendix>(+ When you type Return only, send Return) + [KeyRepeat]</appendix> | |
<identifier>remap.return2controlR_return_keyrepeat</identifier> | |
<autogen>__KeyOverlaidModifierWithRepeat__ KeyCode::RETURN, KeyCode::CONTROL_R, KeyCode::RETURN</autogen> | |
</item> | |
<item> | |
<name>Return to Control_R (only in Emacs, Vi, Terminal, X11)</name> | |
<appendix>(+ When you type Return only, send Return) + [KeyRepeat]</appendix> | |
<identifier>remap.return2controlR_return_keyrepeat_etx</identifier> | |
<only>EMACS, VI, TERMINAL, X11</only> | |
<autogen>__KeyOverlaidModifierWithRepeat__ KeyCode::RETURN, KeyCode::CONTROL_R, KeyCode::RETURN</autogen> | |
</item> | |
<item> | |
<name>Return to Option_R</name> | |
<identifier>remap.return2optionR</identifier> | |
<autogen>__KeyToKey__ KeyCode::RETURN, KeyCode::OPTION_R</autogen> | |
</item> | |
<item> | |
<name>Option_R to Return</name> | |
<identifier>remap.optionRreturn2</identifier> | |
<autogen>__KeyToKey__ KeyCode::OPTION_R, KeyCode::RETURN</autogen> | |
</item> | |
<item> | |
<name>Return to Option_R</name> | |
<appendix>(+ When you type Return only, send Escape)</appendix> | |
<identifier>remap.return2optionR_escape</identifier> | |
<autogen>__KeyOverlaidModifier__ KeyCode::RETURN, KeyCode::OPTION_R, KeyCode::ESCAPE</autogen> | |
</item> | |
<item> | |
<name>Fn+Return to Option_R</name> | |
<identifier>remap.fnReturn2optionR</identifier> | |
<autogen>__KeyToKey__ KeyCode::RETURN, ModifierFlag::FN, KeyCode::OPTION_R</autogen> | |
</item> | |
<item> | |
<name>Return to Control_R+F4 (= Move focus to the active (or next) window)</name> | |
<identifier>remap.return2controlRf4</identifier> | |
<autogen>__KeyToKey__ KeyCode::RETURN, KeyCode::F4, ModifierFlag::CONTROL_R</autogen> | |
</item> | |
<item> | |
<name>Fn+Return to Shift_R+Insert</name> | |
<identifier>remap.fnReturn2shiftRinsert</identifier> | |
<autogen>__KeyToKey__ KeyCode::RETURN, ModifierFlag::FN, KeyCode::PC_INSERT, ModifierFlag::SHIFT_R</autogen> | |
</item> | |
</item> | |
</root> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment