Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Customizable separator between hydra prefix and head #385

Open
snowman opened this issue Sep 29, 2020 · 0 comments
Open

Comments

@snowman
Copy link

snowman commented Sep 29, 2020

(defhydra h/zoomh ()
  ("v" text-scale-decrease "out"))

(defhydra h/vi ()
  ("h" backward-char))

Would generate

  • h/zoomh/body
  • h/zoomh/v
  • h/vi/body
  • h/vi/h

So when M-x h/v, I want to match hydra prefix first, but it would both match the head h/zoomh/v, and the prefix h/vi

Expected

With customize separator(like hypen -) so above commands would become:

  • h/zoomh-body
  • h/zoomh-v
  • h/vi-body
  • h/vi-h

So M-x h/v would ONLY match prefix h/vi, would not match head h/zoomh-v

@snowman snowman changed the title Feature Request: Add custom separator variable for generated command name Feature Request: Customizable separator between hydra prefix and head Jul 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant