snootforge

chee/macoscompose

generate keybinding.dict for compose key with simple config

.macoscompose

this lets you write compose key config in a simple yaml-like format.

the setup is just like that on gnarfโ€™s osx-compose-key repo except you donโ€™t need to download or install it, instead you can make a .macoscompose file in your $HOME and populate it in a manner similar to this:

  1. +1: ๐Ÿ‘
  2. -1: ๐Ÿ‘Ž
  3. # hearts
  4. heart: โค
  5. "yellow heart": ๐Ÿ’›
  6. dog: ๐Ÿถ
  7. "(:": ๐Ÿ™ƒ

then run node . in this directory (once youโ€™ve npm installโ€™d) and restart the apps you want to use compose key in.

something like this:

  1. git clone https://gitlab.com/chee/macoscompose
  2. cd macoscompose
  3. cp example.macoscompose ~/.macoscompose
  4. npm install
  5. node .

notes

merges with the current DefaultKeyBinding.dict if it exists, so it can be used as an extension of osx-compose-key, or in combination with other bindings and binding generators

todo