Skip to content

Instantly share code, notes, and snippets.

@anujbiyani
anujbiyani / private.xml
Created November 11, 2015 11:46
Karabiner custom bindings for UK keyboard; replace ~/Library/Application Support/Karabiner/private.xml
<?xml version="1.0"?>
<root>
<item>
<name>Swap the GB pound symbol and sharp symbol</name>
<appendix>Change Shift+3 to #</appendix>
<appendix>Change Option+3 to £</appendix>
<identifier>private.swap_pound_and_sharp</identifier>
<autogen>__KeyToKey__ KeyCode::KEY_3, VK_OPTION, KeyCode::KEY_3, VK_SHIFT</autogen>
<autogen>__KeyToKey__ KeyCode::KEY_3, VK_SHIFT, KeyCode::KEY_3, VK_OPTION</autogen>
</item>