nvim surround: sensible keymaps

This commit is contained in:
2026-04-11 08:18:40 +02:00
parent ed9abcd1f1
commit 3acc5bc70d
+8 -1
View File
@@ -3,6 +3,13 @@ return {
version = "*", version = "*",
event = "VeryLazy", event = "VeryLazy",
config = function() config = function()
require("nvim-surround").setup() require("nvim-surround").setup({
keymaps = {
add = "S", -- Add surrounding
delete = "SD", -- Delete surrounding
change = "SC", -- Change surrounding
change_line = "SCL", -- Change surrounding on current line
},
})
end, end,
} }