Created
October 2, 2014 11:21
-
-
Save Epigene/c50b68bb28e3cd18736d to your computer and use it in GitHub Desktop.
Karabiner's Private.xml config
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"?> | |
<root> | |
<item> | |
<name>Swap Paragraph-Hash key to Del</name> | |
<identifier>private.swap_para_and_del</identifier> | |
<autogen>__KeyToKey__ KeyCode::DANISH_DOLLAR, KeyCode::FORWARD_DELETE</autogen> | |
</item> | |
<item> | |
<name>Swap Space and Tab</name> | |
<identifier>private.swap_space_and_tab</identifier> | |
<autogen>__KeyToKey__ KeyCode::SPACE, KeyCode::TAB</autogen> | |
<autogen>__KeyToKey__ KeyCode::TAB, KeyCode::SPACE</autogen> | |
</item> | |
<item> | |
<name>My Excel Hacks (effective only on Excel)</name> | |
<appendix>Change Command+2 to Ctrl+U</appendix> | |
<appendix>Change Control+A to Home</appendix> | |
<appendix>Change Control+E to End</appendix> | |
<identifier>private.app_excel_command2_to_ctrlu</identifier> | |
<only>EXCEL</only> | |
<autogen>__KeyToKey__ KeyCode::KEY_2, VK_COMMAND, KeyCode::U, ModifierFlag::CONTROL_L</autogen> | |
<autogen>__KeyToKey__ KeyCode::A, VK_CONTROL, KeyCode::HOME</autogen> | |
<autogen>__KeyToKey__ KeyCode::E, VK_CONTROL, KeyCode::END</autogen> | |
</item> | |
<item> | |
<name>My TrackPad LeftClick Hack</name> | |
<appendix>Command+LeftClick to F12 (only on MacBookPro2,1 Trackpad)</appendix> | |
<identifier>private.pointing_leftclick2f12_trackpad</identifier> | |
<device_only>DeviceVendor::APPLE_COMPUTER,DeviceProduct::APPLE_INTERNAL_KEYBOARD_TRACKPAD_0x021a</device_only> | |
<autogen>__KeyToKey__ PointingButton::LEFT, VK_COMMAND, KeyCode::F12</autogen> | |
</item> | |
<!-- ============================================================ --> | |
<!-- Command+D Shows desktop (via Mission Control aka Expose) --> | |
<item> | |
<name>Augy's Command+D show desktop</name> | |
<appendix>Command+D to F11</appendix> | |
<identifier>private.show_desktop</identifier> | |
<autogen>__KeyToKey__ KeyCode::D, VK_COMMAND, KeyCode::F11</autogen> | |
</item> | |
<!-- ============================================================ --> | |
<!-- An example of appdef --> | |
<appdef> | |
<appname>APPSTORE</appname> | |
<equal>com.apple.appstore</equal> | |
</appdef> | |
<item> | |
<name>Space to Tab on App Store.app</name> | |
<identifier>private.appdef</identifier> | |
<only>APPSTORE</only> | |
<autogen>__KeyToKey__ KeyCode::SPACE, KeyCode::TAB</autogen> | |
</item> | |
<!-- ============================================================ --> | |
<!-- An example of devicevendordef,deviceproductdef --> | |
<devicevendordef> | |
<vendorname>HEWLETT_PACKARD</vendorname> | |
<vendorid>0x03f0</vendorid> | |
</devicevendordef> | |
<deviceproductdef> | |
<productname>MY_HP_KEYBOARD</productname> | |
<productid>0x0224</productid> | |
</deviceproductdef> | |
<item> | |
<name>Space to Tab on MY_HP_KEYBOARD</name> | |
<identifier>private.deviceproductdef</identifier> | |
<device_only>DeviceVendor::HEWLETT_PACKARD, DeviceProduct::MY_HP_KEYBOARD</device_only> | |
<autogen>__KeyToKey__ KeyCode::SPACE, KeyCode::TAB</autogen> | |
</item> | |
<!-- ============================================================ --> | |
</root> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment