Hevar Magron41 downloadsFind text across your vault, with ranked results, clear note paths and a live preview of every match.
Find any text in your vault, see it in context, and jump straight to it.

Needle brings the "Find in Files" panel from code editors to Obsidian. Type a word, phrase or regular expression and you get every matching line, grouped by note, with a live preview of the note underneath. You can check each match without opening anything.
Search the whole vault or a single folder, with toggles for match case, whole word and regular expressions. Drag the window edges or the divider to get the layout you like, and Needle remembers it.

Press Ctrl/Cmd+E to see the note rendered, with your matches still highlighted.

Useful for finding things plain search can't, like every open task in your vault. The guide has patterns you can copy.

A quick switcher that puts the title first and the folder underneath, so notes with the same name are easy to tell apart. It matches titles, aliases and folders, and with nothing typed it lists your recent notes.

Needle uses your theme's colors, so it fits in with light, dark and community themes. On phones it goes full screen.
Needle doesn't set any hotkeys for you. Most people will want these, under Settings → Hotkeys:
| Command | Suggested hotkey | Replaces |
|---|---|---|
| Needle: Find in vault | Ctrl/Cmd+Shift+F | Search: Search in all files |
| Needle: Go to note | Ctrl/Cmd+O | Quick switcher: Open quick switcher |
Remove the shortcut from the core command first so the two don't clash.
You can also right-click a folder and choose Find in folder, or select text in a note and choose Find in vault.
| Key | Action |
|---|---|
| ↑ ↓ | Move through matches |
| Page Up Page Down | Move ten matches at a time |
| Enter | Open the note at the match |
| Ctrl/Cmd+Enter | Open in a new tab |
| Ctrl/Cmd+Alt+Enter | Open to the right |
| Alt+C / W / R | Toggle match case, whole word, regex |
| Ctrl/Cmd+1 / 2 | Search the vault / the folder |
| Ctrl/Cmd+E | Switch between source and reading preview |
| Esc | Close |
Needle only reads your notes. It doesn't write, rename or delete them, makes no network requests and collects no data. The only thing it saves is its own settings, in the plugin's data.json.
Found a bug or have an idea? Open an issue.