-
-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
None of the 'Normal mode' binding works or even appears (using which-key) #354
Comments
P.S. I assume you mean the intended behavior is |
Do you have If it is set to the default, please uninstall all other plugins/disable all other configuration and see if the problem is reproducible. |
It was set to Funny that the visual works just fine. Maybe I'd need to change the key binds? |
I can't imagine the keymaps themselves are the issue; with the information you've provided I'm not sure what the root cause would be. My guess is that it is most likely config-related, and I would recommend bisecting your config to find the issue |
I think it probably has to do with the fact that due to implementation reasons, all of the keymaps actually return If you wait too long for |
You might find this Reddit post helpful. |
I think I'm running into this as well, using lazy + which-key. What I notice is that if I'm fast enough (i.e. which-key does not trigger its menu display) then this plugin seems to be working as expected. That said, I would be nice if these keymaps also appeared in the which-key UI. |
The higher I set |
This appears to be a bad interaction with whichkey, which apparently does not deal correctly with sequence-mappings for normal mode, and operator + textobject mappings sharing a prefix. It is not limited to this plugin, but also happens when you have a mapping for things like |
It does deal correctly with operator pending mode mappings. |
Checklist
:h nvim-surround
to see if there might be any relevant information there?Neovim Version
NVIM v0.10.2
Build type: RelWithDebInfo
LuaJIT 2.1.1727870382
Plugin Version
Tagged (Stable)
Minimal Configuration
-- (Exaclty what I copied from the README)
Sample Buffer
aaaaaaaaaa
fjrfjrfjrkf efjkefjkefjke
efefef
ff f f f
Keystroke Sequence
ysiw)
Expected behavior
(aaaaaaaaaa)
Actual behavior
w)aaaaaaaaaa
Additional context
I can see it appearing for Visual mode, as expected, but not for Normal mode or Insert mode.
That took me quite some time of re-installing it several times. I can see it loaded from Lazy, and it work for VisualMode, don't know how to get more information for you.
Btw, I've tried with the
version = "*"
and with that one commented. Both has the same result.The text was updated successfully, but these errors were encountered: