return { { "kylechui/nvim-surround", version = "*", -- Use for stability; omit to use `main` branch for the latest features event = "VeryLazy", config = function() require("nvim-surround").setup({ -- Configuration here, or leave empty to use defaults }) end } } -- Old text Command New text -- -------------------------------------------------------------------------------- -- surround_words ysiw) (surround_words) -- make strings ys$" "make strings" -- [delete around me!] ds] delete around me! -- remove HTML tags dst remove HTML tags -- 'change quotes' cs'" "change quotes" -- or tag types csth1

or tag types

-- delete(function calls) dsf function calls -- :h nvim-surround.usage