-1

Basically i can't copy from clipboard, outside of Nvim, using mouse or ctrl +v.

Hi there!

Guys i have a problem basically i can't paste text from clipboard outside of Neovim.

I have init.lua file which content is beneath:

vim.api.nvim_set_option("clipboard", "unnamed")
require("my_additional_setup")

I checked with :checkhealth and it recognizes my tool for clipboard which is xclip.

Also what's more important is that i wanted to check what is currently in my clipboard after i pressed "+y" with: xclip -o selection clipboard

which gave me the exact result i was expecting (copied text from Neovim) but after i try to paste that text either in terminal or outside of it with regular ctrl +v method /mouse i am getting the different output, in this case - text I had copied to clipboard before I copied text from Neovim. What might be the cause of this? Tbh, i searched and I can't find answer to that maybe someone had same problem in the past? Any help would be much appreciated. Thanks in advance.

0

Browse other questions tagged or ask your own question.