Skip to content

Instantly share code, notes, and snippets.

@randomradio
Last active March 20, 2017 16:59
Show Gist options
  • Save randomradio/c69cbee4486a7411a307 to your computer and use it in GitHub Desktop.
Save randomradio/c69cbee4486a7411a307 to your computer and use it in GitHub Desktop.
my karabiner configuration, continue in progress
<?xml version="1.0"?>
<root>
<devicevendordef>
<vendorname>VORTEX</vendorname>
<vendorid>0x04d9</vendorid>
</devicevendordef>
<deviceproductdef>
<productname>POK3R</productname>
<productid>0x0141</productid>
</deviceproductdef>
<vkopenurldef>
<name>KeyCode::VK_OPEN_URL_APP_Karabiner_iTerm</name>
<url type="file">/Applications/iTerm.app</url>
</vkopenurldef>
<vkopenurldef>
<name>KeyCode::VK_OPEN_URL_APP_Karabiner_PYCHARM</name>
<url type="file">/Applications/PyCharm.app</url>
</vkopenurldef>
<vkopenurldef>
<name>KeyCode::VK_OPEN_URL_APP_Karabiner_CHROME</name>
<url type="file">/Applications/Google Chrome.app</url>
</vkopenurldef>
<vkopenurldef>
<name>KeyCode::VK_OPEN_URL_APP_Karabiner_SAFARI</name>
<url type="file">/Applications/Safari.app</url>
</vkopenurldef>
<vkopenurldef>
<name>KeyCode::VK_OPEN_URL_APP_Karabiner_iTerm</name>
<url type="file">/Applications/iTerm.app</url>
</vkopenurldef>
<vkopenurldef>
<name>KeyCode::VK_OPEN_URL_APP_Karabiner_Quiver</name>
<url type="file">/Applications/Quiver.app</url>
</vkopenurldef>
<item>
<name>Swap Right Option and Escape for HHKB</name>
<identifier>private.swap_option_l_and_escape_hhkb</identifier>
<autogen>__KeyToKey__ KeyCode::OPTION_L, KeyCode::ESCAPE</autogen>
<autogen>__KeyToKey__ KeyCode::ESCAPE, KeyCode::OPTION_L</autogen>
</item>
<item>
<name>Pok3r Swap Slash and Backspance</name>
<identifier>private.swap_slash_backspace</identifier>
<device_only>DeviceVendor::VORTEX, DeviceProduct::POK3R</device_only>
<autogen>__KeyToKey__ KeyCode::DELETE, KeyCode::BACKSLASH</autogen>
<autogen>__KeyToKey__ KeyCode::BACKSLASH, KeyCode::DELETE</autogen>
</item>
<item>
<name>Pok3r Swap Left Control and Capslock</name>
<identifier>private.swap_left_control_capslock</identifier>
<device_only>DeviceVendor::VORTEX, DeviceProduct::POK3R</device_only>
<autogen>__KeyToKey__ KeyCode::CONTROL_L, KeyCode::CAPSLOCK</autogen>
</item>
<item>
<name>App Hotkey</name>
<item>
<name>PyCharm Hotkey</name>
<identifier>remap.pycharm_hotkey</identifier>
<autogen>__KeyToKey__ KeyCode::KEY_0, ModifierFlag::CONTROL_L, KeyCode::VK_OPEN_URL_APP_Karabiner_PYCHARM</autogen>
</item>
<item>
<name>Chrome Hotkey</name>
<identifier>remap.chrome_hotkey</identifier>
<autogen>__KeyToKey__ KeyCode::KEY_1, ModifierFlag::CONTROL_L, KeyCode::VK_OPEN_URL_APP_Karabiner_CHROME</autogen>
</item>
<item>
<name>Safari Hotkey</name>
<identifier>remap.safari_hotkey</identifier>
<autogen>__KeyToKey__ KeyCode::KEY_2, ModifierFlag::CONTROL_L, KeyCode::VK_OPEN_URL_APP_Karabiner_SAFARI</autogen>
</item>
<item>
<name>iTerm Hotkey</name>
<identifier>remap.iterm_hotkey</identifier>
<autogen>__KeyToKey__ KeyCode::DELETE, ModifierFlag::CONTROL_L, KeyCode::VK_OPEN_URL_APP_Karabiner_iTerm</autogen>
</item>
<item>
<name>Quiver Hotkey</name>
<identifier>remap.quiver_hotkey</identifier>
<autogen>__KeyToKey__ KeyCode::KEY_9, ModifierFlag::CONTROL_L, KeyCode::VK_OPEN_URL_APP_Karabiner_Quiver</autogen>
</item>
</item>
</root>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment