This commit is contained in:
Oliver Hartmann
2023-01-26 13:42:45 +01:00

View File

@ -38,12 +38,12 @@ if vim.fn.has("wsl") == 1 then
vim.g.clipboard = {
name = 'WslClipboard',
copy = {
['+'] = 'win32yank.exe -i --crlf',
['*'] = 'win32yank.exe -i --crlf',
},
['+'] = 'clip.exe',
['*'] = 'clip.exe',
},
paste = {
['+'] = 'win32yank.exe -o --lf',
['*'] = 'win32yank.exe -o --lf',
['+'] = 'powershell.exe -c [Console]::Out.Write($(Get-Clipboard -Raw).tostring().replace("`r", ""))',
['*'] = 'powershell.exe -c [Console]::Out.Write($(Get-Clipboard -Raw).tostring().replace("`r", ""))',
},
cache_enabled = 0,
}