Skip to content

Instantly share code, notes, and snippets.

@hendrikswan
Created July 23, 2015 07:40
Show Gist options
  • Save hendrikswan/2a1e0a6bee80c2378f63 to your computer and use it in GitHub Desktop.
Save hendrikswan/2a1e0a6bee80c2378f63 to your computer and use it in GitHub Desktop.
karabiner config for using OSX shortcuts in Virtualbox windows guest
<?xml version="1.0"?>
<root>
<item>
<name>Virtualbox</name>
<identifier>private.test</identifier>
<only>VIRTUALMACHINE</only>
<autogen>__KeyToKey__ KeyCode::Z, VK_COMMAND, KeyCode::Z, VK_CONTROL</autogen>
<autogen>__KeyToKey__ KeyCode::S, VK_COMMAND, KeyCode::S, VK_CONTROL</autogen>
<autogen>__KeyToKey__ KeyCode::X, VK_COMMAND, KeyCode::X, VK_CONTROL</autogen>
<autogen>__KeyToKey__ KeyCode::C, VK_COMMAND, KeyCode::C, VK_CONTROL</autogen>
<autogen>__KeyToKey__ KeyCode::V, VK_COMMAND, KeyCode::V, VK_CONTROL</autogen>
<autogen>__KeyToKey__ KeyCode::A, VK_COMMAND, KeyCode::A, VK_CONTROL</autogen>
<autogen>__KeyToKey__ KeyCode::FN, KeyCode::PC_INSERT</autogen>
<autogen>__KeyToKey__ KeyCode::CURSOR_LEFT, VK_COMMAND, KeyCode::HOME</autogen>
<autogen>__KeyToKey__ KeyCode::CURSOR_RIGHT, VK_COMMAND, KeyCode::END</autogen>
</item>
</root>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment