sergeypdev/winpaste
Simple CLI tool that prints clipboard contents to stdout on Windows
Windows has clip.exe, but doesn't have paste.exe. This tool aims to remedy that situation.
I use it as a neovim clipboard provider on windows like this:
if vim.fn.has "win32" == 1 then
vim.g.clipboard = {
name = "WindowsClipboard",
copy = {
['+'] = 'clip.exe',
['*'] = 'clip.exe',
},
paste = {
['+'] = 'winpaste.exe',
['*'] = 'winpaste.exe',
},
cache_enabled = 0,
}
end
zig build -Doptimize=ReleaseSafe
Exe will be in zig-out/bin/winpaste.exe