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
I have updated the plugin to the latest version before submitting this issue
I have searched the existing issues of which-key.nvim
I have searched the existing issues of plugins related to this issue
Neovim version (nvim -v)
v0.10.2
Operating system/version
Rocky Linux release 9.2 (Blue Onyx)
Describe the bug
This is follow-up to #897, because I didn't do a good enough job of explaining the problem. I was trying to demonstrate the core of the bug with the minimal configuration, but the main problem caused by the bug is that it is impossible to bind scroll down/up keys to the same keys for the which-key menus as normal mode. (It works in SOME menus, but not all.)
Steps To Reproduce
With scrolling bound to and for both normal mode and for which-key:
Optional: G to the bottom of a large enough file to make the which-key menu smaller.
Press to open the menu for
Scrolling the which-key menu with and works.
Press to go back to the "main menu", or whatever it is called.
This time pressing or closes the menu, making it impossible to scroll.
Expected Behavior
I would expect it to be possible to scroll all the menus, not just some of them.
Health
which-key: require("which-key.health").check()
- OK Most of these checks are for informational purposes only.
WARNINGS should be treated as a warning, and don't necessarily indicate a problem with your config.
Please DON'T report these warnings as an issue.
Checking your config
- WARNING mini.icons is not installed
- WARNING nvim-web-devicons is not installed
- WARNING Keymap icon support will be limited.
Checking for issues with your mappings
- OK No issues reported
checking for overlapping keymaps
- WARNING In mode n, <gc> overlaps with <gcc>:
- <gc>: Toggle comment
- <gcc>: Toggle comment line
- OK Overlapping keymaps are only reported for informational purposes.
This doesn't necessarily mean there is a problem with your config.
Checking for duplicate mappings
- OK No duplicate mappings found
Log
Debug Started for v3.15.0
{
branch = "main",
commit = "8ab96b38a2530eacba5be717f52e04601eb59326"
}
new Mode(n:1)
Trigger(add) Mode(n:1) " ` ' g' g` z= ] [ <Space> <C-W> g z
on_key: G
on_key: <Space>
State(start): Mode(n:0) Node(<Space>) { keys = "<Space>" }
update Mode(n:1)
continue: <Space> Mode(n:1)
getchar
on_key: <NL>
got: <NL>
getchar
on_key: <C-K>
got: <C-K>
getchar
on_key: <BS>
got: <BS>
getchar
on_key: <NL>
got: <NL>
suspend: Mode(n:1)
Trigger(del) Mode(n:1) ' g' g` z= ] [ <Space> <C-W> " z ` g
feedkeys: Mode(n:1) <NL>
on_key: <NL>
Trigger(add) Mode(n:1) " ` ' g' g` z= ] [ <Space> <C-W> g z
on_key: :
ModeChanged(n:c)
new Mode(c:1)
Safe(true)
Trigger(add) Mode(c:1) <C-R>
on_key: q
on_key: <CR>
ModeChanged(c:n)
Unsafe(command-mode)
suspend: Mode(n:1)
Trigger(del) Mode(n:1) ' g' g` z= ] [ <Space> <C-W> " z ` g
Trigger(add) Mode(n:1) " ` ' g' g` z= ] [ <Space> <C-W> g z
Did you check docs and existing issues?
Neovim version (nvim -v)
v0.10.2
Operating system/version
Rocky Linux release 9.2 (Blue Onyx)
Describe the bug
This is follow-up to #897, because I didn't do a good enough job of explaining the problem. I was trying to demonstrate the core of the bug with the minimal configuration, but the main problem caused by the bug is that it is impossible to bind scroll down/up keys to the same keys for the which-key menus as normal mode. (It works in SOME menus, but not all.)
Steps To Reproduce
With scrolling bound to and for both normal mode and for which-key:
Expected Behavior
I would expect it to be possible to scroll all the menus, not just some of them.
Health
Log
Repro
The text was updated successfully, but these errors were encountered: