Search the project
Press Cmd+Shift+F (Ctrl+Shift+F on Windows), or open the command palette with Cmd+K and choose Search in project. Search also has its own tab (the magnifying glass) in the tools panel on the right; choose Show tools panel if the panel is hidden. On a phone, tap More in the bar at the bottom of the screen, then Search or Thesaurus.
Type in Search in project…. Results are grouped by file and cover chapter and note titles and text. Search also finds approximate matches for small typos. Choose an exact text match to open the file with that occurrence selected; choose an approximate match to open its file.
Results refresh when files or their text change, even if you keep the same query. A large project may show indexing progress while its files load. If indexing fails, results may be incomplete; choose Retry to try again.
Find and replace
With a chapter or note open, enter a search term. The controls below the search field show the current file and its match count. Use the up and down arrows to walk every match in that file, wrapping at the ends.
Choose Show replace at the right end of the search field. Enter text in Replace with, then choose Replace and next to replace the selected match and move forward. Leave the replacement empty to delete matched text. Replace all in file asks you to confirm the number of matches and the file name. It affects only the current file. Use Undo in the editor to reverse the replacement.
Matching ignores case, treats straight and curly quotes alike, and collapses whitespace. Replacements stay within a paragraph and do not change titles or remove inline images. If the file changes while a confirmation is open, review the updated matches and try again. Saving follows the editor's normal save indicator.
Use the thesaurus
- Select a word or phrase of up to 100 characters in the editor and choose Thesaurus in the toolbar. The thesaurus also reads the paragraph around your selection, so its suggestions fit how you used the word there.
- Or open the command palette and choose Open thesaurus, type in Word or phrase, and submit. When you type a different word, the suggestions cover its common meanings rather than your paragraph.
Each suggestion comes with a short note on how it differs. Pick one and edit your text yourself; the thesaurus doesn't change your writing.
The thesaurus uses AI, so it can occasionally fail. Search again to retry.