added functionalities for mac's opt+backspace and cmd+backspace
Implemented the two above mentioned functionalities Important Note: the cmd backspace also activates windows control shift, which is the usual shortcut for switch language window. One can solve this by diabling this or moving it to alt shift, which would actually remap this shortcut to its original physical keys.
Hope this helps
Hey @raduv7, thanks so much for being the first contributor! I sent you an invite so you can code on this repo directly. If you could please open a new PR from a branch within this repo, I would appreciate it.
Hi again! Just got back from an holiday, can you send the invite again?
GitHub says you have direct access. You should be able to clone the repo, create a new branch, and open a PR from that branch
thank you both for your work here, this is a huge quality of life improvement! I have shared this in the AHK discord, I'm so surprised there isn't a gold standard mac remapping after all these years, I would expect it to be the primary use case for AHK.
I did some light testing of the changes here, it works well most of the time but when holding win followed by repeated backspace presses, at some point it only deletes the previous character instead of the whole word as expected. it's quite inconsistent and doesn't fail predictably after the first backspace, sometimes it fails after 2-3 backspaces. if you release and repress win and then backspace it works fine, it's the repeated backspace presses that fail
https://github.com/stevenilsen123/mac-keyboard-behavior-in-windows/assets/24712874/bb053d26-f5e5-42e5-b019-562c5a45c4c6
These changes are really useful! Binding backslash/pipe to Enter surprised me though, and I'm not clear on the rationale for that. I type a lot of backslashes.