10
submitted 2 weeks ago by oantolin@discuss.online to c/emacs@lemmy.ml

I explain what I dislike about which-key and what I think people should use instead.

top 1 comments
sorted by: hot top controversial new old
[-] monnier@lemmy.ca 1 points 8 hours ago* (last edited 8 hours ago)

[ The problem I have which which-key is that it applies only after a prefix. ]
Mutating a keymap with setc[ad]r is 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. ๐Ÿ™ƒ ]

this post was submitted on 04 Jul 2025
10 points (100.0% liked)

Emacs

2592 readers
1 users here now

Our infinitely powerful editor.

founded 5 years ago
MODERATORS