-
Notifications
You must be signed in to change notification settings - Fork 186
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
Default action for keys on layer #705
Comments
Cf #651 and in particular #651 (comment) #681 is also related, and I'd expect that if it makes it in, these two features should be achieved with the same mechanism.
With the current key meaning whatever it is bound to on the layer underneath, I presume. |
My usecase is hardly reversable as I would like to apply
But thank you for pointing this out. And yes, I agree, I did not see this issue that you linked but you are right. We are both looking for a way to avoid defining a behavior for "the rest of the keys" on a layer. To go even a bit further I wanted to even have a way to keep the meta enabled once one of the key has been maintained for 1 second. So for instance, let's say |
I know I can do something like the following to apply a modifier to a full layer by default.
But it would be handy to generalise the concept to all actions, so you could define what the default behavior is for a layer. And if a key does not override this, it gets assigned to the default action.
I think it could reduce the amount of lines in the configuration when you want to redeclare all the keys to do the same action. See an example:
And to go even a bit further, a placeholder
current
could mean the "current key", to allow things like:Here, all keys on
mylayer
excepta
andb
would be assigned to the timeout operation defined as default.What do you think?
The text was updated successfully, but these errors were encountered: