Add `nvim-surround`.

This commit is contained in:
Henry Denny 2024-02-26 13:13:19 +00:00
parent 95a334f432
commit 3ad51404e2
1 changed files with 23 additions and 0 deletions

View File

@ -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
}