first commit

This commit is contained in:
captain 2024-10-07 15:29:32 +08:00
commit 6955e90e07
61 changed files with 3641 additions and 0 deletions

View file

@ -0,0 +1,21 @@
-- ===
-- === mini.nvim surround,各种对字符的包裹{} [] ''
-- ===
return {
'echasnovski/mini.nvim',
branch = 'stable',
config = function()
require('mini.surround').setup {
mappings = {
add = 's', -- Add surrounding
delete = 'sd', -- Delete surrounding
find = 'sf', -- Find surrounding (to the right)
find_left = 'sF', -- Find surrounding (to the left)
highlight = 'sh', -- Highlight surrounding
replace = 'cs', -- Replace surrounding/change sround
update_n_lines = 'sn', -- Update `n_lines`
},
}
end
}