New features
- Code folding (
za/zo/zc/zR/zM). Collapse and expand regions of a buffer Vim-style:zatoggles the fold under the cursor,zoopens it,zccloses it, andzR/zMopen or close every fold in the buffer. Fold ranges come from a language’s tree-sitterfolds.scmwhen one is available, fall back to indentation so folding works in any buffer, and an import-run heuristic folds consecutiveimport/usestatements (including multiline brace and paren forms). A collapsed fold shows a⋯ N linesmarker on its header row (themable via theui.foldscope), and vertical motions step over the hidden lines. Folds are tracked per pane and survive buffer switches. See Folding. <space>g— changed-file picker. A new fuzzy picker lists every file that differs fromHEAD, with the same live-preview interface as the file picker. Submitting a result opens the file at its root-relative path. Outside a git repository, or with a clean working tree, Vorto reports “no changed files” instead of opening an empty picker. See Changed-file picker.
Improvements
- Scroll the agent pane with the mouse wheel. While the
:agentpane is focused, the mouse wheel now scrolls the agent terminal’s scrollback instead of being translated into arrow keys that walk the prompt. Typing snaps the view back to the live bottom. Other panes keep their previous wheel behavior.