mirror of https://github.com/LazyVim/starter
feat: copy from WSL2 ubuntu to Windows clipboard
parent
75625b29e8
commit
99c333eb2b
15
init.lua
15
init.lua
|
@ -1,2 +1,17 @@
|
||||||
-- bootstrap lazy.nvim, LazyVim and your plugins
|
-- bootstrap lazy.nvim, LazyVim and your plugins
|
||||||
require("config.lazy")
|
require("config.lazy")
|
||||||
|
|
||||||
|
-- to copy from WSL2 ubuntu to Windows
|
||||||
|
vim.opt.clipboard = "unnamedplus"
|
||||||
|
vim.g.clipboard = {
|
||||||
|
name = "win32yank-wsl",
|
||||||
|
copy = {
|
||||||
|
["+"] = "/mnt/d/64/win32yank.exe -i --crlf",
|
||||||
|
["*"] = "/mnt/d/64/win32yank.exe -i --crlf",
|
||||||
|
},
|
||||||
|
paste = {
|
||||||
|
["+"] = "/mnt/d/64/win32yank.exe -o --lf",
|
||||||
|
["*"] = "/mnt/d/64/win32yank.exe -o --lf",
|
||||||
|
},
|
||||||
|
cache_enabled = 0,
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue