Skip to content

Finding things

A few keys cover almost everything: one for commands, one for files, and two for text.

What you want macOS Windows / Linux
A command, by name ⇧⌘P Ctrl+Shift+P
A file, by name ⌘P Ctrl+P
Text, in the open document ⌘F Ctrl+F
Text, anywhere in the vault ⇧⌘F Ctrl+Shift+F

⇧⌘P / Ctrl+Shift+P — the command palette

Section titled “⇧⌘P / Ctrl+Shift+P — the command palette”

The one worth learning first. It lists the commands from mdai’s menus, searchable by name, which means nothing else on this site is something you have to memorise. Type “calendar” and you get the calendar; type “export” and you get the exports.

Arrows move, Enter runs, Escape closes.

⌘F / Ctrl+F — Find and Replace in the document

Section titled “⌘F / Ctrl+F — Find and Replace in the document”

A bar opens above the text. Type, and every match in the document lights up; the count shows where you are (3 / 12). Next match and Previous match step through them — ⌘G / ⇧⌘G on macOS, F3 / Shift+F3 on Windows and Linux. Match case and Whole word narrow the search.

Replace opens with ⌥⌘F on macOS and Ctrl+H on Windows and Linux. Replace changes the current match, Replace All changes every match at once, and one Undo takes it all back. Find and Replace also work in Source mode. In a read-only document Replace is off.

Type part of a file name and jump to it. The match is fuzzy: mtg9 finds Meeting 2026-09-01.md, because the letters appear in that order. You do not have to know which folder it is in.

The list opens immediately, and fills in as the file list arrives — you can start typing before it has finished.

Before you type anything, the list shows the files you opened most recently in this vault, newest first — up to 20. So ⌘P / Ctrl+P followed by Enter takes you back to the note you were just in.

Searches the text and the names of every Markdown file in the vault (hidden folders are skipped), ignoring letter case, from 2 characters on. A text hit shows the file, the line number, and the line around the match; a name hit shows the file. At most 200 results, 20 per file. Pick one and the note opens at that place.

  • You know roughly what the note is called → ⌘P / Ctrl+P
  • You know a phrase inside it → ⇧⌘F / Ctrl+Shift+F
  • You know what you want mdai to do → ⇧⌘P / Ctrl+Shift+P
  • You want to know what points at the note you are reading → the Backlinks panel, not search