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

Suport replacing commands with regex characters such as "+"

Open cyruseuros opened this issue 6 years ago • 3 comments

Right now kbd+select for example cannot be replaced because + is used as a separator. Emacs doesn't treat the character as special, so I think it's reasonable for which-key not to either.

cyruseuros avatar Oct 01 '19 03:10 cyruseuros

I'm talking about the define-key integration here mostly.

cyruseuros avatar Oct 01 '19 04:10 cyruseuros

(regexp-quote) should do the trick. I'll see what I can do about a PR today.

cyruseuros avatar Oct 01 '19 05:10 cyruseuros

A PR would be welcome, but if you provide an example, I can look into it too

justbur avatar Oct 03 '19 13:10 justbur