Lua config copy to clipboard

i have this code but it doesnt working
2022-02-10_16-59

how can i setup copy into clipboard?

It seems to work fine for me. Do you have a clipboard provider like xclip or xsel installed on your machine? For more info, read :h clipboard and :h clipboard-tool.

Run:

:checkhealth

It checks a bunch of things, among them the clipboard provider, xclip in my case. Another thing I have to pay attention is that β€œ*” does not mean β€œclipboard” in some Linux distros, most of them use the register β€œ*” to primary selection register, when you select something in your browser it will populate this register. Use plus register instead β†’ β€œ+”

1 Like