# ed scratchpad search

> ed scratchpad search in the Edith ed command line reference. ed scratchpad

- Canonical URL: https://getedith.pro/docs/cli/scratchpad/search
- Updated: 2026-12-02

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

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

```bash
ed scratchpad search QUERY [--limit N] [--json]
```

Finds the notes that contain every word of `QUERY`, ignoring case and accents. A title that is the query ranks first, then a title that starts with it, then titles that contain the words, then notes that use the words often or at the start of a word. Pinned and recently edited notes win ties. `--limit` defaults to 20 and is capped at 200. JSON output reports `query` and `results`, each with `id`, `title`, `snippet`, `score`, `matches`, `pinned` and `updatedAt`.

## 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
