emacs-which-key icon indicating copy to clipboard operation
emacs-which-key copied to clipboard

Try to extract common prefix for "+prefix" keymaps.

Open a13 opened this issue 4 years ago • 3 comments

If a prefix keymap contains only commands (including nested ones) with the same prefix (say, "projectile-"), optionally show it (possibly with a custom suffix) instead of "+prefix"

a13 avatar May 14 '21 22:05 a13

You can name prefixes with the replacement options.

justbur avatar Jun 01 '21 02:06 justbur

You can name prefixes with the replacement options.

sure, but as I can see, you have to do it manually for every prefix, or you don't?

a13 avatar Jun 01 '21 15:06 a13

sure, but as I can see, you have to do it manually for every prefix, or you don't?

yes that's correct. I think it would be more sensible to do this at the time the keys are bound, rather than dynamically through which-key.

justbur avatar Jun 21 '21 20:06 justbur