Skip to content

Instantly share code, notes, and snippets.

@dbazuin
Forked from daneden/Instructions.md
Created December 12, 2015 08:53
Show Gist options
  • Save dbazuin/de90f823f9038f997c78 to your computer and use it in GitHub Desktop.
Save dbazuin/de90f823f9038f997c78 to your computer and use it in GitHub Desktop.
Remap Caps Lock to Emoji on Mac

How to remap the caps lock key to the emoji selector on Mac

  1. Go to System Preferences -> Keyboard -> Modifier Keys...
  2. Change “Caps Lock” to “No action”
  3. Install Seil
  4. Change the Caps Lock key in Seil to keyCode 80 (F19)
  5. Install Karabiner
  6. Open Karabiner and go to Misc & Uninstall -> Open private.xml
  7. Copy the contents of this gist's example to the XML file and save
  8. In Karabiner, go to Change Keys -> Reload XML
  9. Enable “F19 to Emoji”
  10. 🎉
<?xml version="1.0"?>
<root>
<item>
<name>F19 to Emoji</name>
<appendix>(F19 to Emoji)</appendix>
<identifier>private.f192emoji</identifier>
<autogen>
--KeyToKey--
KeyCode::F19,
KeyCode::SPACE, ModifierFlag::COMMAND_L | ModifierFlag::CONTROL_L
</autogen>
</item>
</root>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment