Myne
Editor & writing Find and replace in a note

Find and replace in a note

Updated June 18, 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. 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. There is no command-palette entry for find and no other shortcut that opens it.

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.

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 on screen. Properties render as their own widget rather than as raw text, so there is nothing in the note body to paint the match on; the count still tells you the value is there.

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