How can I flip the page with the C-h prefix?
yuzumx opened this issue · comments
Hello, and sorry for taking your time and my poor English.
My C-h prefix is shown as two pages under which-key.
But when I type C-h after C-h to flip the page, Emacs entered help-for-help
.
So how can I filp? I do not want to change the default key binding.
Thank you.
The key bindings were changed at some point. The default is to go to the next page with C-h C-n
or C-h n
, the previous page with C-h C-p
or C-h p
, etc. See which-key-C-h-map
. You're free to customize that keymap if you want different bindings.
Thank you.
@justbur Although I am sorry, but I have to reopen this issue.
My question is: "When I press C-h, how do I turn pages?"
You can see there are two pagesSo how do I see the second page? Can only change binding?
Thank you.
You pressed C-h C-h
. You need to press C-h n
or C-h C-n
to go to the next page.
What are your which-key settings?
(which-key-mode)
(with-eval-after-load 'which-key
(diminish 'which-key-mode)
(which-key-setup-side-window-bottom))
which-key
is installed from Melpa
Oh, I see what the problem is. Turning the page won't work if C-h
is a bound key. This is on purpose, so that paging doesn't make any keys inaccessible.
The key sequence C-h C-h
is bound to a command, which is why you are getting this behavior. If you want to turn the page after C-h
you need to unset C-h C-h
like this
(global-unset-key (kbd "C-h C-h"))
Thanks. It works