update: slightly WIP update with cool features
This commit is contained in:
@@ -1,9 +1,3 @@
|
||||
-- clipboard.lua will be edited by the bash command
|
||||
-- it will be replaced with one of the files from templates/clipboard/ directory
|
||||
vim.o.clipboard = "unnamedplus"
|
||||
-- vim.api.nvim_create_autocmd("TextYankPost", {
|
||||
-- callback = function()
|
||||
-- local copy_to_unnamedplus = require("vim.ui.clipboard.osc52").copy("+")
|
||||
-- copy_to_unnamedplus(vim.v.event.regcontents)
|
||||
-- local copy_to_unnamed = require("vim.ui.clipboard.osc52").copy("*")
|
||||
-- copy_to_unnamed(vim.v.event.regcontents)
|
||||
-- end,
|
||||
-- })
|
||||
|
||||
Reference in New Issue
Block a user