this post was submitted on 04 Jul 2025
12 points (100.0% liked)
Emacs
2670 readers
2 users here now
Our infinitely powerful editor.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
[ The problem I have which which-key is that it applies only after a prefix. ]
Mutating a keymap with
setc[ad]ris evil! Since you bind that map to a prefix, why not use(menu-item "dummy" KEYMAP :filter FUNCTION)instead?[ The problem with this trick is that it can be used only after a prefix. ๐ ]
There are commands
which-key-show-major-modeandwhich-key-show-top-level, which you could use. On the embark side, there isembark-bindingswhich by default gives you bindings from the major mode and minor modes, but withC-uwill give you global bindings.Agreed.
Only because I didn't think of it!