I press "*y, and paste in NotePad, the pasted text isn't the text from neovim.
However, if I go to neovim, press :, and press ctrl-v, the text from neovim is pasted into neovim command mode.
It seems NeoVim's copy/paste support is only within Neovim, "* doesn't communicate to Windows 10 clipboard.
I find this issue is sporadic. See the screenshot. I opened two NeoVim. One NeoVim is able to get the content of the Windows 10 clipboard, while the other cannot.
@gqqnbig,
The (win32yank)[https://ci.appveyor.com/project/equalsraf/win32yank] is part of the neovim-qt deloyment package on Windows. It deals with bridging the copy and paste operations between nvim and the Windows Clipboard.
I'm curious if you could provide the following information. It might help myself, or another, troubleshoot!
:CheckHealthnvim.exe version and nvim-qt.exe version that's being executedI'm curious how your win32yank.exe is setup. You might consider running the following PowerShell in a non-Administrator PowerShell console. It resolves the source location for some binaries and runs :CheckHealth in nvim.exe.
# Get PATH resolved binary source locations
'win32yank.exe','nvim.exe','nvim-qt.exe' | Get-Command -ErrorAction SilentlyContinue | Select -Property Source
nvim +CheckHealth
@DustinVenegas Hi, thanks for the followup! I'm so busy recently and don't have time debugging this. I understand it's disappointing for you developers, I'm so sorry about that.
Hi @DustinVenegas
I have the similar issue here.
Thanks!
Clipboard support on Windows 10 breaks randomly for me; here is a screen capture video to show what I mean by random: https://streamable.com/b67ya
In the video I copy something from notepad to the system clipboard, copy something from another buffer to the vim internal yank buffer, bind a macro to pasting and adding a newline, and then just repeatedly type @@.
It works perfectly in command-line nvim but fails about 50% of the time in neovim-qt, pasting the contents of the vim default internal buffer instead of the clipboard buffer.
I should add that clipboard support has been flaky for me on Windows ever since I started trying to use neovim sometime in early August, and is broken also with the latest release from https://github.com/neovim/neovim/releases . It's only now that I got frustrated enough to start triaging the cause of the issue.
I get the same issue... clipboard breaks randomly. Any news regarding this? Has the issue been solved in newer releases (as of 2019 / almost 2020)?
@alvarocaceresmunoz
Clipboard works fine for me on Windows/Linux.
Without more information, it is difficult to track down the problem. Dustin has some great suggestions for the essential debugging information above.
Most helpful comment
Clipboard support on Windows 10 breaks randomly for me; here is a screen capture video to show what I mean by random: https://streamable.com/b67ya
In the video I copy something from notepad to the system clipboard, copy something from another buffer to the vim internal yank buffer, bind a macro to pasting and adding a newline, and then just repeatedly type
@@.It works perfectly in command-line nvim but fails about 50% of the time in neovim-qt, pasting the contents of the vim default internal buffer instead of the clipboard buffer.
I should add that clipboard support has been flaky for me on Windows ever since I started trying to use neovim sometime in early August, and is broken also with the latest release from https://github.com/neovim/neovim/releases . It's only now that I got frustrated enough to start triaging the cause of the issue.