mirror of
https://github.com/LazyVim/starter.git
synced 2026-07-22 12:31:04 +00:00
feat: Added clipboard copy
This commit is contained in:
parent
b59e7c315b
commit
109669c09b
1 changed files with 14 additions and 0 deletions
|
|
@ -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,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue