zed
zed copied to clipboard
When the Ctrl key is released, line scrolling continues while the up/down keys are held down
Check for existing issues
- [X] Completed
Describe the bug / provide steps to reproduce it
- Keep current cursor on first line (
ctrl + home). - Press
ctrl + downto line-scroll the editor. - Release the
ctrlkey, bu keep thedownkey pressed. In other editors, it will switch to moving cursor mode, but in Zed, it will still line-scrolling.
This is different from the behavior of all the editors I've used, if this isn't a bug it's a feature I hope there's an option to turn off it.
Environment
Zed: v0.149.3 (Zed) OS: Linux Wayland arch unknown Memory: 15.4 GiB Architecture: x86_64 GPU: Intel(R) Graphics (ADL-N) || Intel open-source Mesa driver || Mesa 24.1.5-arch1.1
If applicable, add mockups / screenshots to help explain present your vision of the feature
No response
If applicable, attach your Zed.log file to this issue.
No response
Curious which editor(s) implement this. Currently Zed matches the behavior of VSCode. For example on MacOS ctrl-fn-down scrolls without moving the cursor but subsequent down moves the cursor.
@notpeter I mean currently on my device Zed is the behavior I'm talking about. It could be that the behavior is the same as vscode on MacOS (I don't have MacOS to test it), but on my device (Linux/GNOME/Wayland) the behavior is different from vscode (Release the ctrl key, but keep the down key pressed will continue to scroll and will not move the cursor, it's annoying behavior).