silicon.nvim icon indicating copy to clipboard operation
silicon.nvim copied to clipboard

Simplify clipboard interface

Open Slackadays opened this issue 2 years ago • 2 comments
trafficstars

I'm searching GH for all mentions of xclip and I came across commit https://github.com/krivahtoo/silicon.nvim/commit/ec20eeeefa371887601a5cd45d38840f90756d5f where you add cases for both xclip and wl-copy. I saw that it could be simplified radically with my project Clipboard which works the same on X11/Wayland and a bunch of other platforms too. So, you would only have to think about one format of command for all the possible platforms, keeping that portion of code super simple. I hope this helps!

Slackadays avatar Feb 27 '23 19:02 Slackadays

Nice project. Though I'm not sure how it could be used here.

krivahtoo avatar Mar 06 '23 20:03 krivahtoo

Nice project. Though I'm not sure how it could be used here.

Sorry for the late reply, but I think it could be used here to add compatibility to other platforms that don't use either X11 nor Wayland, such as macOS, headless Linux/BSD, Windows, etc. It would also simplify the dependencies to just one instead of two.

Slackadays avatar Mar 13 '23 04:03 Slackadays