Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
900 lines (848 sloc) 30.3 KB
<?xml version="1.0"?>
<root>
<!-- Private Configuration for KeyRemap4MacBook -->
<!-- link to ~/Library/Application Support/KeyRemap4MacBook/private.xml -->
<!--
private.xml Reference Manual
http://pqrs.org/macosx/keyremap4macbook/xml.html
/Library/org.pqrs/KeyRemap4MacBook/prefpane/checkbox.xml
/Library/org.pqrs/KeyRemap4MacBook/app/KeyRemap4MacBook.app/Contents/Resources/appdef.xml
-->
<!-- specific configurations first, generic ones later -->
<!-- notsave.private.*_core items work as the second stroke key maps for 2-stroke key definitions -->
<!-- ============================================================= -->
<!-- Application Definitions -->
<!-- ============================================================= -->
<appdef>
<appname>VMWARE_SINGLE</appname>
<equal>com.vmware.fusion</equal>
</appdef>
<appdef>
<appname>JEDIT</appname>
<equal>org.gjt.sp.jedit</equal>
</appdef>
<appdef>
<appname>MI</appname>
<equal>net.mimikaki.mi</equal>
</appdef>
<appdef>
<appname>EMACS</appname>
<equal>org.gnu.Emacs</equal>
</appdef>
<!-- ============================================================= -->
<!-- Chrome -->
<!-- ============================================================= -->
<item>
<name>Chrome Option V Core</name>
<identifier vk_config="true">notsave.private.chrome_option_v_core</identifier>
<only>GOOGLE_CHROME</only>
<autogen>--KeyToKey--
KeyCode::V, VK_OPTION | ModifierFlag::NONE,
KeyCode::VK_CONFIG_FORCE_OFF_notsave_private_chrome_option_v_core
</autogen>
<autogen>--KeyToKey--
KeyCode::R, VK_OPTION | ModifierFlag::NONE,
KeyCode::R, VK_COMMAND | ModifierFlag::NONE,
KeyCode::VK_CONFIG_FORCE_OFF_notsave_private_chrome_option_v_core
</autogen>
<autogen>--KeyToKey--
KeyCode::O, VK_OPTION | ModifierFlag::NONE,
KeyCode::U, VK_OPTION | VK_COMMAND | ModifierFlag::NONE,
KeyCode::VK_CONFIG_FORCE_OFF_notsave_private_chrome_option_v_core
</autogen>
</item>
<item>
<name>Chrome Option G Core</name>
<identifier vk_config="true">notsave.private.chrome_option_g_core</identifier>
<only>GOOGLE_CHROME</only>
<autogen>--KeyToKey--
KeyCode::G, VK_OPTION | ModifierFlag::NONE,
KeyCode::VK_CONFIG_FORCE_OFF_notsave_private_chrome_option_g_core
</autogen>
<!-- History Back -->
<autogen>--KeyToKey--
KeyCode::B, VK_OPTION | ModifierFlag::NONE,
KeyCode::BRACKET_LEFT, VK_COMMAND | ModifierFlag::NONE,
KeyCode::VK_CONFIG_FORCE_OFF_notsave_private_chrome_option_g_core
</autogen>
<!-- History Forward -->
<autogen>--KeyToKey--
KeyCode::F, VK_OPTION | ModifierFlag::NONE,
KeyCode::BRACKET_RIGHT, VK_COMMAND | ModifierFlag::NONE,
KeyCode::VK_CONFIG_FORCE_OFF_notsave_private_chrome_option_g_core
</autogen>
</item>
<item>
<name>Chrome</name>
<identifier>private.chrome</identifier>
<only>GOOGLE_CHROME</only>
<config_not>notsave.private.control_q_core</config_not>
<autogen>--KeyToKey--
KeyCode::V, VK_OPTION | ModifierFlag::NONE,
KeyCode::VK_CONFIG_FORCE_ON_notsave_private_chrome_option_v_core
</autogen>
<autogen>--KeyToKey--
KeyCode::G, VK_OPTION | ModifierFlag::NONE,
KeyCode::VK_CONFIG_FORCE_ON_notsave_private_chrome_option_g_core
</autogen>
<autogen>--KeyToKey--
KeyCode::N, VK_CONTROL | ModifierFlag::NONE,
KeyCode::ENTER
</autogen>
<autogen>--KeyToKey--
KeyCode::P, VK_CONTROL | ModifierFlag::NONE,
KeyCode::ENTER, VK_SHIFT | ModifierFlag::NONE
</autogen>
<autogen>--KeyToKey--
KeyCode::T, VK_CONTROL | ModifierFlag::NONE,
KeyCode::T, VK_COMMAND | ModifierFlag::NONE
</autogen>
</item>
<!-- ============================================================= -->
<!-- Terminal -->
<!-- ============================================================= -->
<item>
<name>Terminal</name>
<identifier>private.terminal</identifier>
<only>TERMINAL</only>
<!-- Screen Escape -->
<autogen>--KeyToKey--
KeyCode::SLASH, VK_CONTROL | ModifierFlag::NONE,
KeyCode::MINUS, VK_CONTROL | ModifierFlag::NONE
</autogen>
<autogen>--PointingButtonToKey--
PointingButton::LEFT, VK_CONTROL | ModifierFlag::NONE,
KeyCode::C, ModifierFlag::COMMAND_L
</autogen>
<autogen>--PointingButtonToKey--
PointingButton::RIGHT, VK_CONTROL | ModifierFlag::NONE,
KeyCode::C, ModifierFlag::COMMAND_L
</autogen>
<autogen>--PointingButtonToKey--
PointingButton::RIGHT, ModifierFlag::NONE,
KeyCode::V, ModifierFlag::COMMAND_L
</autogen>
</item>
<!-- ============================================================= -->
<!-- MI -->
<!-- ============================================================= -->
<item>
<name>MI</name>
<identifier>private.mi</identifier>
<only>MI</only>
<autogen>--KeyToKey--
KeyCode::N, VK_CONTROL | ModifierFlag::NONE,
KeyCode::G, VK_COMMAND | ModifierFlag::NONE
</autogen>
<autogen>--KeyToKey--
KeyCode::P, VK_CONTROL | ModifierFlag::NONE,
KeyCode::G, VK_COMMAND | VK_SHIFT | ModifierFlag::NONE
</autogen>
</item>
<!-- ============================================================= -->
<!-- Minimize and Maximize Screen -->
<!-- ============================================================= -->
<item>
<name>Minimize and Maximize Screen</name>
<identifier>private.minmax</identifier>
<!-- Full Screen -->
<block>
<only>TERMINAL</only>
<autogen>--KeyToKey--
KeyCode::X, VK_CONTROL | VK_OPTION | ModifierFlag::NONE,
KeyCode::F, VK_COMMAND | VK_OPTION | ModifierFlag::NONE
</autogen>
</block>
<block>
<not>TERMINAL, VIRTUALMACHINE, VMWARE_SINGLE, EMACS</not>
<autogen>--KeyToKey--
KeyCode::X, VK_CONTROL | VK_OPTION | ModifierFlag::NONE,
KeyCode::F, VK_COMMAND | VK_CONTROL | ModifierFlag::NONE
</autogen>
</block>
<!-- Minimize -->
<autogen>--KeyToKey--
KeyCode::N, VK_CONTROL | VK_OPTION | ModifierFlag::NONE,
KeyCode::M, VK_COMMAND | ModifierFlag::NONE
</autogen>
</item>
<!-- ============================================================= -->
<!-- Backquote / Tilde -->
<!-- ============================================================= -->
<item>
<name>EISUU to Backquote</name>
<identifier>private.eisuu2bq</identifier>
<!-- IME On/Off -->
<block>
<only>VIRTUALMACHINE, VMWARE_SINGLE</only>
<autogen>--KeyToKey--
KeyCode::JIS_EISUU, VK_OPTION | ModifierFlag::NONE,
KeyCode::BACKQUOTE, VK_OPTION | ModifierFlag::NONE
</autogen>
</block>
<block>
<not>VIRTUALMACHINE, VMWARE_SINGLE</not>
<autogen>--KeyToKey--
KeyCode::JIS_EISUU, VK_OPTION | ModifierFlag::NONE,
KeyCode::SPACE, VK_COMMAND | ModifierFlag::NONE
</autogen>
</block>
<autogen>--KeyToKey--
KeyCode::JIS_EISUU, ModifierFlag::NONE,
KeyCode::BACKQUOTE, ModifierFlag::NONE
</autogen>
<autogen>--KeyToKey--
KeyCode::JIS_EISUU, VK_SHIFT | ModifierFlag::NONE,
KeyCode::BACKQUOTE, VK_SHIFT | ModifierFlag::NONE
</autogen>
</item>
<!-- KeyCode::F1, VK_SHIFT | ModifierFlag::NONE -->
<!-- ============================================================= -->
<!-- Previsous Window -->
<!-- ============================================================= -->
<item>
<name>Previous Window</name>
<identifier>private.prevwin</identifier>
<not>VMWARE_SINGLE</not>
<autogen>--KeyToKey--
KeyCode::TAB, VK_OPTION | ModifierFlag::NONE,
KeyCode::TAB, VK_COMMAND | ModifierFlag::NONE
</autogen>
</item>
<!-- ============================================================= -->
<!-- Option F -->
<!-- ============================================================= -->
<item>
<name>Option F Core</name>
<identifier vk_config="true">notsave.private.option_f_core</identifier>
<not>TERMINAL, VIRTUALMACHINE, VMWARE_SINGLE, EMACS</not>
<autogen>--KeyToKey--
KeyCode::F, VK_OPTION | ModifierFlag::NONE,
KeyCode::VK_CONFIG_FORCE_OFF_notsave_private_option_f_core
</autogen>
<autogen>--KeyToKey--
KeyCode::ESCAPE, ModifierFlag::NONE,
KeyCode::VK_CONFIG_FORCE_OFF_notsave_private_option_f_core
</autogen>
<!-- Save -->
<autogen>--KeyToKey--
KeyCode::S, VK_OPTION | ModifierFlag::NONE,
KeyCode::S, ModifierFlag::COMMAND_L | ModifierFlag::NONE,
KeyCode::VK_CONFIG_FORCE_OFF_notsave_private_option_f_core
</autogen>
<!-- Save as -->
<autogen>--KeyToKey--
KeyCode::A, VK_OPTION | ModifierFlag::NONE,
KeyCode::A, ModifierFlag::COMMAND_L | ModifierFlag::NONE,
KeyCode::VK_CONFIG_FORCE_OFF_notsave_private_option_f_core
</autogen>
<!-- Open -->
<autogen>--KeyToKey--
KeyCode::O, VK_OPTION | ModifierFlag::NONE,
KeyCode::O, ModifierFlag::COMMAND_L | ModifierFlag::NONE,
KeyCode::VK_CONFIG_FORCE_OFF_notsave_private_option_f_core
</autogen>
<!-- New -->
<autogen>--KeyToKey--
KeyCode::N, VK_OPTION | ModifierFlag::NONE,
KeyCode::N, ModifierFlag::COMMAND_L | ModifierFlag::NONE,
KeyCode::VK_CONFIG_FORCE_OFF_notsave_private_option_f_core
</autogen>
<!-- Close -->
<autogen>--KeyToKey--
KeyCode::C, VK_OPTION | ModifierFlag::NONE,
KeyCode::W, ModifierFlag::COMMAND_L | ModifierFlag::NONE,
KeyCode::VK_CONFIG_FORCE_OFF_notsave_private_option_f_core
</autogen>
<!-- Close -->
<autogen>--KeyToKey--
KeyCode::C, ModifierFlag::NONE,
KeyCode::W, ModifierFlag::COMMAND_L | ModifierFlag::NONE,
KeyCode::VK_CONFIG_FORCE_OFF_notsave_private_option_f_core
</autogen>
<!-- Quit -->
<autogen>--KeyToKey--
KeyCode::Q, VK_OPTION | ModifierFlag::NONE,
KeyCode::Q, ModifierFlag::COMMAND_L | ModifierFlag::NONE,
KeyCode::VK_CONFIG_FORCE_OFF_notsave_private_option_f_core
</autogen>
</item>
<item>
<name>Option F</name>
<identifier>private.option_f</identifier>
<not>TERMINAL, VIRTUALMACHINE, VMWARE_SINGLE, EMACS</not>
<autogen>--KeyToKey--
KeyCode::F, VK_OPTION | ModifierFlag::NONE,
KeyCode::VK_CONFIG_FORCE_ON_notsave_private_option_f_core
</autogen>
</item>
<!-- ============================================================= -->
<!-- Option S -->
<!-- ============================================================= -->
<item>
<name>Option S Core</name>
<identifier vk_config="true">notsave.private.option_s_core</identifier>
<autogen>--KeyToKey--
KeyCode::S, VK_OPTION | ModifierFlag::NONE,
KeyCode::VK_CONFIG_FORCE_OFF_notsave_private_option_s_core
</autogen>
<autogen>--KeyToKey--
KeyCode::ESCAPE, ModifierFlag::NONE,
KeyCode::VK_CONFIG_FORCE_OFF_notsave_private_option_s_core
</autogen>
<autogen>--KeyToKey--
KeyCode::F, VK_OPTION | ModifierFlag::NONE,
KeyCode::F, VK_COMMAND | ModifierFlag::NONE,
KeyCode::VK_CONFIG_FORCE_OFF_notsave_private_option_s_core
</autogen>
<autogen>--KeyToKey--
KeyCode::R, VK_OPTION | ModifierFlag::NONE,
KeyCode::F, VK_COMMAND | ModifierFlag::NONE,
KeyCode::VK_CONFIG_FORCE_OFF_notsave_private_option_s_core
</autogen>
</item>
<item>
<name>Option S</name>
<identifier>private.option_s</identifier>
<not>TERMINAL, VIRTUALMACHINE, VMWARE_SINGLE, EMACS</not>
<autogen>--KeyToKey--
KeyCode::S, VK_OPTION | ModifierFlag::NONE,
KeyCode::VK_CONFIG_FORCE_ON_notsave_private_option_s_core
</autogen>
</item>
<!-- ============================================================= -->
<!-- Option E -->
<!-- ============================================================= -->
<item>
<name>Option E Core</name>
<identifier vk_config="true">notsave.private.option_e_core</identifier>
<not>TERMINAL, VIRTUALMACHINE, VMWARE_SINGLE, EMACS</not>
<autogen>--KeyToKey--
KeyCode::E, VK_OPTION | ModifierFlag::NONE,
KeyCode::VK_CONFIG_FORCE_OFF_notsave_private_option_e_core
</autogen>
<autogen>--KeyToKey--
KeyCode::ESCAPE, ModifierFlag::NONE,
KeyCode::VK_CONFIG_FORCE_OFF_notsave_private_option_e_core
</autogen>
<!-- &Copy -->
<autogen>--KeyToKey--
KeyCode::C, VK_OPTION | ModifierFlag::NONE,
KeyCode::C, ModifierFlag::COMMAND_L,
KeyCode::VK_CONFIG_FORCE_OFF_notsave_private_option_e_core,
KeyCode::VK_CONFIG_FORCE_OFF_notsave_private_control_b_core,
KeyCode::VK_CONFIG_FORCE_OFF_notsave_private_control_b_q_core
</autogen>
<autogen>--KeyToKey--
KeyCode::C, ModifierFlag::NONE,
KeyCode::C, ModifierFlag::COMMAND_L,
KeyCode::VK_CONFIG_FORCE_OFF_notsave_private_option_e_core,
KeyCode::VK_CONFIG_FORCE_OFF_notsave_private_control_b_core,
KeyCode::VK_CONFIG_FORCE_OFF_notsave_private_control_b_q_core
</autogen>
<!-- Cu&t -->
<autogen>--KeyToKey--
KeyCode::T, VK_OPTION | ModifierFlag::NONE,
KeyCode::X, ModifierFlag::COMMAND_L,
KeyCode::VK_CONFIG_FORCE_OFF_notsave_private_option_e_core,
KeyCode::VK_CONFIG_FORCE_OFF_notsave_private_control_b_core,
KeyCode::VK_CONFIG_FORCE_OFF_notsave_private_control_b_q_core
</autogen>
<autogen>--KeyToKey--
KeyCode::T, ModifierFlag::NONE,
KeyCode::X, ModifierFlag::COMMAND_L,
KeyCode::VK_CONFIG_FORCE_OFF_notsave_private_option_e_core,
KeyCode::VK_CONFIG_FORCE_OFF_notsave_private_control_b_core,
KeyCode::VK_CONFIG_FORCE_OFF_notsave_private_control_b_q_core
</autogen>
<!-- &Paste -->
<autogen>--KeyToKey--
KeyCode::P, VK_OPTION | ModifierFlag::NONE,
KeyCode::V, ModifierFlag::COMMAND_L,
KeyCode::VK_CONFIG_FORCE_OFF_notsave_private_option_e_core,
KeyCode::VK_CONFIG_FORCE_OFF_notsave_private_control_b_core,
KeyCode::VK_CONFIG_FORCE_OFF_notsave_private_control_b_q_core
</autogen>
<autogen>--KeyToKey--
KeyCode::P, ModifierFlag::NONE,
KeyCode::V, ModifierFlag::COMMAND_L,
KeyCode::VK_CONFIG_FORCE_OFF_notsave_private_option_e_core,
KeyCode::VK_CONFIG_FORCE_OFF_notsave_private_control_b_core,
KeyCode::VK_CONFIG_FORCE_OFF_notsave_private_control_b_q_core
</autogen>
<!-- Undo -->
<autogen>--KeyToKey--
KeyCode::U, VK_OPTION | ModifierFlag::NONE,
KeyCode::Z, VK_COMMAND | ModifierFlag::NONE,
KeyCode::VK_CONFIG_FORCE_OFF_notsave_private_option_e_core
</autogen>
</item>
<item>
<name>Option E</name>
<identifier>private.option_e</identifier>
<not>TERMINAL, VIRTUALMACHINE, VMWARE_SINGLE, EMACS</not>
<autogen>--KeyToKey--
KeyCode::E, VK_OPTION | ModifierFlag::NONE,
KeyCode::VK_CONFIG_FORCE_ON_notsave_private_option_e_core
</autogen>
</item>
<!-- ============================================================= -->
<!-- Option M (for mi Macro?) -->
<!-- ============================================================= -->
<item>
<name>Option M Core</name>
<identifier vk_config="true">notsave.private.option_m_core</identifier>
<not>TERMINAL, VIRTUALMACHINE, VMWARE_SINGLE, EMACS</not>
<autogen>--KeyToKey--
KeyCode::M, VK_OPTION | ModifierFlag::NONE,
KeyCode::VK_CONFIG_FORCE_OFF_notsave_private_option_m_core
</autogen>
<autogen>--KeyToKey--
KeyCode::ESCAPE, ModifierFlag::NONE,
KeyCode::VK_CONFIG_FORCE_OFF_notsave_private_option_m_core
</autogen>
<!-- &Record -->
<autogen>--KeyToKey--
KeyCode::R, VK_OPTION | ModifierFlag::NONE,
KeyCode::M, VK_CONTROL | VK_SHIFT | ModifierFlag::NONE,
KeyCode::VK_CONFIG_FORCE_OFF_notsave_private_option_m_core
</autogen>
</item>
<item>
<name>Option M</name>
<identifier>private.option_m</identifier>
<not>TERMINAL, VIRTUALMACHINE, VMWARE_SINGLE, EMACS</not>
<autogen>--KeyToKey--
KeyCode::M, VK_OPTION | ModifierFlag::NONE,
KeyCode::VK_CONFIG_FORCE_ON_notsave_private_option_m_core
</autogen>
</item>
<!-- ============================================================= -->
<!-- Option W (for mi Window?) -->
<!-- ============================================================= -->
<item>
<name>Option W Core</name>
<identifier vk_config="true">notsave.private.option_w_core</identifier>
<not>TERMINAL, VIRTUALMACHINE, VMWARE_SINGLE, EMACS</not>
<autogen>--KeyToKey--
KeyCode::W, VK_OPTION | ModifierFlag::NONE,
KeyCode::VK_CONFIG_FORCE_OFF_notsave_private_option_w_core
</autogen>
<autogen>--KeyToKey--
KeyCode::ESCAPE, ModifierFlag::NONE,
KeyCode::VK_CONFIG_FORCE_OFF_notsave_private_option_w_core
</autogen>
<!-- &Dual &Duplicate -->
<autogen>--KeyToKey--
KeyCode::D, VK_OPTION | ModifierFlag::NONE,
KeyCode::O, VK_CONTROL | VK_SHIFT | ModifierFlag::NONE,
KeyCode::VK_CONFIG_FORCE_OFF_notsave_private_option_w_core
</autogen>
</item>
<item>
<name>Option W</name>
<identifier>private.option_w</identifier>
<not>TERMINAL, VIRTUALMACHINE, VMWARE_SINGLE, EMACS</not>
<autogen>--KeyToKey--
KeyCode::W, VK_OPTION | ModifierFlag::NONE,
KeyCode::VK_CONFIG_FORCE_ON_notsave_private_option_w_core
</autogen>
</item>
<!-- ============================================================= -->
<!-- Diamond Cursor -->
<!-- ============================================================= -->
<item>
<name>Control B Core</name>
<identifier vk_config="true">notsave.private.control_b_core</identifier>
<not>TERMINAL, VIRTUALMACHINE, VMWARE_SINGLE, JEDIT, EMACS</not>
<autogen>--KeyToKey--
KeyCode::G, VK_CONTROL | ModifierFlag::NONE,
KeyCode::FORWARD_DELETE,
KeyCode::VK_CONFIG_FORCE_OFF_notsave_private_control_b_core
</autogen>
<autogen>--KeyToKey--
KeyCode::H, VK_CONTROL | ModifierFlag::NONE,
KeyCode::DELETE,
KeyCode::VK_CONFIG_FORCE_OFF_notsave_private_control_b_core
</autogen>
<autogen>--KeyToKey--
KeyCode::M, VK_CONTROL | ModifierFlag::NONE,
KeyCode::ENTER,
KeyCode::VK_CONFIG_FORCE_OFF_notsave_private_control_b_core
</autogen>
<autogen>--KeyToKey--
KeyCode::B, VK_CONTROL | ModifierFlag::NONE,
KeyCode::VK_CONFIG_FORCE_OFF_notsave_private_control_b_core
</autogen>
<autogen>--KeyToKey--
KeyCode::ESCAPE, ModifierFlag::NONE,
KeyCode::ESCAPE, ModifierFlag::NONE,
KeyCode::VK_CONFIG_FORCE_OFF_notsave_private_control_b_core
</autogen>
<autogen>--KeyToKey--
KeyCode::ESCAPE, ModifierFlag::NONE,
KeyCode::VK_CONFIG_FORCE_OFF_notsave_private_control_b_core
</autogen>
<autogen>--KeyToKey--
KeyCode::A, VK_CONTROL | ModifierFlag::NONE,
KeyCode::CURSOR_LEFT, VK_SHIFT | VK_OPTION | ModifierFlag::NONE
</autogen>
<autogen>--KeyToKey--
KeyCode::S, VK_CONTROL | ModifierFlag::NONE,
KeyCode::CURSOR_LEFT, VK_SHIFT | ModifierFlag::NONE
</autogen>
<autogen>--KeyToKey--
KeyCode::D, VK_CONTROL | ModifierFlag::NONE,
KeyCode::CURSOR_RIGHT, VK_SHIFT | ModifierFlag::NONE
</autogen>
<autogen>--KeyToKey--
KeyCode::F, VK_CONTROL | ModifierFlag::NONE,
KeyCode::CURSOR_RIGHT, VK_SHIFT | VK_OPTION | ModifierFlag::NONE
</autogen>
<autogen>--KeyToKey--
KeyCode::E, VK_CONTROL | ModifierFlag::NONE,
KeyCode::CURSOR_UP, VK_SHIFT | ModifierFlag::NONE
</autogen>
<autogen>--KeyToKey--
KeyCode::X, VK_CONTROL | ModifierFlag::NONE,
KeyCode::CURSOR_DOWN, VK_SHIFT | ModifierFlag::NONE
</autogen>
<autogen>--KeyToKey--
KeyCode::R, VK_CONTROL | ModifierFlag::NONE,
KeyCode::PAGEUP, VK_SHIFT | ModifierFlag::NONE
</autogen>
<autogen>--KeyToKey--
KeyCode::C, VK_CONTROL | ModifierFlag::NONE,
KeyCode::PAGEDOWN, VK_SHIFT | ModifierFlag::NONE
</autogen>
<autogen>--KeyToKey--
KeyCode::Q, VK_CONTROL | ModifierFlag::NONE,
KeyCode::VK_CONFIG_FORCE_OFF_notsave_private_control_b_core,
KeyCode::VK_CONFIG_FORCE_ON_notsave_private_control_b_q_core
</autogen>
</item>
<item>
<name>Control Q Core</name>
<identifier vk_config="true">notsave.private.control_q_core</identifier>
<not>TERMINAL, VIRTUALMACHINE, VMWARE_SINGLE, JEDIT, EMACS</not>
<autogen>--KeyToKey--
KeyCode::Q, VK_CONTROL | ModifierFlag::NONE,
KeyCode::VK_CONFIG_FORCE_OFF_notsave_private_control_q_core
</autogen>
<autogen>--KeyToKey--
KeyCode::ESCAPE, ModifierFlag::NONE,
KeyCode::VK_CONFIG_FORCE_OFF_notsave_private_control_q_core
</autogen>
<autogen>--KeyToKey--
KeyCode::A, VK_CONTROL | ModifierFlag::NONE,
KeyCode::CURSOR_LEFT, ModifierFlag::COMMAND_L,
KeyCode::VK_CONFIG_FORCE_OFF_notsave_private_control_q_core
</autogen>
<autogen>--KeyToKey--
KeyCode::F, VK_CONTROL | ModifierFlag::NONE,
KeyCode::CURSOR_RIGHT, ModifierFlag::COMMAND_L,
KeyCode::VK_CONFIG_FORCE_OFF_notsave_private_control_q_core
</autogen>
<block>
<only>WORD</only>
<autogen>--KeyToKey--
KeyCode::R, VK_CONTROL | ModifierFlag::NONE,
KeyCode::CURSOR_LEFT, VK_COMMAND | ModifierFlag::FN | ModifierFlag::NONE,
KeyCode::VK_CONFIG_FORCE_OFF_notsave_private_control_q_core
</autogen>
<autogen>--KeyToKey--
KeyCode::C, VK_CONTROL | ModifierFlag::NONE,
KeyCode::CURSOR_RIGHT, VK_COMMAND | ModifierFlag::FN | ModifierFlag::NONE,
KeyCode::VK_CONFIG_FORCE_OFF_notsave_private_control_q_core
</autogen>
</block>
<block>
<only>MI</only>
<autogen>--KeyToKey--
KeyCode::R, VK_CONTROL | ModifierFlag::NONE,
KeyCode::CURSOR_UP, VK_COMMAND | ModifierFlag::NONE,
KeyCode::VK_CONFIG_FORCE_OFF_notsave_private_control_q_core
</autogen>
<autogen>--KeyToKey--
KeyCode::C, VK_CONTROL | ModifierFlag::NONE,
KeyCode::CURSOR_DOWN, VK_COMMAND | ModifierFlag::NONE,
KeyCode::VK_CONFIG_FORCE_OFF_notsave_private_control_q_core
</autogen>
</block>
<autogen>--KeyToKey--
KeyCode::R, VK_CONTROL | ModifierFlag::NONE,
KeyCode::CURSOR_LEFT, ModifierFlag::FN | ModifierFlag::NONE,
KeyCode::VK_CONFIG_FORCE_OFF_notsave_private_control_q_core
</autogen>
<autogen>--KeyToKey--
KeyCode::C, VK_CONTROL | ModifierFlag::NONE,
KeyCode::CURSOR_RIGHT, ModifierFlag::FN | ModifierFlag::NONE,
KeyCode::VK_CONFIG_FORCE_OFF_notsave_private_control_q_core
</autogen>
<block>
<only>MI</only>
<autogen>--KeyToKey--
KeyCode::T, VK_CONTROL | ModifierFlag::NONE,
KeyCode::CURSOR_LEFT, VK_COMMAND | VK_SHIFT, KeyCode::DELETE,
KeyCode::VK_CONFIG_FORCE_OFF_notsave_private_control_q_core
</autogen>
<autogen>--KeyToKey--
KeyCode::Y, VK_CONTROL | ModifierFlag::NONE,
KeyCode::CURSOR_RIGHT, VK_COMMAND | VK_SHIFT, KeyCode::DELETE,
KeyCode::VK_CONFIG_FORCE_OFF_notsave_private_control_q_core
</autogen>
</block>
<autogen>--KeyToKey--
KeyCode::T, VK_CONTROL | ModifierFlag::NONE,
KeyCode::DELETE, ModifierFlag::COMMAND_L,
KeyCode::VK_CONFIG_FORCE_OFF_notsave_private_control_q_core
</autogen>
<autogen>--KeyToKey--
KeyCode::Y, VK_CONTROL | ModifierFlag::NONE,
KeyCode::CURSOR_RIGHT, VK_CONTROL | VK_SHIFT, KeyCode::DELETE,
KeyCode::VK_CONFIG_FORCE_OFF_notsave_private_control_q_core
</autogen>
</item>
<item>
<name>Control B Q Core</name>
<identifier vk_config="true">notsave.private.control_b_q_core</identifier>
<not>TERMINAL, VIRTUALMACHINE, VMWARE_SINGLE, JEDIT, EMACS</not>
<autogen>--KeyToKey--
KeyCode::Q, VK_CONTROL | ModifierFlag::NONE,
KeyCode::VK_CONFIG_FORCE_OFF_notsave_private_control_b_q_core,
KeyCode::VK_CONFIG_FORCE_ON_notsave_private_control_b_core
</autogen>
<autogen>--KeyToKey--
KeyCode::ESCAPE, VK_CONTROL | ModifierFlag::NONE,
KeyCode::VK_CONFIG_FORCE_OFF_notsave_private_control_b_q_core
</autogen>
<autogen>--KeyToKey--
KeyCode::B, VK_CONTROL | ModifierFlag::NONE,
KeyCode::VK_CONFIG_FORCE_OFF_notsave_private_control_b_q_core,
KeyCode::VK_CONFIG_FORCE_ON_notsave_private_control_b_core
</autogen>
<autogen>--KeyToKey--
KeyCode::A, VK_CONTROL | ModifierFlag::NONE,
KeyCode::CURSOR_LEFT, VK_SHIFT | VK_COMMAND | ModifierFlag::NONE,
KeyCode::VK_CONFIG_FORCE_OFF_notsave_private_control_b_q_core,
KeyCode::VK_CONFIG_FORCE_ON_notsave_private_control_b_core
</autogen>
<autogen>--KeyToKey--
KeyCode::F, VK_CONTROL | ModifierFlag::NONE,
KeyCode::CURSOR_RIGHT, VK_SHIFT | VK_COMMAND | ModifierFlag::NONE,
KeyCode::VK_CONFIG_FORCE_OFF_notsave_private_control_b_q_core,
KeyCode::VK_CONFIG_FORCE_ON_notsave_private_control_b_core
</autogen>
<autogen>--KeyToKey--
KeyCode::R, VK_CONTROL | ModifierFlag::NONE,
KeyCode::HOME, VK_SHIFT | ModifierFlag::NONE,
KeyCode::VK_CONFIG_FORCE_OFF_notsave_private_control_b_q_core,
KeyCode::VK_CONFIG_FORCE_ON_notsave_private_control_b_core
</autogen>
<autogen>--KeyToKey--
KeyCode::C, VK_CONTROL | ModifierFlag::NONE,
KeyCode::END, VK_SHIFT | ModifierFlag::NONE,
KeyCode::VK_CONFIG_FORCE_OFF_notsave_private_control_b_q_core,
KeyCode::VK_CONFIG_FORCE_ON_notsave_private_control_b_core
</autogen>
</item>
<item>
<name>Diamond Cursor</name>
<identifier>private.diamond_cursor</identifier>
<not>TERMINAL, VIRTUALMACHINE, VMWARE_SINGLE, JEDIT, EMACS</not>
<autogen>--KeyToKey--
KeyCode::G, VK_CONTROL | ModifierFlag::NONE,
KeyCode::FORWARD_DELETE
</autogen>
<autogen>--KeyToKey--
KeyCode::H, VK_CONTROL | ModifierFlag::NONE,
KeyCode::DELETE
</autogen>
<block>
<not>MI</not>
<autogen>--KeyToKey--
KeyCode::M, VK_CONTROL | ModifierFlag::NONE,
KeyCode::ENTER
</autogen>
</block>
<autogen>--KeyToKey--
KeyCode::V, VK_CONTROL | ModifierFlag::NONE,
KeyCode::V, VK_COMMAND,
KeyCode::VK_CONFIG_FORCE_OFF_notsave_private_control_b_core,
KeyCode::VK_CONFIG_FORCE_OFF_notsave_private_control_b_q_core
</autogen>
<autogen>--KeyToKey--
KeyCode::A, VK_CONTROL | ModifierFlag::NONE,
KeyCode::CURSOR_LEFT, VK_OPTION | ModifierFlag::NONE
</autogen>
<autogen>--KeyToKey--
KeyCode::S, VK_CONTROL | ModifierFlag::NONE,
KeyCode::CURSOR_LEFT
</autogen>
<autogen>--KeyToKey--
KeyCode::D, VK_CONTROL | ModifierFlag::NONE,
KeyCode::CURSOR_RIGHT
</autogen>
<autogen>--KeyToKey--
KeyCode::F, VK_CONTROL | ModifierFlag::NONE,
KeyCode::CURSOR_RIGHT, VK_OPTION | ModifierFlag::NONE
</autogen>
<autogen>--KeyToKey--
KeyCode::E, VK_CONTROL | ModifierFlag::NONE,
KeyCode::CURSOR_UP
</autogen>
<autogen>--KeyToKey--
KeyCode::X, VK_CONTROL | ModifierFlag::NONE,
KeyCode::CURSOR_DOWN
</autogen>
<block>
<only>XCODE</only>
<autogen>--KeyToKey--
KeyCode::R, VK_CONTROL | ModifierFlag::NONE,
KeyCode::CURSOR_UP, VK_OPTION | ModifierFlag::FN | ModifierFlag::NONE
</autogen>
</block>
<autogen>--KeyToKey--
KeyCode::R, VK_CONTROL | ModifierFlag::NONE,
KeyCode::CURSOR_UP, ModifierFlag::FN | ModifierFlag::NONE
</autogen>
<block>
<only>XCODE</only>
<autogen>--KeyToKey--
KeyCode::C, VK_CONTROL | ModifierFlag::NONE,
KeyCode::CURSOR_DOWN, VK_OPTION | ModifierFlag::FN | ModifierFlag::NONE
</autogen>
</block>
<autogen>--KeyToKey--
KeyCode::C, VK_CONTROL | ModifierFlag::NONE,
KeyCode::CURSOR_DOWN, ModifierFlag::FN | ModifierFlag::NONE
</autogen>
<block>
<not>MI</not>
<autogen>--KeyToKey--
KeyCode::W, VK_CONTROL | ModifierFlag::NONE,
KeyCode::CURSOR_UP
</autogen>
</block>
<block>
<not>MI</not>
<autogen>--KeyToKey--
KeyCode::Z, VK_CONTROL | ModifierFlag::NONE,
KeyCode::CURSOR_DOWN
</autogen>
</block>
<!-- Undo -->
<autogen>--KeyToKey--
KeyCode::U, VK_CONTROL | ModifierFlag::NONE,
KeyCode::Z, VK_COMMAND | ModifierFlag::NONE
</autogen>
<autogen>--KeyToKey--
KeyCode::B, VK_CONTROL | ModifierFlag::NONE,
KeyCode::VK_CONFIG_FORCE_ON_notsave_private_control_b_core
</autogen>
<autogen>--KeyToKey--
KeyCode::Q, VK_CONTROL | ModifierFlag::NONE,
KeyCode::VK_CONFIG_FORCE_ON_notsave_private_control_q_core
</autogen>
<!-- Next/Previsou Tab -->
<block>
<only>EXCEL</only>
<autogen>--KeyToKey--
KeyCode::TAB, VK_CONTROL | ModifierFlag::NONE,
KeyCode::PAGEDOWN, VK_CONTROL | ModifierFlag::NONE
</autogen>
<autogen>--KeyToKey--
KeyCode::TAB, VK_CONTROL | VK_SHIFT | ModifierFlag::NONE,
KeyCode::PAGEUP, VK_CONTROL | ModifierFlag::NONE
</autogen>
<autogen>--KeyToKey--
KeyCode::TAB, VK_CONTROL | VK_OPTION | ModifierFlag::NONE,
KeyCode::PAGEUP, VK_CONTROL | ModifierFlag::NONE
</autogen>
</block>
<block>
<only>SKYPE</only>
<autogen>--KeyToKey--
KeyCode::TAB, VK_CONTROL | ModifierFlag::NONE,
KeyCode::CURSOR_RIGHT, VK_COMMAND | VK_OPTION| ModifierFlag::NONE
</autogen>
<autogen>--KeyToKey--
KeyCode::TAB, VK_CONTROL | VK_SHIFT | ModifierFlag::NONE,
KeyCode::CURSOR_LEFT, VK_COMMAND | VK_OPTION| ModifierFlag::NONE
</autogen>
<autogen>--KeyToKey--
KeyCode::TAB, VK_CONTROL | VK_OPTION | ModifierFlag::NONE,
KeyCode::CURSOR_LEFT, VK_COMMAND | VK_OPTION| ModifierFlag::NONE
</autogen>
</block>
<block>
<only>MI</only>
<autogen>--KeyToKey--
KeyCode::TAB, VK_CONTROL | ModifierFlag::NONE,
KeyCode::BRACKET_RIGHT, VK_COMMAND | VK_SHIFT | ModifierFlag::NONE
</autogen>
<autogen>--KeyToKey--
KeyCode::TAB, VK_CONTROL | VK_SHIFT | ModifierFlag::NONE,
KeyCode::BRACKET_LEFT, VK_COMMAND | VK_SHIFT | ModifierFlag::NONE
</autogen>
<autogen>--KeyToKey--
KeyCode::TAB, VK_CONTROL | VK_OPTION | ModifierFlag::NONE,
KeyCode::BRACKET_LEFT, VK_COMMAND | VK_SHIFT | ModifierFlag::NONE
</autogen>
</block>
<!-- Alternative for Shift-Control-TAB -->
<autogen>--KeyToKey--
KeyCode::TAB, ModifierFlag::CONTROL_L | ModifierFlag::OPTION_L,
KeyCode::TAB, ModifierFlag::CONTROL_L | ModifierFlag::SHIFT_L
</autogen>
</item>
<!-- ============================================================= -->
<!-- Option Space -->
<!-- ============================================================= -->
<item>
<name>Option Space Core</name>
<identifier vk_config="true">notsave.private.option_space_core</identifier>
<autogen>--KeyToKey--
KeyCode::SPACE, VK_OPTION | ModifierFlag::NONE,
KeyCode::VK_CONFIG_FORCE_OFF_notsave_private_option_space_core
</autogen>
<autogen>--KeyToKey--
KeyCode::ESCAPE, ModifierFlag::NONE,
KeyCode::VK_CONFIG_FORCE_OFF_notsave_private_option_space_core
</autogen>
<block>
<only>GOOGLE_CHROME</only>
<autogen>--KeyToKey--
KeyCode::C, VK_OPTION | ModifierFlag::NONE,
KeyCode::W, VK_SHIFT | VK_COMMAND | ModifierFlag::NONE,
KeyCode::VK_CONFIG_FORCE_OFF_notsave_private_option_space_core
</autogen>
</block>
<autogen>--KeyToKey--
KeyCode::C, VK_OPTION | ModifierFlag::NONE,
KeyCode::W, VK_COMMAND | ModifierFlag::NONE,
KeyCode::VK_CONFIG_FORCE_OFF_notsave_private_option_space_core
</autogen>
</item>
<item>
<name>Option Space</name>
<identifier>private.option_space</identifier>
<not>VIRTUALMACHINE, VMWARE_SINGLE, JEDIT</not>
<autogen>--KeyToKey--
KeyCode::SPACE, VK_OPTION | ModifierFlag::NONE,
KeyCode::VK_CONFIG_FORCE_ON_notsave_private_option_space_core
</autogen>
</item>
<item>
<name>Function Keys</name>
<identifier>private.fkeys</identifier>
<autogen>--KeyToKey--
KeyCode::EXPOSE_ALL, ModifierFlag::NONE,
KeyCode::EXPOSE_ALL, VK_COMMAND | ModifierFlag::NONE
</autogen>
<autogen>--ConsumerToKey--
ConsumerKeyCode::MUSIC_PLAY, ModifierFlag::NONE,
KeyCode::F8, VK_SHIFT | ModifierFlag::NONE
</autogen>
</item>
</root>