New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Keyboard end does not go at the end but at first line end of wrap #10888
Labels
defect
[core label]
editor
Feedback for code editing, formatting, editor iterations, etc
keymap / key binding
Feedback for keyboard shortcuts, key mapping, etc
linux
Comments
williamdes
added
admin read
Pending admin review
defect
[core label]
triage
Maintainer needs to classify the issue
labels
Apr 23, 2024
Moshyfawn
added
editor
Feedback for code editing, formatting, editor iterations, etc
linux
keymap / key binding
Feedback for keyboard shortcuts, key mapping, etc
and removed
triage
Maintainer needs to classify the issue
labels
Apr 23, 2024
Hi! I'd like to work on this issue. |
I believe the issue is |
SomeoneToIgnore
added a commit
that referenced
this issue
May 2, 2024
Release Notes: - Fixed #10888 This patch addresses behavior of `Editor::move_to_{beginning|end}_of_line`. It adds a setting, `stop_at_soft_wraps` when defining a keymap for the `editor::MoveToBeginningOfLine` and `editor::MoveToEndOfLine` actions. When `true`, it causes movement to the either end of the line (via, for example Home or End), to go to the logical end, as opposed to the nearest soft wrap point in the respective direction. --------- Co-authored-by: Kirill Bulatov <[email protected]>
The keybindings stuff is not that intuitive to edit, but here is how to make this setting work: [
// Bindings from VS Code
{
"context": "Editor",
"bindings": {
"end": [
"editor::MoveToEndOfLine",
{
"stop_at_soft_wraps": false
}
],
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
defect
[core label]
editor
Feedback for code editing, formatting, editor iterations, etc
keymap / key binding
Feedback for keyboard shortcuts, key mapping, etc
linux
Check for existing issues
Describe the bug / provide steps to reproduce it
As shown here
It should go to the end of the wrap when I hit Fin (End) on my keyboard.
Vscode works fine with this behavior. I guess this is an implementation bug.
Environment
Zed: v1.0.0 (Zed Dev a0fa8a4)
OS: Debian 12
Memory: 62.4 GiB
Architecture: x86_64
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 issue.No response
The text was updated successfully, but these errors were encountered: