ctrl+c, ctrl+v on a line does paste under line
Check for existing issues
- [X] Completed
Describe the feature
When cursor is on a line, on vscode pressing CTRL+C then CTRL+V pastes under that line.
If applicable, add mockups / screenshots to help present your vision of the feature
Pressing CTRL+C then CTRL+V
Result:
Expected result:
Hey @CrazieNewb - which platform are you on? Windows?
It seems the relevant piece of code is in this method https://github.com/zed-industries/zed/blob/a5b14de4012beebec512a6fc8c30d3638eed7d1b/crates/editor/src/editor.rs#L6050-L6086
Hey @CrazieNewb - which platform are you on? Windows?
I am on linux.
To clarify, the expected behaviour is to copy a newline \r\n before the copied line.
To clarify, the expected behaviour is to copy a newline \r\n before the copied line.
Isnt \r\n windows-specific? as far as i remember \n was always enough in unix world
To clarify, the expected behaviour is to copy a newline \r\n before the copied line.
Isnt \r\n windows-specific? as far as i remember \n was always enough in unix world
I always thought its for backwards compatibility. Anyways, if i where to send code to someone with a system that didnt support \n there always a \r