feat: Added clipboard copy

This commit is contained in:
Binciu Viorel 2024-05-25 12:30:02 +03:00
parent b59e7c315b
commit 109669c09b

View file

@ -1,3 +1,17 @@
-- Options are automatically loaded before lazy.nvim startup
-- Default options that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/options.lua
-- Add any additional options here
-- Clipboard copy --
vim.g.clipboard = {
name = "wslclipboard",
copy = {
["+"] = "wsl.exe clip.exe",
["*"] = "wsl.exe clip.exe",
},
paste = {
["+"] = "wsl.exe powershell.exe Get-Clipboard -Raw",
["*"] = "wsl.exe powershell.exe Get-Clipboard -Raw",
},
cache_enabled = 0,
}