Skip to content

Commit

Permalink
fix(wsl): paste selected clipboard content correctly.
Browse files Browse the repository at this point in the history
  • Loading branch information
ayamir committed May 16, 2023
1 parent b607f5a commit 42e816b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lua/core/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,8 @@ local clipboard_config = function()
["*"] = "clip.exe",
},
paste = {
["+"] = [[powershell.exe -NoProfile -NoLogo -NonInteractive -MTA -Command [console]::Out.Write($(Get-Clipboard -Raw).tostring().replace("`r", ""))]],
["*"] = [[powershell.exe -NoProfile -NoLogo -NonInteractive -MTA -Command [console]::Out.Write($(Get-Clipboard -Raw).tostring().replace("`r", ""))]],
["+"] = [[powershell.exe -NoProfile -NoLogo -NonInteractive -Command [console]::Out.Write($(Get-Clipboard -Raw).tostring().replace("`r", ""))]],
["*"] = [[powershell.exe -NoProfile -NoLogo -NonInteractive -Command [console]::Out.Write($(Get-Clipboard -Raw).tostring().replace("`r", ""))]],
},
cache_enabled = 0,
}
Expand Down

0 comments on commit 42e816b

Please sign in to comment.