Ancestors

Written by farcaller on 2025-01-12 at 19:54

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

=> View attached media

=> More informations about this toot | More toots from farcaller@hdev.im

Written by farcaller on 2025-01-12 at 19:56

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

Written by farcaller on 2025-01-12 at 19:59

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

Toot

Written by farcaller on 2025-01-12 at 20:00

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

Descendants

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113817161648133699
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
253.736209 milliseconds
Gemini-to-HTML Time
0.645206 milliseconds

This content has been proxied by September (3851b).