Enhanced search and replace
approvedby liuhaoxd
This plugin has not been manually reviewed by Obsidian staff. Inline editor search and replace panel with match case, whole word, and regex.
★ 1 stars↓ 108 downloadsUpdated 1mo ago
Enhanced search and replace
An inline editor search and replace panel for Obsidian.
Features
- Inline find panel in the editor.
- Find and replace mode.
- Match case, whole word, and regex.
- Highlights matches in the current editor.
Esccloses the panel globally (even when the input is not focused).
Hotkeys
Bind hotkeys for this plugin via Obsidian settings:
- Open Settings → Hotkeys.
- Search
Enhanced search and replace(or justFind). - Bind these commands:
Enhanced search and replace: FindEnhanced search and replace: Find and replace
Suggested defaults:
- Windows / Linux:
Ctrl+F→ Find,Ctrl+H→ Find and replace - macOS:
Cmd+F→ Find (set the other one to your preference)
You can also trigger via Command Palette: Cmd/Ctrl+P and search Enhanced search and replace: Find.
Install (manual)
- Copy
main.js,manifest.json, andstyles.cssto:<Vault>/.obsidian/plugins/enhanced-search-replace/
- Reload Obsidian and enable the plugin.
Development
npm install
npm run dev
Build
npm run build
Notes
- The search UI is implemented as a CodeMirror 6 panel.
- Some internal editor fields (like the underlying CodeMirror view) are accessed via Obsidian runtime objects.
For plugin developers
Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.