dotfiles/nvim/lua/plugins/surround.lua

15 lines
451 B
Lua
Raw Permalink Normal View History

2023-12-13 15:18:48 +01:00
return {
"echasnovski/mini.surround",
opts = {
mappings = {
add = "gsa", -- Add surrounding in Normal and Visual modes
delete = "gsd", -- Delete surrounding
find = "gsf", -- Find surrounding (to the right)
find_left = "gsF", -- Find surrounding (to the left)
highlight = "gsh", -- Highlight surrounding
replace = "gsr", -- Replace surrounding
update_n_lines = "gsn", -- Update `n_lines`
},
},
}