My Keyboard configurations for Mac and Windows. I use a 60% keyboard and it's very convenient to have the same keybindings across both platforms. To achieve this, I use AutoHotkey on Windows and Karabiner Elements on Mac.
- On Windows, copy
AutoHotkey.ahkto the folder where AutoHotkey is installed - On Mac, symlink
karabiner.jsonto~/.config/karabiner/karabiner.json
CapsLockis made into its own modifier key, and its existing functionality of toggling caps on and off is disabled. It's abbreviated asCL+below as a modifier prefix.
- Since my keyboard has no arrow keys, I bind
CL+WASDandCL+HJKLto be my arrows. I mostly used theWASDarrow key bindings, but it's convenient to haveHJKLas well when I'm highlighting things, since I can use my right hand for the arrows and the left hand for holdingCLand shift, control, etc.
CL+ZandCL+Xfor volume control, andCL+ERTfor media play, previous and forward. I fiddle with media controls constantly.
- Remap
Alt+CtoCTRL+C, and the same forXFVZSW. This is so I don't have to get used to hitting different modifier keys for copy, paste, etc. - Remap
Alt+QandAlt+Hto quit and hide app, respectively.
Cmd+EsctoCmd+~for Mac intra-app window switching- Remap
Fn+LettertoCtrl+Letterfor the internal keyboard, since I'm used toCtrlbeing the bottom left key.
Shift+Escto~since the keyboard has no tilde key.CL+Spacefor forward delete, easier than reaching for delete key.CL+CtoCtrl+C, since I hit this binding all the time in Vim