Command reference
ed keys bind
ed keys bind KEY app|url|folder|command TARGET... [--json]Makes Hyper and the key open an app by name or bundle identifier, a link, a folder, or run an ed command, which is passed as separate words and never through a shell. A shortcut already on that key is replaced and reported as replaced. Keys use names such as t, 1, f5, space or comma; Caps Lock, F18, F19 and modifier keys cannot take a shortcut. An unknown key exits with a not found error and an invalid target with a usage error.