mirror of
https://github.com/LazyVim/starter.git
synced 2026-07-25 14:01:03 +00:00
feat: copy from WSL2 ubuntu to Windows clipboard
This commit is contained in:
parent
75625b29e8
commit
99c333eb2b
1 changed files with 15 additions and 0 deletions
15
init.lua
15
init.lua
|
|
@ -1,2 +1,17 @@
|
|||
-- bootstrap lazy.nvim, LazyVim and your plugins
|
||||
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…
Add table
Reference in a new issue