Search & Navigation
Quick switcher, full-text search, graph view, and tags browser.
Quick Switcher
Press Cmd+P to open the quick switcher. It searches across all note filenames and file contents simultaneously. Filename matches appear instantly, while content matches stream in progressively.
Navigate results with the arrow keys and press Enter to open. Results are ranked by relevance: filename prefix matches score highest, followed by filename substring matches, path matches, and content matches.
mdnb uses Spotlight for fast searching, with an automatic fallback to local file scanning if Spotlight is unavailable.
In-Document Find
- Cmd+F opens the find bar within the current note
- Cmd+G jumps to the next match
- Cmd+Shift+G jumps to the previous match
- Cmd+E uses the current selection as the search term
Graph View
Press Cmd+Ctrl+G to switch from the editor to the graph view. It shows your notes as a force-directed graph where links between notes become edges.
Two scopes are available:
- Neighborhood: shows notes connected to the currently selected note, with configurable depth (1 to 4 hops)
- All Notes: shows every note in your vault
Nodes are sized by their number of connections. Orphan notes (no links) appear at reduced opacity. You can pan, zoom, and drag individual nodes. Click a node to open that note in the editor. Use the "Fit" button to auto-center the graph.
Layout positions are persisted across sessions.
Tags Browser
Switch to the tags view from the toolbar segmented control. The tags browser shows a two-column layout: all tags on the left, matching notes on the right.
Tags are extracted from both YAML frontmatter (tags: field) and inline #hashtags in note text. You can sort tags by most used, least used, most recent, oldest, created date, or name. Click any tag to see all notes containing it, then click a note to navigate to it in the editor.