diff --git a/lua/config/options.lua b/lua/config/options.lua index 1f93e19..e3c913a 100644 --- a/lua/config/options.lua +++ b/lua/config/options.lua @@ -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, }