You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the cursor is between lines, delete up to the end of the line.
However, when the cursor is at the end of a line, the line is deleted.
To reproduce
If the cursor is moved to the middle of a line and Ctrl + K, the line is deleted up to the end of the line.
If the cursor is moved to the end of a line with Ctrl + E and then Ctrl + K, the line is deleted.
Expected behavior
When the cursor is at the end of a line, Ctrl + K will delete the newline character at the end of the line and the next line will follow.
The following sample code example illustrates this.
Check for existing issues
Describe the bug
When the cursor is between lines, delete up to the end of the line.
However, when the cursor is at the end of a line, the line is deleted.
To reproduce
If the cursor is moved to the middle of a line and Ctrl + K, the line is deleted up to the end of the line.
If the cursor is moved to the end of a line with Ctrl + E and then Ctrl + K, the line is deleted.
Expected behavior
When the cursor is at the end of a line, Ctrl + K will delete the newline character at the end of the line and the next line will follow.
The following sample code example illustrates this.
Current behavior:
Expected behavior:
Environment
Zed 0.54.1 – /Applications/Zed.app
macOS 12.6
architecture arm64
If applicable, add mockups / screenshots to help explain present your vision of the feature
No response
If applicable, attach your
~/Library/Logs/Zed/Zed.log
file to this issueNo response
The text was updated successfully, but these errors were encountered: