mirror of
https://github.com/LazyVim/starter.git
synced 2026-07-24 05:21:04 +00:00
feat: Adjusted clipboard
This commit is contained in:
parent
627cf397a9
commit
e35efaac08
1 changed files with 17 additions and 12 deletions
|
|
@ -3,15 +3,20 @@
|
||||||
-- Add any additional options here
|
-- Add any additional options here
|
||||||
|
|
||||||
-- Clipboard copy --
|
-- Clipboard copy --
|
||||||
vim.g.clipboard = {
|
-- WSL clipboard copy
|
||||||
name = "wslclipboard",
|
-- vim.g.clipboard = {
|
||||||
copy = {
|
-- name = "wslclipboard",
|
||||||
["+"] = "wsl.exe clip.exe",
|
-- copy = {
|
||||||
["*"] = "wsl.exe clip.exe",
|
-- ["+"] = "wsl.exe clip.exe",
|
||||||
},
|
-- ["*"] = "wsl.exe clip.exe",
|
||||||
paste = {
|
-- },
|
||||||
["+"] = "wsl.exe powershell.exe Get-Clipboard -Raw",
|
-- paste = {
|
||||||
["*"] = "wsl.exe powershell.exe Get-Clipboard -Raw",
|
-- ["+"] = "wsl.exe powershell.exe Get-Clipboard -Raw",
|
||||||
},
|
-- ["*"] = "wsl.exe powershell.exe Get-Clipboard -Raw",
|
||||||
cache_enabled = 0,
|
-- },
|
||||||
}
|
-- cache_enabled = 0,
|
||||||
|
-- }
|
||||||
|
-- vim.opt.clipboard:append { 'unnamedplus' }
|
||||||
|
|
||||||
|
-- MAC OS Clipboard copy --
|
||||||
|
vim.opt.clipboard:append({ "unnamedplus" })
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue