Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save msolomon/9479548 to your computer and use it in GitHub Desktop.

Select an option

Save msolomon/9479548 to your computer and use it in GitHub Desktop.
<item>
<name>Remap Caps Lock to Hyper with Escape on tap</name>
<appendix>OS X doesn't have a Hyper. This maps caps lock (actually F19) to Control + Shift + Option + Command, unless you tap it. Then it sends Escape.</appendix>
<identifier>caps_lock_to_hyper_or_escape</identifier>
<autogen>
--KeyOverlaidModifier--
KeyCode::F19,
KeyCode::COMMAND_L,
ModifierFlag::OPTION_L | ModifierFlag::SHIFT_L | ModifierFlag::CONTROL_L,
KeyCode::ESCAPE
</autogen>
</item>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment