add smart-yank plugin

This commit is contained in:
2024-08-30 14:17:40 +05:30
parent 2855281b65
commit 35b6026094
2 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,20 @@
require("smartyank").setup({
highlight = {
enabled = true,
higroup = "IncSearch",
timeout = 2000,
},
clipboard = {
enabled = true,
},
tmux = {
enabled = true,
cmd = { "tmux", "set-buffer", "-w" },
},
osc52 = {
enabled = true,
ssh_only = false,
silent = false,
echo_hl = "Directory",
},
})

View File

@ -195,5 +195,12 @@ local plugins = {
"nvim-tree/nvim-web-devicons",
},
},
{
"ibhagwan/smartyank.nvim",
event = "VeryLazy",
config = function()
require("configs.smart-yank")
end,
},
}
return plugins