-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Support Vim fold keybindings (zo, zc, za, zf, zd, zR, zM) in the code editor #9748
Copy link
Copy link
Open
Labels
area:editor-notebooksEditors, notebooks, markdown rendering, LSP, and code display.Editors, notebooks, markdown rendering, LSP, and code display.area:settings-keybindingsSettings UI, preferences, keybindings, and keyboard-shortcut management.Settings UI, preferences, keybindings, and keyboard-shortcut management.enhancementNew feature or request.New feature or request.ready-to-specThe issue is ready for a product and technical spec.The issue is ready for a product and technical spec.repro:highThe report includes enough evidence that the issue appears highly reproducible.The report includes enough evidence that the issue appears highly reproducible.triage-reviewedtriagedIssue has received an initial automated triage pass.Issue has received an initial automated triage pass.
Metadata
Metadata
Assignees
Labels
area:editor-notebooksEditors, notebooks, markdown rendering, LSP, and code display.Editors, notebooks, markdown rendering, LSP, and code display.area:settings-keybindingsSettings UI, preferences, keybindings, and keyboard-shortcut management.Settings UI, preferences, keybindings, and keyboard-shortcut management.enhancementNew feature or request.New feature or request.ready-to-specThe issue is ready for a product and technical spec.The issue is ready for a product and technical spec.repro:highThe report includes enough evidence that the issue appears highly reproducible.The report includes enough evidence that the issue appears highly reproducible.triage-reviewedtriagedIssue has received an initial automated triage pass.Issue has received an initial automated triage pass.
Summary
Feature request to add Vim fold keybindings to Warp's code editor, enabling users to collapse and expand code sections using standard Vim fold commands.
Problem
Warp's code editor Vim mode does not support any fold-related keybindings. Users who rely on folds to manage code visibility in Vim/Neovim must work around the absence by scrolling or other means, breaking their established editing workflow. This is a frequent friction point rather than a rare inconvenience.
Reproduction steps or desired workflow
zfwith a motion or visual selection to create a fold.zo/zc/zato open, close, or toggle individual folds.zR/zMto open or close all folds in the buffer.zdto delete a fold.Artifacts
None attached.
Warp version
Unknown
Operating system
macOS