You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Have you read through :h nvim-surround to see if there might be any relevant information there?
Is your feature request related to a problem? Please describe.
I want to add a new alias that is not just one character, but instead a keybinding (in my case <A-.>. I tried the following setup (lazy), but it doesn't work:
return {
"kylechui/nvim-surround",
version = "*", -- Use for stability; omit to use `main` branch for the latest features
event = "VeryLazy",
config = function()
require("nvim-surround").setup({
aliases = {
["<A-.>"] = ")"
}
})
end
}
When I replace the keybinding with a single character (e.g. d), it works fine. But I would like this as a keybinding, as I mapped that to ")" everywhere else.
Describe the solution you'd like
Being able to not only map single characters for an alias, but instead keybindings (if that is possible).
Additional context
None
The text was updated successfully, but these errors were encountered:
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 want to add a new alias that is not just one character, but instead a keybinding (in my case
<A-.>
. I tried the following setup (lazy), but it doesn't work:When I replace the keybinding with a single character (e.g.
d
), it works fine. But I would like this as a keybinding, as I mapped that to ")" everywhere else.Describe the solution you'd like
Being able to not only map single characters for an alias, but instead keybindings (if that is possible).
Additional context
None
The text was updated successfully, but these errors were encountered: