init:dotfiles

This commit is contained in:
Dich
2025-05-28 20:40:21 +08:00
parent de050d50a6
commit 05707a142c
44 changed files with 9008 additions and 0 deletions

View File

@ -0,0 +1,18 @@
return {
"ojroques/nvim-osc52",
config = function()
require("osc52").setup {
max_length = 0, -- 不限制长度
silent = false,
trim = false,
}
local function copy()
if vim.v.event.operator == "y" and vim.v.event.regname == "" then
require("osc52").copy_register("")
end
end
vim.api.nvim_create_autocmd("TextYankPost", { callback = copy })
end,
}