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

Adding xclip for allowing nvim to copy to the system clipboard #282

Closed
wants to merge 1 commit into from

Conversation

horvay
Copy link

@horvay horvay commented Sep 24, 2024

Right now if you try to copy something to the system clipboard in neovim, you get an error

650 lines yanked into "+
clipboard: No provider. Try ":checkhealth" or ":h clipboard".

In my case I was trynig to copy the entire file with gg"+yG (goto top and copy to bottom into system clipboard)

After installing xclip, it worked for me.

@horvay horvay mentioned this pull request Sep 24, 2024
@dhh
Copy link
Member

dhh commented Oct 5, 2024

We already install wl-clipboard for this.

@dhh dhh closed this Oct 5, 2024
@horvay
Copy link
Author

horvay commented Oct 5, 2024

Huh, I tried to do "+y and nvim literally told me nothing was installed to handle it. Weird because I see the wl-copy utility is installed, but somehow it didn't link up with lazy... 😄

Probably just something funky on my install.

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

Successfully merging this pull request may close these issues.

2 participants