Skip to content

Instantly share code, notes, and snippets.

@cheeaun
Last active April 29, 2024 21:50
Show Gist options
  • Save cheeaun/a7f00303ed4a29f3527b766f8083206e to your computer and use it in GitHub Desktop.
Save cheeaun/a7f00303ed4a29f3527b766f8083206e to your computer and use it in GitHub Desktop.
Karabiner script to map new Macbook Globe🌐/fn key to open Mumu emoji picker

Karabiner script to map new Macbook Globe🌐/fn key to open Mumu emoji picker

Requirements

  1. Mumu emoji picker https://getmumu.com/
  2. Karabiner https://karabiner-elements.pqrs.org/

Setup

  1. On Mumu, set keyboard shortcut to Cmd + Shift + Space
  2. Copy the JSON file below to ~/.config/karabiner/assets/complex_modifications
  3. On Karabiner, go to Complex modifications tab, click on Add rule button and the added modification JSON should appear in the list. Click Enable to enable it.
  4. Done.

Feel free to customize the shortcut, the keys or the JSON file.

{
"title": "Change Globe (fn) to other keys",
"rules": [
{
"description": "Change Globe (fn) to other keys, if alone",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "fn"
},
"to_if_alone": [
{
"key_code": "spacebar",
"modifiers": [
"left_command",
"left_shift"
]
}
]
}
]
}
]
}
@victor-falcon
Copy link

I needed to put a to condition with key_code: fn to keep previous functionality while using it with DEL key. 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment