diff --git a/lua/config/options.lua b/lua/config/options.lua index 3ea1454..eddae9d 100644 --- a/lua/config/options.lua +++ b/lua/config/options.lua @@ -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, +}