(nvim) mac clipboard update

This commit is contained in:
jc 2025-01-14 18:35:46 -05:00
commit aab1fb6119

View file

@ -31,7 +31,18 @@ if Utils.os.is_linux() then
}
end
elseif Utils.os.is_mac() then
vim.opt.clipboard:append { "unnamedplus" }
vim.g.clipboard = {
name = "mac-clipboard",
copy = {
['+'] = "pbcopy",
['*'] = "pbcopy",
},
paste = {
['+'] = "pbpaste",
['*'] = "pbpaste",
},
cache_enabled = 1,
}
elseif Utils.os.is_wsl() then
vim.g.clipboard = {
name = "win32yank",