added mini surround
This commit is contained in:
20
lua/plugins/mini-surround.lua
Normal file
20
lua/plugins/mini-surround.lua
Normal file
@ -0,0 +1,20 @@
|
||||
return {
|
||||
'echasnovski/mini.surround',
|
||||
version = '*',
|
||||
config = function()
|
||||
require('mini.surround').setup({
|
||||
mappings = {
|
||||
add = 'sa', -- Add surrounding in Normal and Visual modes
|
||||
delete = 'sd', -- Delete surrounding
|
||||
find = 'sf', -- Find surrounding (to the right)
|
||||
find_left = 'sF', -- Find surrounding (to the left)
|
||||
highlight = 'sh', -- Highlight surrounding
|
||||
replace = 'sr', -- Replace surrounding
|
||||
update_n_lines = 'sn', -- Update `n_lines`
|
||||
|
||||
suffix_last = 'l', -- Suffix to search with "prev" method
|
||||
suffix_next = 'n', -- Suffix to search with "next" method
|
||||
},
|
||||
})
|
||||
end,
|
||||
}
|
Reference in New Issue
Block a user