Quantcast
Channel: Active questions tagged ubuntu - Stack Overflow
Viewing all articles
Browse latest Browse all 5952

Can't copy from clipboard outside of Neovim using ctrl + v

$
0
0

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.


Viewing all articles
Browse latest Browse all 5952

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>