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
if vim.fn.has("wsl") == 1 then
vim.g.clipboard = {
name = "win32yank-wsl",
name = 'WslClipboard',
copy = {
["+"] = "win32yank.exe -i --crlf",
["*"] = "win32yank.exe -i --crlf",
['+'] = 'win32yank.exe -i --crlf',
['*'] = 'win32yank.exe -i --crlf',
},
paste = {
["+"] = "win32yank.exe -o --lf",
["*"] = "win32yank.exe -o --lf",
['+'] = 'win32yank.exe -o --lf',
['*'] = 'win32yank.exe -o --lf',
},
cache_enabled = 0,
}