I'm trying to setup a way to find keys I want to use but keep forgetting.
(I know there is where-is (C-w) and describe-binds, describe-mode. )
I want the following,
- initiate a command to search for keys (let's M-o)
- in a minibuffer (or helm buffer), type "help go back"
- it shows the corresponding hot keys
It is different from where-is
in two ways
- it shows the key sequence right there without "entering" another buffer
- I can search with my own "keyword"for instance help command might be named help-go-back but I might be more comfortable to use "help before"(there are command names which are hard to remember)
I'm thinking to use a file to provide those values, for instance
* help- go before: C-c C-b , g b : back, previous - go previous page: p * org - demote - single item: M-right - subtree: M-S-right : children
I can think of writing a custom helm source (?) for this, but wondering if there's a better way
Alternative (close but not perfect) way of reusing existing capability is
- make
where-is
to show the keys in the list (not after selecting the command) - make
describe-mode
to show more key bindings (not just emacs key bindings but evil-state related key bindings) - Append
help
ororg
or any sub headings to the leaf node, so that I can justisearch
on the file (but prefarably automate the appending step)