justbur / emacs-which-key

Emacs package that displays available keybindings in popup

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Paging through 'C-h'

igorepst opened this issue · comments

Hi,
Is it possible to page through bindings that start with C-h? E.g. make the Emacs frame rather small, press C-h, wait for which-key to open, ensure there are additional pages (counter), press C-h as a paging prefix => *Metahelp* buffer is opened, no paging.
Thanks

This should work

(define-key help-map "\C-h" 'which-key-C-h-dispatch)

Since there is a binding for C-h C-h in emacs, you have to explicitly override it with the line above.

Indeed, thanks :)