This commit is contained in:
Oluwatobi 2023-10-31 12:00:00 +01:00
parent 2100726468
commit 3a76bbf0c6
14 changed files with 397 additions and 178 deletions

14
lua/plugins/surrond.lua Normal file
View file

@ -0,0 +1,14 @@
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`
},
},
}