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

Allow a..z ranges in similar rules #225

Open
eugenesvk opened this issue Jul 12, 2023 · 0 comments
Open

Allow a..z ranges in similar rules #225

eugenesvk opened this issue Jul 12, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@eugenesvk
Copy link
Contributor

I have some configs where I need to map the whole alphabet to some slight modification like

 {:des "  [⌂◆] 🠿D⃣ to ‹Cmd: 🠿D⃣ ⟶ ‹◆" :rules [ :mD
  [:q [:d :q]] [:w [:d :w]] [:e [:d :e]] [:r [:d :r]] [:t [:d :t]]
  [:a [:d :a]] [:s [:d :s]] [:d [:d :d]] [:f [:d :f]] [:g [:d :g]]
  [:z [:d :z]] [:x [:d :x]] [:c [:d :c]] [:v [:d :v]] [:b [:d :b]]
  ; ...
  ]}

It would be great if instead I could just have a single rule with ranges like

[:a..z [:d :a..z]]

and let the mighty goku turn this into a sequence of rules

@yqrashawn yqrashawn added the enhancement New feature or request label Nov 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants