Myne

Search the full guide — every article title and its content.

Editor & writing Find and replace in a note

Find and replace in a note

Updated August 30, 2026

Open the in-note find bar with ⌘F to search the current note, step through matches, toggle case sensitivity, and reveal a replace row for replace-one or one-undo replace-all.

The in-note find bar searches the note you are reading. Press ⌘F (or Ctrl F) to dock it at the top of the editor pane, type into the Find in note box, and Myne highlights every match and shows a live count. Step through matches with Enter and Shift+Enter, toggle case sensitivity with the Aa button, and open a second row to replace the current match or rewrite every occurrence in one undoable step.

The find and replace bar open over a note, with a search term entered.

Opening the find bar

Press ⌘F (or Ctrl F) while a note is open. A bar docks at the top of the editor pane with a Find in note input, and the cursor lands in it ready to type. If you had text selected when you pressed the chord, that text is already in the box and already searched: one line of selected text becomes the query, while a selection spanning several lines, or none at all, leaves the box as you left it. The search is literal: it matches the exact substring you type, with no regular expressions, and it covers only the one open note. As you type, every match in the note is highlighted and a live k/N count appears, where k is the match you are on and N is the total. If nothing matches, the bar reads No matches.

Press ⌘F again while the bar is open and it refocuses the input and selects its contents, rather than closing. Press Esc to close the bar. The command palette can open it too — Find in note and Find and replace in note both live in the palette’s Editor category. ⌘F is the default chord and can be changed in Customizing keyboard shortcuts, where the command is listed under General as Find in note.

Stepping through matches

With matches found, press Enter to jump to the next one and Shift+Enter to jump to the previous one. Both wrap around: stepping past the last match returns to the first, and stepping back past the first goes to the last. The Previous match and Next match chevrons in the bar do the same thing by click. As you move, the count updates to show which match you are on.

Case sensitivity

By default find ignores case, so note also matches Note and NOTE. The Aa button (Match case) turns case sensitivity on, narrowing the matches to the exact casing you typed. The setting is remembered for the rest of your unlocked session, so it carries across notes until you turn it off or lock the vault; it starts off again on the next unlock.

Replacing text

The chevron at the lead edge of the bar (Toggle replace) expands a second row with a Replace with input and two buttons.

  • Replace swaps the current match for the replacement text and advances to the next match. Pressing Enter in the Replace with field does the same thing.
  • Replace all shows the live match count in its label, for example Replace all (12), and rewrites every occurrence at once. This happens as a single undoable step, so one ⌘Z (or Ctrl Z) reverts the whole bulk replace, not just the last match.

Replace works on the note’s underlying text, which includes matches inside folded sections. Stepping onto a match inside a folded section unfolds it so you can see the change in context.

Searching for a date

Myne draws a task’s due date in the format you chose, and stores it in a fixed one. If you type a date the way it appears on screen and Myne finds nothing, it searches again for the stored form and says so in the bar, naming the text it looked for.

Replace is switched off while that is happening, and the bar says why. The text being matched is the stored form, so a replacement written the way you read dates would leave a date Myne can no longer read, and the task would drop out of every dated view without warning. Opening the find bar shows the stored text on the line, so if you do want to replace a date, that is the text to type.

This second look runs whichever date format you have chosen, and in whichever language you are reading Myne in. The one format it skips is the stored one, because a date typed that way already matches on the first pass. One thing it does not do: if your language prints its own numerals, Find needs the date typed in those, not in the Western ones.

This bar is for locating and editing an exact string inside the note in front of you. It is deliberately different from the cross-note search in the command palette, which ranks whole notes across your vault by relevance and understands word stems. Use find and replace to fix a phrase in the current note; use search to find which note a topic lives in.

Limits

The find query and the cached positions of its matches live only in your device’s memory while you work; they are never written to disk, saved to your preferences, or sent across the app’s internal boundary. They are released when the vault locks and the editor reloads. Like the open note itself, this is best-effort in-memory handling rather than a stronger guarantee: it is no more exposed than the decrypted note you are already reading. How that fits the wider model is covered in How Myne protects your notes.

A match inside a note’s properties is counted in the k/N total but is not highlighted, and stepping onto it does not move the cursor there. Properties render as their own block rather than as raw text, and the cursor is kept out of that block, so there is nothing in the note body to paint the match on and nowhere for the cursor to land — it comes to rest on the first line of the note body instead. The count still tells you the value is there; edit it in the Properties block itself.

Shortcuts

ActionmacOSWindows / Linux
Open the in-note find bar⌘FCtrl F
Next matchEnterEnter
Previous matchShift+EnterShift+Enter
Replace current match and advanceEnter (in Replace with)Enter (in Replace with)
Undo a bulk replace all⌘ZCtrl Z
Close the find barEscEsc

⌘F and ⌘Z are defaults you can change in Settings → Hotkeys (listed as Find in note and Undo). The Enter, Shift+Enter, and Esc keys belong to the find bar itself and are not listed there, so they cannot be rebound.