Justin Burkett
Justin Burkett
Hm, it's not straightforward to determine which keymaps are active in the middle of an arbitrary key sequence (unless you know of one), so your proposal would not be easy...
I forgot there's a way to do roughly this that is built in already. Try ```elisp (defun my-delay-function (key-desc _) (unless (string-match-p "^C-x r" key-desc) 5)) (add-hook 'which-key-delay-functions 'my-delay-function) ```
Unfortunately, I tried to make this work at one point, and I failed. If someone knows more about how mouse keybindings work, I'd be happy to look at a pr.
The procedure which-key uses to inspect the currently available keys does not produce a keymap name, and as far as I know this information is not readily available from Emacs....
It's still not that simple. Which-key doesn't display individual maps. It displays all active bindings, which may or may not come from the same keymap. Your `C-h` example is a...
I doubt such a bug report would be well received, but you could try of course.
I could maybe do something along these lines, but I'm not aware of a definitive way of determining this. A keymap may be bound to multiple keys, it may or...
I have this in my config which is not the prettiest thing, but it's not that bad ``` elisp (dolist (pf '("SPC " "M-c ")) (which-key-declare-prefixes (concat pf ":") "comment"...
If it's a matter of unifying things then that seems like something that it more appropriate for general if that's what you use. I'm happy to add stuff but your...
There's a small distinction between prefix "titles" and prefix "names". In the screenshot below. "leader-map-prefix" is the title (name of the prefix under which these keyes can be found). The...