We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb369ed commit 79c75bcCopy full SHA for 79c75bc
init.lua
@@ -111,6 +111,18 @@ vim.opt.showmode = false
111
-- Remove this option if you want your OS clipboard to remain independent.
112
-- See `:help 'clipboard'`
113
vim.opt.clipboard = 'unnamedplus'
114
+vim.g.clipboard = {
115
+ name = 'WslClipboard',
116
+ copy = {
117
+ ['+'] = 'clip.exe',
118
+ ['*'] = 'clip.exe',
119
+ },
120
+ paste = {
121
+ ['+'] = 'powershell.exe -c [Console]::Out.Write($(Get-Clipboard -Raw).tostring().replace("`r", ""))',
122
+ ['*'] = 'powershell.exe -c [Console]::Out.Write($(Get-Clipboard -Raw).tostring().replace("`r", ""))',
123
124
+ cache_enabled = 0,
125
+}
126
127
-- Enable break indent
128
vim.opt.breakindent = true
0 commit comments