Last active
August 29, 2015 14:23
-
-
Save heavywatal/cd39924a5870642ffc1a to your computer and use it in GitHub Desktop.
Karabiner private.xml for Emacs keybindings on RStudio
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> | |
<appdef> | |
<appname>RStudio</appname> | |
<equal>org.rstudio.RStudio</equal> | |
</appdef> | |
<item> | |
<name>RStudio</name> | |
<list> | |
<item> | |
<name>Ctrl+P to Up-Arrow</name> | |
<identifier>private.RStdio_control_p_up_arrow</identifier> | |
<only>RStudio</only> | |
<autogen>--KeyToKey-- KeyCode::P, ModifierFlag::CONTROL_L, KeyCode::CURSOR_UP</autogen> | |
</item> | |
<item> | |
<name>Ctrl+N to Down-Arrow</name> | |
<identifier>private.RStdio_control_p_down_arrow</identifier> | |
<only>RStudio</only> | |
<autogen>--KeyToKey-- KeyCode::N, ModifierFlag::CONTROL_L, KeyCode::CURSOR_DOWN</autogen> | |
</item> | |
<item> | |
<name>Ctrl+I to TAB</name> | |
<identifier>private.RStdio_control_i_tab</identifier> | |
<only>RStudio</only> | |
<autogen>--KeyToKey-- KeyCode::I, ModifierFlag::CONTROL_L, KeyCode::TAB</autogen> | |
</item> | |
<item> | |
<name>Ctrl+W to DELETE</name> | |
<identifier>private.RStdio_control_w</identifier> | |
<only>RStudio</only> | |
<autogen>--KeyToKey-- KeyCode::W, ModifierFlag::CONTROL_L, KeyCode::DELETE</autogen> | |
</item> | |
<item> | |
<name>Ctrl+TAB to View Next Tab</name> | |
<identifier>private.RStdio_control_tab</identifier> | |
<only>RStudio</only> | |
<autogen>--KeyToKey-- KeyCode::TAB, ModifierFlag::CONTROL_L | ModifierFlag::NONE, KeyCode::F12, ModifierFlag::CONTROL_L</autogen> | |
</item> | |
<item> | |
<name>Ctrl+Shift_L+TAB to View Previous Tab</name> | |
<identifier>private.RStdio_control_shift_l_tab</identifier> | |
<only>RStudio</only> | |
<autogen>--KeyToKey-- KeyCode::TAB, ModifierFlag::CONTROL_L | ModifierFlag::SHIFT_L, KeyCode::F11, ModifierFlag::CONTROL_L</autogen> | |
</item> | |
<item> | |
<name>Ctrl+Shift_R+TAB to View Previous Tab</name> | |
<identifier>private.RStdio_control_shift_r_tab</identifier> | |
<only>RStudio</only> | |
<autogen>--KeyToKey-- KeyCode::TAB, ModifierFlag::CONTROL_L | ModifierFlag::SHIFT_R, KeyCode::F11, ModifierFlag::CONTROL_L</autogen> | |
</item> | |
</list> | |
</item> | |
</root> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment