diff --git a/lua/custom/plugins/surround.lua b/lua/custom/plugins/surround.lua new file mode 100644 index 00000000..9017a7d8 --- /dev/null +++ b/lua/custom/plugins/surround.lua @@ -0,0 +1,23 @@ +return { + "kylechui/nvim-surround", + version = "*", + event = "VeryLazy", + config = function() + ---@diagnostic disable-next-line + require("nvim-surround").setup({ + keymaps = { + insert = "s", + insert_line = "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 +}