-
Notifications
You must be signed in to change notification settings - Fork 298
Clipboard pastes per line #628
Comments
This might also help something I've noticed on my machine where I get a space between each copied line.
but when I paste I get
It is being brought into the clipboard correctly, as other editors are fine with pasting it, its just pasting into oni. |
Thanks for logging this! It seems like there are a few issues with multiline text (newlines, formatting). For multine line pasting, it might be better to set the buffer line(s) directly, as opposed to simulating typing in insert mode.
Unfortunately this doesn't work for me on Windows - I've tried a few different settings for |
With I could Ctrl+c and then use that command and it pasted at the cursor position. |
@extr0py Use Or optionally and a more complex solution...
Thanks for the feedback. @CrossR! |
I've realised that the "Paste" option under the Edit menu does this similarly to the way @cyansprite is proposing.
So if there is issues around it not working it may affect there too. |
I think we should assume the user will have clipboard support, if not that is a neovim issue not an oni issue.
we already handle it this way here, so we should handle it the same way else where. @extr0py what are your thoughts on this? |
That is an excellent point, I'm use to using "+y/p/d on linux, and it's pretty fast.
This sounds good.
Sounds pretty awesome, future ways to be more extensible should be factored in and I haven't thought about that. |
Copy a lot of lines of text and use c-v, it will go through each line an insert it slowly.
I think it might be better to use norm! "+p?
The text was updated successfully, but these errors were encountered: