refine the wsl clipboard

This commit is contained in:
Oliver Hartmann 2023-01-24 13:00:38 +01:00
parent beba8b3c51
commit 7d318b2512

View File

@ -37,14 +37,14 @@ opt.shiftwidth = indent
opt.tabstop = indent opt.tabstop = indent
if vim.fn.has("wsl") == 1 then if vim.fn.has("wsl") == 1 then
vim.g.clipboard = { vim.g.clipboard = {
name = "win32yank-wsl", name = 'WslClipboard',
copy = { copy = {
["+"] = "win32yank.exe -i --crlf", ['+'] = 'win32yank.exe -i --crlf',
["*"] = "win32yank.exe -i --crlf", ['*'] = 'win32yank.exe -i --crlf',
}, },
paste = { paste = {
["+"] = "win32yank.exe -o --lf", ['+'] = 'win32yank.exe -o --lf',
["*"] = "win32yank.exe -o --lf", ['*'] = 'win32yank.exe -o --lf',
}, },
cache_enabled = 0, cache_enabled = 0,
} }