This is on Windows.
When going into insert mode and really inserting via Shift+Insert, it will insert <S-Insert> instead of what's in the clipboard.
The clipboard provider works well though. Inserting in normal mode via "+p or "*p works as expected.
The
You can define a mapping for it
cmap <S-Insert> <C-R>+
I see, so I put that in my ginit.vim.
I think it would make sense to have this default in Neovim-Qt. It might be handled by the terminal emulator in Neovim, but I think everyone expects <S-Insert> to paste the clipboard.
It's one of those things that just bloat ginit.vim and is a hurdle for new users.
I used
map! <S-Insert> <C-R>+
now, but it doesn't work as expected. In insert mode it adds a newline and in command mode it appends ^M.
After doing some research on the issue tracker, I think this is related to https://github.com/equalsraf/neovim-qt/issues/218.
So now is there any way to paste the contents of the clipboard?
"+p will paste from the system clipboard
"+y will copy to it
On Fri, 29 Mar 2019 at 12:20 pm, 绅士喵 notifications@github.com wrote:
So now is there any way to paste the contents of the clipboard?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/equalsraf/neovim-qt/issues/253#issuecomment-477828683,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAHUqUz9Kh5f9p1CHp4dpFXwGQjYNaXMks5vbWo_gaJpZM4MYBNs
.>
Sent from Gmail Mobile
By design. Neovim does not map <S-Insert> as paste.
You need to add a mapping such as:
map! <S-Insert> <C-R>+
Most helpful comment
The output is a bug, but by default shift insert would not work for pasting, in regular nvim this is handled by the console.
You can define a mapping for it