Closed ShiChenCong closed 2 years ago
Checklist
:h nvim-surround
Is your feature request related to a problem? Please describe. i'd like to map like this
map('n', "<leader>'", "ysiw'") map('n', '<leader>[', 'ysiw[') map('n', '<leader>{', 'ysiw{') map('n', '<leader>(', 'ysiw(')
Describe the solution you'd like successful mapping
Additional context Thank you for the awesome work
Please see #134 for information. TL;DR you need remap = true, since vim.keymap.set does not enable that option by default.
remap = true
vim.keymap.set
works,thank you
Checklist
:h nvim-surround
to see if there might be any relevant information there?Is your feature request related to a problem? Please describe. i'd like to map like this
Describe the solution you'd like successful mapping
Additional context Thank you for the awesome work