-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Helix Mode: incorrect new line above/below behavior #43210
Copy link
Copy link
Labels
area:parity/helixFeedback for Helix parity featuresFeedback for Helix parity featuresfrequency:uncommonBugs that happen for a small subset of users, special configurations, rare circumstances, etcBugs that happen for a small subset of users, special configurations, rare circumstances, etcpriority:P2Average run-of-the-mill bugsAverage run-of-the-mill bugsstate:reproducibleVerified steps to reproduce included and someone on the team managed to reproduceVerified steps to reproduce included and someone on the team managed to reproduce
Metadata
Metadata
Assignees
Labels
area:parity/helixFeedback for Helix parity featuresFeedback for Helix parity featuresfrequency:uncommonBugs that happen for a small subset of users, special configurations, rare circumstances, etcBugs that happen for a small subset of users, special configurations, rare circumstances, etcpriority:P2Average run-of-the-mill bugsAverage run-of-the-mill bugsstate:reproducibleVerified steps to reproduce included and someone on the team managed to reproduceVerified steps to reproduce included and someone on the team managed to reproduce
Type
Fields
Give feedbackNo fields configured for Bug.
Summary
In helix mode, the new line above/below (
O/orespectively) misbehaves in visual select and inHelixSelectLinemode.Description
The new line commands misbehave in a few ways:
x, 'new line below' skips a linex, 'new line above' adds a new line right above the selection as expected, but the cursor doesn't move.v), neither new line command functions at all.Steps to reproduce:
xorvoorOExpected Behavior:
InsertLineAbovealways creates a new line above the first line in your selection, and the cursor moves to the start of it.InsertLineBelowalways creates a new line below the last line in your selection, and the cursor moves to the start of it.Actual Behavior:
In visual select mode, they're just nonfunctional.
In
HelixSelectLine, "below" skips a line, and "above" fails to move the cursor.Zed Version and System Specs
Zed: v0.213.3 (Zed)
OS: Linux X11 ubuntu 24.04
Memory: 62.3 GiB
Architecture: x86_64
GPU: Intel(R) Graphics (MTL) || Intel open-source Mesa driver || Mesa 25.0.7-0ubuntu0.24.04.2
If applicable, attach your
Zed.logfile to this issue.N/A