-
Notifications
You must be signed in to change notification settings - Fork 311
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
Rename layer-toggle to layer-hold (or layer-shift) #560
Comments
You are absolutely correct. However, I am also not a fan of Maybe we could use EDIT: or maybe |
'Transcient' is a bit too esoteric and doesn't quite convey holding something down. Why not just use
|
On Fri, Jun 10 2022 00:46, oblitzitate wrote:
'Transcient' is a bit too esoteric and doesn't quite convey holding
something down.
"Transient" is how Emacs calls keymaps that are only active for one key
press, so I think having this in kmonad would only make sense for
keymaps where the sequence of actions goes something like "T<layer-key>
T<key>" instead of "P<layer-key> T<key> R<layer-key>".
|
Hmmmm.. https://www.thesaurus.com/browse/temporary How about But, on a more serious note: P.S. Just to be clear, I'm thinking about adding these as alternate names, I intend to keep the old names around until I decide to truly break keymap backward-compat. |
The best name should convey that it only exists under a condition or for a limited time, that it is held down, and the name should be easily understood by the average user. I don't think I prefer I do think |
Yeah, that was very much a joke ;)
Very good, you make a good argument. I will add an alias for
I actually think that the (potential) confusion that arises from this name points at a deeper issue with the different buttons that we are currently supporting. When I first defined them I wasn't entirely clear about what underlying semantics I was trying to cover, so I ended up making a bunch of buttons that do different things. Looking at it now we seem to have mixed at least 2 different things:
So That, however, is a different story for a different time :) EDIT: added a word I forgot. |
Fixed in: edf2686 |
Anytime I come back to my kmonad config after not touching it for a long time, I've found myself having to look up the difference between
layer-toggle
andlayer-switch
. This seems to indicate a red flag with regards to nomenclature.So here are my arguments as to why the term 'toggle' is not a great term to use:
'Toggle' does not usually imply a momentary switch.
It contradicts QMK's usage of the word.
It contradicts games' usage of the word (e.g. FPS games differentiates between toggle and hold for the prone key)
It contradicts applications' usage of the word (e.g. A lot of apps have a toggle visibility button that isn't momentary)
My suggestions are to use
layer-hold
orlayer-shift
instead. I prefer the former word but I wouldn't mind the latter. If there's a better word, I also welcome that.The text was updated successfully, but these errors were encountered: