mirror of
https://github.com/nvim-lua/kickstart.nvim.git
synced 2025-08-19 17:19:01 +02:00
Adding surround plugin
This commit is contained in:
parent
649367e357
commit
35aeb42a0a
2 changed files with 20 additions and 2 deletions
18
lua/custom/plugins/surround.lua
Normal file
18
lua/custom/plugins/surround.lua
Normal file
|
@ -0,0 +1,18 @@
|
|||
return {
|
||||
{ -- https://github.com/echasnovski/mini.surround
|
||||
'echasnovski/mini.surround',
|
||||
version = false,
|
||||
recommended = true,
|
||||
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`
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue