Open Guscccc opened 1 month ago
You can try this
{
"before": ["*"],
"after": ["y", "s", "a"]
},
use *w"
You can try this
{ "before": ["*"], "after": ["y", "s", "a"] },
use
*w"
it not working either, the editor enters insert mode the same way as just typing a
, as if ys
is not typed.
You can try this
{ "before": ["*"], "after": ["y", "s", "a"] },
use
*w"
it not working either, the editor enters insert mode the same way as just typing
a
, as ifys
is not typed.它也不起作用,编辑器进入插入模式的方式与仅键入a
相同,就好像未键入ys
一样。
You can try this
{ "before": ["*"], "after": ["y", "s", "a"] },
use
*w"
it not working either, the editor enters insert mode the same way as just typing
a
, as ifys
is not typed.它也不起作用,编辑器进入插入模式的方式与仅键入a
相同,就好像未键入ys
一样。
Thank you! I have confirmed that using this key binding in vim.normalModeKeyBindings
does work as expected as you've pointed out; it's that using it in vim.normalModeKeyBindingsNonRecursive
that doesn't work. Still I wonder why.
Describe the bug When trying to use the following setting to remap
*
toys
which is the trigger for vim.surround plugin, it doesn't work as expected:To Reproduce Use the aforementioned remapping. and type and a quotation mark like
*
in normal mode, then aaw"
(i.e. type*aw"
in normal mode).Expected behavior The word under the cursor be surrounded in
"
, which is the behaviour of typingysaw"
in normal mode.Environment (please complete the following information):