Finding notes

search (alias list) is the one entry point for browsing, filtering, full-text search, and opening notes. Run it with no query at all to list the whole vault, narrow it with a query, or hand it a full ULID to jump straight to a specific note. A single match opens the note directly; several matches open an interactive picker to choose from.

Two pages cover how that works: Query language for the tag:, field:, and text: terms search accepts, and The interactive picker for how it filters and how to move around in it.

For scripts, -p prints the matched note's path instead of opening it, -P prints the note's content, and -n turns off the picker and the editor entirely so nothing waits on a terminal. See Scripting and the shell for the details.