chore: add default keymaps for reference
This commit is contained in:
@@ -1,6 +1,21 @@
|
|||||||
return {
|
return {
|
||||||
"kylechui/nvim-surround",
|
'kylechui/nvim-surround',
|
||||||
event = { "BufReadPre", "BufNewFile" },
|
event = { 'BufReadPre', 'BufNewFile' },
|
||||||
version = "*",
|
version = '*',
|
||||||
config = true,
|
config = true,
|
||||||
|
opts = {
|
||||||
|
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',
|
||||||
|
},
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user