Feature Request: Disable Copy to system clipboard
kevintraver opened this issue · comments
Kevin Traver commented
It would be nice to have the ability to disable yanking to the +
register.
Kiyan commented
not sure how to do this, maybe you could make a PR if you can :)
Kevin Traver commented
Could probably be something like this:
if config.use_system_clipboard then
vim.fn.setreg('+', content);
vim.fn.setreg('*', content);
end
I'm not exactly how to sure load the config options in fs.lua
Kiyan commented
Could you write a little function of your own in your config and port it here ?
Lò [By The Way] commented
Hi!
I've provide #1141 to solve this. If there's any question please ask!