Open den-is opened 2 months ago
I encountered the same bug in Ubuntu 22.04.
I don't think this is which-key bug as I had the same behaviour without having the mentioned plugin installed but with custom mapping for <C-d>
/<C-u>
.
Fixed it by adding buffer = true
so it looks like this:
vim.keymap.set('n', '<C-d>', '<C-d>zz', { desc = 'Jump half page down', buffer = true })
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.
i have the same issue here as well
and i think it is not related to neoscroll,
I don't think this is which-key bug as I had the same behaviour without having the mentioned plugin installed but with custom mapping for
<C-d>
/<C-u>
. Fixed it by addingbuffer = true
so it looks like this:vim.keymap.set('n', '<C-d>', '<C-d>zz', { desc = 'Jump half page down', buffer = true })
@shelper have you tried this solution yet? i had the same issue but without neoscroll installed and this solution solved it for me!
yep, does not work for me... but i dont know why, today, i disable neoscroll, and which-key scrolling works... i digged into the neoscroll a little bit, and I guess it is caused by neoscroll ...
Did you check docs and existing issues?
Neovim version (nvim -v)
v0.10.1
Operating system/version
MacOS 14.5
Describe the bug
I was trying to figure out why
<c-d>
<c-u>
scrolling is not working. I have tried to setup other keymappings for scrolling<c-j>
<c-k>
- no luck.Browsing through my plugins discovered that I have neoscroll enabled. Disabling neoscroll fixed issue with which-key window scrolling.
I created issues in both repos. I hope which-key will learn how to work with neoscroll, or neoscroll will somehow will ignore/disable smooth scrolling for which-key. Issue in neoscroll repo: https://github.com/karb94/neoscroll.nvim/issues/111
Steps To Reproduce
Expected Behavior
which-key
's multi-page windows scrolling withneoscroll
plugin enabled should work.Health
No response
Log
No response
Repro