mirror of
https://github.com/tuxdotrs/tawm.git
synced 2025-07-05 20:56:33 +05:30
add smart-yank plugin
This commit is contained in:
20
pkgs/nvim/nvim/lua/configs/smart-yank.lua
Normal file
20
pkgs/nvim/nvim/lua/configs/smart-yank.lua
Normal 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",
|
||||
},
|
||||
})
|
@ -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
|
||||
|
Reference in New Issue
Block a user