Embedded Search
Obsidian Search Cheat Sheet
| Operator | Description | Example |
|---|---|---|
| file: | Search for a file name | file:"Daily Note 20221028" |
| path: | Search for files in a specific directory | path:01-daily-notes |
| tag: | Search for tags | tag:#atomic |
| line: | Search for text on the same line | line:("today I worked on") |
| section: | Search for text in the same section (text between two headings) | section:("today I worked on") |
| content: | Search for text in file content | content:("today I worked on") |
| block: | Search for text in the same block | block:("today I worked on") |
| match-case: | Match the casing exactly | match-case:("DailyNote") |
| ignore-case: | Ignore the casing | ignore-case:("dailynote") |
| task: | Search for a task | task:("Clean my desk") |
| task-todo: | Search for an unfinished task | task-todo:("Clean my desk") |
| task-done: | Search for a finished task | task-done:("Clean my desk") |
| -path: | To exclude files in a directory | -path:"Templates" |
| -file: | To exclude a specific file | -file:"Test Daily Note" |
Source: https://help.obsidian.md/Plugins/Search
tag:#questions "[[Billy Bob]]"
This indicates: find the tag AND (implicit) the literal string.
Without the quotes, […] denote syntax for finding properties (i.e., within the YAML properties section, thus has a different meaning.