# ed keys bind

> ed keys bind in the Edith ed command line reference. ed keys

- Canonical URL: https://getedith.pro/docs/cli/keys/bind
- Updated: 2026-12-02

[`ed keys`](https://getedith.pro/docs/cli/keys)

[The `ed` command line](https://getedith.pro/docs/cli)

```bash
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.

## Get Edith

Edith is a native Mac app for macOS 14 or later on Apple silicon with 100+ extensions, the `ed` command line and an MCP server. $35 once for one Mac, plus $7 for each additional Mac, with no subscription and a 30-day refund.

- [Buy Edith](https://getedith.pro/pricing): $35 once for one Mac, plus $7 for each additional Mac
- [Download Edith](https://getedith.pro/download): the installer, or Homebrew
