Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option clipboard=unnamed ignored on Neovim #55

Closed
gustavo-hms opened this issue Apr 22, 2015 · 13 comments
Closed

Option clipboard=unnamed ignored on Neovim #55

gustavo-hms opened this issue Apr 22, 2015 · 13 comments

Comments

@gustavo-hms
Copy link

I have both Vim and Neovim configured with “set clipboard=unnamed”. It works as expected for both Vim and Neovim: if I yank something on (Neo)Vim, it is placed in the * register; also, if I copy something on another program, again the * register is updated. When I paste something without specifying a register, the content of the * register is used.

Nevertheless, if I enable the Easyclip plugin on Neovim, the “clipboard=unnamed” option starts to be ignored completely. All unnamed operations start to use the " register, not the * one. Vim remains working though.

I'm not sure if this problem should be issued here or on Neovim repository. But the oddity is that it's only happening when Easyclip is enabled on Neovim.

@svermeulen
Copy link
Owner

Guess I'll have to finally give neovim a go to see what's going on there. I use "clipboard=unnamed" as well. Thanks for the report.

@gustavo-hms
Copy link
Author

Great! Thanks
If you need more info, don't hesitate to ask

@lazywei
Copy link

lazywei commented Apr 28, 2015

will it work with clipboard=unnamedplus?

@gustavo-hms
Copy link
Author

No, it doesn't. Same behaviour as before.

@jsborjesson
Copy link
Contributor

Does anyone have an idea about this? I miss easyclip in my setup!

@svermeulen
Copy link
Owner

I work primarily on windows so I can't debug this issue yet. clipboard=unnamed doesn't even work yet on windows in neovim so I am blocked (details here) If somebody else wants to take a look in the meantime, I accept pull requests :)

@jsborjesson
Copy link
Contributor

Ah, okay. I'd love to fix it but I have a lot to learn about vim plugins
just to get started. I might take a look if I have time someday - any clues
to where in the code the problem might lie?
On 8 Aug 2015 22:49, "Steve Vermeulen" notifications@github.com wrote:

I work primarily on windows so I can't debug this issue yet.
clipboard=unnamed doesn't even work yet on windows in neovim so I am
blocked (details here
https://www.reddit.com/r/neovim/comments/3g94le/how_to_set_up_clipboard_provider_on_windows_for/)
If somebody else wants to take a look in the meantime, I accept pull
requests :)


Reply to this email directly or view it on GitHub
#55 (comment)
.

@simonweil
Copy link

Can this issue be related to: neovim/neovim#3141?

@jsborjesson
Copy link
Contributor

Could be, they might have made the setting backwards incompatible in some
way, hopefully it will just start working if they fix that
On 9 Aug 2015 10:32, "Simon Weil" notifications@github.com wrote:

Can this issue be related to: neovim/neovim#3141
neovim/neovim#3141?


Reply to this email directly or view it on GitHub
#55 (comment)
.

@svermeulen
Copy link
Owner

I took a brief look at this on a ubuntu virtualbox, and it looks like easyclip is doing things correctly with clipboard=unnamed. It seems very likely that it's related to neovim/neovim#3141

@simonweil
Copy link

neovim/neovim#3141 has been merged.
Does this issue still exist with neovim head?

@gustavo-hms
Copy link
Author

I’ve just updated my neovim installation and it seems to be working now. I thing this issue can be closed.

@jsborjesson
Copy link
Contributor

I can confirm, awesome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants