Skip to content

Instantly share code, notes, and snippets.

@benui-dev
Created November 29, 2011 12:34
Show Gist options
  • Select an option

  • Save benui-dev/1404659 to your computer and use it in GitHub Desktop.

Select an option

Save benui-dev/1404659 to your computer and use it in GitHub Desktop.
<?xml version="1.0"?>
<root>
<list>
<item>
<name>Magical stuff</name>
<identifier>private.magical</identifier>
<!-- Need this explicitly, otherwise the forward delete thing doesn't work -->
<autogen>
--KeyToKey--
KeyCode::SEMICOLON, ModifierFlag::NONE,
KeyCode::DELETE
</autogen>
<!-- for deleting whole words -->
<autogen>
--KeyToKey--
KeyCode::SEMICOLON, ModifierFlag::OPTION_L,
KeyCode::DELETE, ModifierFlag::OPTION_L
</autogen>
<!-- yay no more reaching for the DEL key -->
<autogen>
--KeyToKey--
KeyCode::SEMICOLON, ModifierFlag::SHIFT_L,
KeyCode::FORWARD_DELETE
</autogen>
<!-- i guess we need semicolon for smilies. And Perl. ;) -->
<autogen>
--KeyToKey--
KeyCode::SHIFT_R,
KeyCode::SEMICOLON
</autogen>
</item>
</list>
</root>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment