Skip to content

Instantly share code, notes, and snippets.

@airblade
Created August 8, 2013 09:50
Show Gist options
  • Select an option

  • Save airblade/6183304 to your computer and use it in GitHub Desktop.

Select an option

Save airblade/6183304 to your computer and use it in GitHub Desktop.
Easier access to umlauts and sharp-s on OSX using KeyRemap4MacBook
<?xml version="1.0"?>
<root>
<item>
<name>Easier umlauts</name>
<appendix>Use left-control + vowel</appendix>
<identifier>private.easier_umlauts</identifier>
<autogen>
__KeyToKey__
KeyCode::A, ModifierFlag::CONTROL_L | ModifierFlag::SHIFT_L,
KeyCode::U, ModifierFlag::OPTION_L, KeyCode::A, ModifierFlag::SHIFT_L
</autogen>
<autogen>
__KeyToKey__
KeyCode::A, ModifierFlag::CONTROL_L,
KeyCode::U, ModifierFlag::OPTION_L, KeyCode::A
</autogen>
<autogen>
__KeyToKey__
KeyCode::O, ModifierFlag::CONTROL_L | ModifierFlag::SHIFT_L,
KeyCode::U, ModifierFlag::OPTION_L, KeyCode::O, ModifierFlag::SHIFT_L
</autogen>
<autogen>
__KeyToKey__
KeyCode::O, ModifierFlag::CONTROL_L,
KeyCode::U, ModifierFlag::OPTION_L, KeyCode::O
</autogen>
<autogen>
__KeyToKey__
KeyCode::U, ModifierFlag::CONTROL_L | ModifierFlag::SHIFT_L,
KeyCode::U, ModifierFlag::OPTION_L, KeyCode::U, ModifierFlag::SHIFT_L
</autogen>
<autogen>
__KeyToKey__
KeyCode::U, ModifierFlag::CONTROL_L,
KeyCode::U, ModifierFlag::OPTION_L, KeyCode::U
</autogen>
</item>
<item>
<name>Easier sharp s</name>
<appendix>Use left-control + s</appendix>
<identifier>private.easier_sharp_s</identifier>
<autogen>
__KeyToKey__
KeyCode::S, ModifierFlag::CONTROL_L,
KeyCode::S, ModifierFlag::OPTION_L
</autogen>
</ite>
</root>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment