.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: ๐
-
- # hearts
- heart: โค
- "yellow heart": ๐
-
- dog: ๐ถ
- "(:": ๐
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:
- git clone https://gitlab.com/chee/macoscompose
- cd macoscompose
- cp example.macoscompose ~/.macoscompose
- npm install
- 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
- add more entries to the example
- add error handling
- escape โ and \ on the way out
- fill out the rest of the todo section