0

I want to change the keyboard shortcuts of my Mac to match the behavior of Windows. I use a custom keyboard and I can change some of the keycodes through firmware, e.g. I can type @ on the same key where I would type it on Windows. Replacing these is no issue in qmk.

However, what poses a real challenge in qmk is changing key-combinations where MacOS uses a different pattern than Windows. Obviously I replaced CTRL with , which makes +C/V/X and most others work as expected, but there are a few Mac peculiarities. For example Home and End, which are single keystrokes on Windows, but +<- and +-> respectively on Mac. For things like these I found very helpful AppKit functions like moveToBeginningOfLine (thanks to trusktr on GitHub). Placing these in ~/Library/KeyBindings/DefaultKeyBinding.dict works wonders.

However, I could not find a function to switch applications, i.e. to replace +Tab with +Tab via the method mentioned above. Is there an AppKit function for this?

There is already a question on how to swap the behavior, but the answers recommend either using an invasive tool or getting used to it. My question is specifically about an AppKit function. (However if there is a better way to achieve the desired outcome in 2022 on macOS Monterey 12.6, then please tell me.)

I will still be using Windows on a regular basis, so getting used to it is simply not an option.

AplusKminus
  • 101
  • 2

0 Answers0