Skip to content

Instantly share code, notes, and snippets.

@garth
Created October 21, 2013 18:39
Show Gist options
  • Save garth/7088734 to your computer and use it in GitHub Desktop.
Save garth/7088734 to your computer and use it in GitHub Desktop.
To use a UK PC keyboard with a mac. Install UK layout (http://liyang.hu/osx-british.xhtml) and select PC British (105 alt) in keyboard settings. Then install KeyRemap4MacBook (https://pqrs.org/macosx/keyremap4macbook/index.html.en). Add the following to the private xml and select Fix Euro, PC Style End/Home #2 and PC Style PageUp/PageDown.
<?xml version="1.0"?>
<root>
<item>
<name>Fix Euro</name>
<identifier>private.fix_euro</identifier>
<autogen>__KeyToKey__ KeyCode::KEY_4, VK_OPTION, KeyCode::KEY_2, ModifierFlag::OPTION_L | ModifierFlag::SHIFT_L</autogen>
</item>
</root>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment