Skip to content

Instantly share code, notes, and snippets.

@daneden
Created December 1, 2015 00:25
Show Gist options
  • Select an option

  • Save daneden/03cbecac9f02720e3723 to your computer and use it in GitHub Desktop.

Select an option

Save daneden/03cbecac9f02720e3723 to your computer and use it in GitHub Desktop.

Revisions

  1. daneden created this gist Dec 1, 2015.
    12 changes: 12 additions & 0 deletions Instructions.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,12 @@
    # 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](https://pqrs.org/osx/karabiner/seil.html.en)
    4. Change the Caps Lock key in Seil to keyCode 80 (F19)
    5. Install [Karabiner](https://pqrs.org/osx/karabiner/index.html)
    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. 🎉
    13 changes: 13 additions & 0 deletions private.xml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,13 @@
    <?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>