Most queries can be satisfied using lookup, but sometimes you want to do a full text search across the contents of your notes. This can be done with
Search: Find in Files (
Cmd+Shift+F), which leverages VS Code built-in search capabilities.
Search only looks through open editors
Make sure you don't have the "Search only in open editor" toggle flipped on. See here for details.