Closed thalesmello closed 8 years ago
This already works; see here.
For example, in normal mode, on Command-V
, it does :set paste
, enters insert mode, and allows the pasted text straight through (no "+P
needed).
Strange. That does't happen on my computer.
Vim interprets the characters literally. Would you have any idea what configuration could be missing?
Notice terminus pastes correctly (escaping the pasted text) when I'm in insert mode.
Atenciosamente, Thales Mello.
On Thu, Jul 21, 2016 at 4:42 PM, Greg Hurrell notifications@github.com wrote:
This already works; see here https://github.com/wincent/terminus/blob/2c0f002391e7111d0ef07ea4f3def98820e605a5/plugin/terminus.vim#L130-L149 .
For example, in normal mode, on Command-V, it does :set paste, enters insert mode, and allows the pasted text straight through (no "+P needed).
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/wincent/terminus/issues/16#issuecomment-234361742, or mute the thread https://github.com/notifications/unsubscribe-auth/ABEz4iIj9Fbdqydl3E7RjrDyVpMqT8j9ks5qX8uggaJpZM4JSDBo .
Nevermind. I just found the reason it does not seem to be working: I'm using Neovim.
I noticed there is an issue open. I'll take a look into it.
I was wondering if it would be possible to handle bracketed paste on normal mode.
Imagine the (assuming + register is linked to system clipboard):
Command + v
would"+P
Command + v
would"+p
That would make the Vim terminal behave exactly like other GUI editors.
Is something like this even possible?