--[ -- A plugin to add and manipulate "surrounding" characters. -- -- I barely use it. :/ -- -- NOTE: -- ys => To add surround. ys => then selection => then the char to surround. -- dsX => To delete surround. -- csYX => To change surround. Y => old one, X = new one --] return { "kylechui/nvim-surround", enabled = true, -- event = { "BufReadPre", "BufNewFile" }, event = "VeryLazy", version = "*", config = function() require("nvim-surround").setup({ keymaps = { insert = "s", insert_line = "S", normal = "ys", normal_cur = "yss", normal_line = "yS", normal_cur_line = "ySS", visual = "s", visual_line = "gS", delete = "ds", change = "cs", change_line = "cS", }, }) end, }