update: added osc52 toggle to nvim & added yadm readd
This commit is contained in:
@@ -1,19 +1,4 @@
|
||||
vim.opt.clipboard = "unnamedplus"
|
||||
vim.g.clipboard = {
|
||||
name = "osc 52",
|
||||
copy = {
|
||||
["+"] = require("vim.ui.clipboard.osc52").copy("+"),
|
||||
["*"] = require("vim.ui.clipboard.osc52").copy("*"),
|
||||
},
|
||||
paste = {
|
||||
["+"] = function()
|
||||
return { vim.fn.split(vim.fn.getreg(""), "\n"), vim.fn.getregtype("") }
|
||||
end,
|
||||
["*"] = function()
|
||||
return { vim.fn.split(vim.fn.getreg(""), "\n"), vim.fn.getregtype("") }
|
||||
end,
|
||||
},
|
||||
}
|
||||
|
||||
vim.opt.fixeol = true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user