mirror of
https://github.com/cap153/nvim.git
synced 2025-12-27 11:45:30 +08:00
first commit
This commit is contained in:
commit
6955e90e07
61 changed files with 3641 additions and 0 deletions
21
lua/lazy/plugins/surround.lua
Normal file
21
lua/lazy/plugins/surround.lua
Normal 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
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue