zed
zed copied to clipboard
Move the cursor up one line and create a new line there to write code.
Check for existing issues
- [X] Completed
Describe the feature
This is a really small feature, but I think it should be there on the first place, in VSCode when you use Ctrl+shift+Enter, the cursor will move up one line above and create a new line there, really convenient.
but in Zed, It still goes down though, this makes me have to go up 1 line by using mouse or an arrow which is a little annoying, maybe there's a workaround for this that I am not aware of, but I hope you guys can create this little feature :) thanks for reading.
If applicable, add mockups / screenshots to help present your vision of the feature
No response
In VSCode this is called "Insert Line Above" and is bound to cmd-shift-enter on MacOS ctrl-shift-enter on Linux/Windows.
Related (but distinct):
- https://github.com/zed-industries/zed/issues/9891
I wouldn't say it's small. I've been using Zed exclusively for Rust on macOS, but I can't use it on Linux because every time I hit this shortcut I completely lose my train of thought. lol