Skip to content

Search

Search lets you find Objects by matching text across filenames, properties, and body content. It is powered by SQLite FTS5, so results are fast even in large vaults. If the SQLite index is unavailable (missing or corrupt), search automatically falls back to case-insensitive substring matching against object names, descriptions, and body text.

When you open a vault, TypeMD builds a full-text search index from all Object files. The index covers:

  • Filenames — the Object’s slug and ULID
  • Properties — all frontmatter values (system and schema-defined)
  • Body content — the Markdown body of each Object

The index is stored at .typemd/index.db and automatically stays in sync when you use the CLI or TUI. The index is automatically synced every time the vault is opened, even after manual file edits.

Terminal window
tmd search "concurrency"
tmd search "golang" --json
OptionDescription
--jsonOutput results in JSON format

In the TUI, press / to enter search mode. Results are filtered in real-time as you type. Press Esc to clear the search and return to the full list.