mirror of
https://github.com/gyoder/dots.git
synced 2026-02-27 17:03:45 +00:00
nvim: removed old solution
This commit is contained in:
parent
6b312a8e49
commit
87dbe71a7b
1 changed files with 0 additions and 23 deletions
|
|
@ -99,28 +99,5 @@ if vim.env.TMUX ~= nil then
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
--
|
|
||||||
-- vim.api.nvim_create_autocmd("TextYankPost", {
|
|
||||||
-- callback = function()
|
|
||||||
-- vim.highlight.on_yank()
|
|
||||||
-- local osc52 = require("vim.ui.clipboard.osc52")
|
|
||||||
-- local contents = vim.v.event.regcontents
|
|
||||||
-- local regtype = vim.v.event.regtype
|
|
||||||
--
|
|
||||||
-- if type(contents) == "string" then
|
|
||||||
-- contents = { contents }
|
|
||||||
-- end
|
|
||||||
--
|
|
||||||
-- if regtype == "V" then
|
|
||||||
-- for i, line in ipairs(contents) do
|
|
||||||
-- contents[i] = line .. "\n"
|
|
||||||
-- end
|
|
||||||
-- end
|
|
||||||
--
|
|
||||||
-- osc52.copy("+")(contents)
|
|
||||||
-- osc52.copy("*")(contents)
|
|
||||||
-- end,
|
|
||||||
-- })
|
|
||||||
--
|
|
||||||
-- Enable experimental UI in neovim-nightly
|
-- Enable experimental UI in neovim-nightly
|
||||||
require('vim._extui').enable({})
|
require('vim._extui').enable({})
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue