update plugins for neovim 0.12
This commit is contained in:
parent
ec7f6c8121
commit
fa39d0a36c
7 changed files with 39 additions and 50 deletions
|
|
@ -3,26 +3,5 @@ return {
|
|||
'kylechui/nvim-surround',
|
||||
version = '*', -- Use stable releases
|
||||
event = 'VeryLazy',
|
||||
opts = {
|
||||
-- Default keymaps:
|
||||
-- ys{motion}{char} - Add surround in normal mode (e.g., ysiw" to surround word with quotes)
|
||||
-- ds{char} - Delete surround (e.g., ds" to delete surrounding quotes)
|
||||
-- cs{old}{new} - Change surround (e.g., cs"' to change " to ')
|
||||
-- S{char} - Add surround in visual mode (e.g., select text, S" to wrap in quotes)
|
||||
|
||||
-- Keep default keymaps; minimal config
|
||||
keymaps = {
|
||||
insert = '<C-g>s',
|
||||
insert_line = '<C-g>S',
|
||||
normal = 'ys',
|
||||
normal_cur = 'yss',
|
||||
normal_line = 'yS',
|
||||
normal_cur_line = 'ySS',
|
||||
visual = 'S',
|
||||
visual_line = 'gS',
|
||||
delete = 'ds',
|
||||
change = 'cs',
|
||||
change_line = 'cS',
|
||||
},
|
||||
},
|
||||
opts = {}, -- Version 4 provides the documented mappings by default
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue