This little trick costed me a move-one-word-to-the-left.
But here's what it does! If the keyboard is connected to a windows PC, and there's a pending press on the CMD (meaning it's held down but not reported to the OS yet), then don't report it and instead send HOME.
This allows CMD to behave like CMD on a mac, like CTRL on a PC, and also all CMD+XX keys work as CTRL+XX, unless it's CMD+LEFT, which is HOME. CMD+SHIFT+LEFT also works and become SHIFT+HOME.
Now I just need to do the same for CTRL to return CTRL+arrows.
[#]keychron #qmk
=> More informations about this toot | More toots from farcaller@hdev.im
Actually... on a mac moving between words is opt+arrows. Meaning I'll have to go and remap opt now.
Oh boy, I am sure excited to see how this all breaks paredit after I'm done.
=> More informations about this toot | More toots from farcaller@hdev.im
so if ctrl+arrows is actually home/end, then alt+arrows is word navigation, meaning I can remap win+arrows to ctrl+arrows and alt+arrows to.. home/end?..
What was I doing again?
=> More informations about this toot | More toots from farcaller@hdev.im
Wait no. win+arrows are home/end.
Alt+arrows are ctrl+arrows.
Ctrl+arrows are thus alt+arrows.
And I don't care about win+arrows being mapped anywhere.
=> More informations about this toot | More toots from farcaller@hdev.im
text/gemini
This content has been proxied by September (3851b).