Open a13 opened 3 years ago
You can name prefixes with the replacement options.
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?
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.
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"