dotfiles/.config/nvim/lua/plugins/mini.lua

21 lines
638 B
Lua

return{
{'echasnovski/mini.nvim', version = '*'},
{
'echasnovski/mini.surround',
version = '*',
opts = {
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
},
},
},
}