add configs

This commit is contained in:
dayatz 2024-05-03 11:09:40 +08:00
parent 6f6f38a6b5
commit ad0a848a78
3 changed files with 99 additions and 29 deletions

View file

@ -0,0 +1,20 @@
return {
'kylechui/nvim-surround',
config = function()
require('nvim-surround').setup {
keymaps = {
insert = '<C-g>s',
insert_line = '<C-g>S',
normal = 'ys',
normal_cur = 'yss',
normal_line = 'yS',
normal_cur_line = 'ySS',
visual = 'vs',
visual_line = 'vS',
delete = 'ds',
change = 'cs',
change_line = 'cS',
},
}
end,
}