added surround plugin
This commit is contained in:
parent
29f3fa35dd
commit
6b80258e4e
1 changed files with 20 additions and 0 deletions
20
nvim/.config/nvim/lua/plugin/surround.lua
Normal file
20
nvim/.config/nvim/lua/plugin/surround.lua
Normal file
|
@ -0,0 +1,20 @@
|
|||
return {
|
||||
{
|
||||
"echasnovski/mini.surround",
|
||||
event = "VeryLazy",
|
||||
opts = {
|
||||
mappings = {
|
||||
add = "gza",
|
||||
delete = "gzd",
|
||||
find = "gzf",
|
||||
find_left = "gzF",
|
||||
highlight = "gzh",
|
||||
replace = "gzr",
|
||||
update_n_lines = "gzn",
|
||||
},
|
||||
},
|
||||
config = function (_, opts)
|
||||
require("mini.surround").setup(opts)
|
||||
end,
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue