We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
scroll_beyond_last_line
There are three related buggy behaviors. I'd be happy to split these into separate issues if you'd prefer that.
All of these are with the setting "scroll_beyond_last_line": "off", which matches the behavior of neovim.
"scroll_beyond_last_line": "off"
ctrl-d
ctrl-u
Zed: v0.145.1 (Zed) OS: macOS 14.4.1 Memory: 16 GiB Architecture: x86_64
Video showing the first two bugs:
Video showing the third bug:
The same commands in neovim:
No response
The text was updated successfully, but these errors were encountered:
I think I have fixes for these issues. I'll open a PR.
Sorry, something went wrong.
Fix ctrl-d/u issues with scroll_beyond_last_line off (#15395)
5e869da
Closes #15356 Release Notes: - vim: Fixed issues with `ctrl-d`/`ctrl-u` when `scroll_beyond_last_line` is set to `off` ([#15356](#15356)). https://github.com/user-attachments/assets/d3166393-4a4e-4195-9db6-3ff1d4aeec78 --------- Co-authored-by: Marshall Bowers <elliott.codes@gmail.com>
<ctrl-d>
off
Successfully merging a pull request may close this issue.
Check for existing issues
Describe the bug / provide steps to reproduce it
There are three related buggy behaviors. I'd be happy to split these into separate issues if you'd prefer that.
All of these are with the setting
"scroll_beyond_last_line": "off"
, which matches the behavior of neovim.ctrl-d
can't reach the bottom of the buffer.ctrl-d
, it will actually go up.ctrl-u
will scroll up, but the cursor won't move with it. It stays on the last line.Environment
Zed: v0.145.1 (Zed)
OS: macOS 14.4.1
Memory: 16 GiB
Architecture: x86_64
If applicable, add mockups / screenshots to help explain present your vision of the feature
Video showing the first two bugs:
Screen.Recording.2024-07-27.at.1.47.48.PM.mov
Video showing the third bug:
Screen.Recording.2024-07-27.at.1.49.02.PM.mov
The same commands in neovim:
Screen.Recording.2024-07-27.at.1.57.24.PM.mov
If applicable, attach your Zed.log file to this issue.
No response
The text was updated successfully, but these errors were encountered: