Add `nvim-surround`.
This commit is contained in:
parent
95a334f432
commit
3ad51404e2
|
@ -0,0 +1,23 @@
|
|||
return {
|
||||
"kylechui/nvim-surround",
|
||||
version = "*",
|
||||
event = "VeryLazy",
|
||||
config = function()
|
||||
---@diagnostic disable-next-line
|
||||
require("nvim-surround").setup({
|
||||
keymaps = {
|
||||
insert = "<c-g>s",
|
||||
insert_line = "<c-g>S",
|
||||
normal = "s",
|
||||
normal_cur = "ss",
|
||||
normal_line = "S",
|
||||
normal_cur_line = "SS",
|
||||
visual = "S",
|
||||
visual_line = "gS",
|
||||
delete = "ds",
|
||||
change = "cs",
|
||||
change_line = "cS",
|
||||
},
|
||||
})
|
||||
end
|
||||
}
|
Loading…
Reference in New Issue