macOS offers three ways to input. One by holding the key (which it inherited from iOS), one through changing the keyboard to another locale, and one by language independent prefixes: alt-u for umlaut/dieresis, alt-e for accent aigu, etc.
(I admit I am engaging in the rhetorical tactic of confidently asserting that something is impossible in the hopes that someone will be lured to come along and correct me, so that I can be happily wrong.)
/* -*- coding: utf-8 -*- */
{
"~/" = ("insertText:", "λ");
"~a" = ("insertText:", "∀ ");
}
It looks like you can actually send arbitrary objectiveC messages to the first responder with this, but I haven't played with it much.(I'm also now using the `fn` key to toggle between greek and US.)
This way you can have Emacs style meta key cursor movement bindings in macOS text widgets. For me M-f and M-b are indispensable.