summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/plugins/surround.lua
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/lua/plugins/surround.lua')
-rw-r--r--.config/nvim/lua/plugins/surround.lua21
1 files changed, 21 insertions, 0 deletions
diff --git a/.config/nvim/lua/plugins/surround.lua b/.config/nvim/lua/plugins/surround.lua
new file mode 100644
index 0000000..ffe4bf3
--- /dev/null
+++ b/.config/nvim/lua/plugins/surround.lua
@@ -0,0 +1,21 @@
+return {
+ "echasnovski/mini.surround",
+ event = "VeryLazy",
+ config = function()
+ require("mini.surround").setup({
+ mappings = {
+ add = 'ys',
+ delete = 'ds',
+ find = '',
+ find_left = '',
+ highlight = '',
+ replace = '',
+ update_n_lines = '',
+
+ -- Add this only if you don't want to use extended mappings
+ suffix_last = '',
+ suffix_next = '',
+ }
+ })
+ end
+}