rbreaves / kinto

Mac-style shortcut keys for Linux & Windows.
http://kinto.sh
GNU General Public License v2.0
4.42k stars 213 forks source link

Sticky and modmaps #679

Closed joshgoebel closed 2 years ago

joshgoebel commented 2 years ago

What if sticky had nothing to do with combos at all but was all about the modmaps... so you have:

define_conditional_modmap(lambda wm_class: wm_class.casefold() not in terminals,{
   Key.LEFT_META: Key.RIGHT_CTRL,  # Mac

Such that now there was some sort of sticky magic setup because of the modmap mapping... or would that be too narrow?

rbreaves commented 2 years ago

Maybe it is late, but I am not sure I am following what you are saying atm.

joshgoebel commented 2 years ago

I meant that the sticky binding (holding the keys on output so long as they aren't released on input) could perhaps depend on the modmap, but actually you do a LOT of other bindings later. so I'm thinking that might not be the best idea... plus I think we first need to answer the issue I just posted about the foundations switching out from under when in the middle of a tabbing (or other) operation.

joshgoebel commented 2 years ago

Closing this and referencing #681 so it's not lost.