Skip to content
This repository has been archived by the owner on Jun 25, 2024. It is now read-only.

How can I hide keys from the which-key popup? #366

Closed
LemonBreezes opened this issue Feb 20, 2024 · 2 comments
Closed

How can I hide keys from the which-key popup? #366

LemonBreezes opened this issue Feb 20, 2024 · 2 comments

Comments

@LemonBreezes
Copy link

Hi. I want to hide some commands from the Harpoon package that are bound to SPC 1-9.

@justbur
Copy link
Owner

justbur commented Feb 26, 2024

Yes, you can use `which-key-replacement-alist' to do this. Please see the documentation for that variable and let me know if you have questions.

@LemonBreezes
Copy link
Author

Yes, you can use `which-key-replacement-alist' to do this. Please see the documentation for that variable and let me know if you have questions.

Thanks! I finally figured it out:

(add-to-list 'which-key-replacement-alist '(("" . "harpoon-go-to-[0-9]+") . ignore))

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants