Fold has one search panel with three scopes, rather than three separate search features. It's a draggable popup in the style of quick-open.
| Key | Opens |
|---|---|
| ⌘F | The scope matching what has focus |
| ⇧⌘F | The All files scope directly |
| ⌘F (while open) | Cycles to the next scope |
The query, the case-sensitivity toggle and the panel's position all persist, so reopening it puts you back where you were.
Find and replace inside the focused editor tab. Matches are marked with amber decorations, and the current match gets a solid highlight.
Fold draws these itself with a @codemirror/view StateField rather than using CodeMirror's stock search panel, which is bypassed at capture phase — the point is one search UI for the whole app, not one per component.
Searches the focused terminal's scrollback, via @xterm/addon-search.
Matches step forward and backward through the buffer and scroll it into view. This is the scope you want when an agent printed a stack trace four thousand lines ago.
Project-wide search backed by git grep, which means it is fast and respects .gitignore without Fold maintaining an index.
Results are grouped by file. Clicking one opens the file at that line — and the matches are mirrored as highlights into the open file, so the file you jump into is already marked up. The counter shows how many matches are in the file you're looking at.