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.ahk
to the folder where AutoHotkey is installed - On Mac, symlink
karabiner.json
to~/.config/karabiner/karabiner.json
CapsLock
is 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+WASD
andCL+HJKL
to be my arrows. I mostly used theWASD
arrow key bindings, but it's convenient to haveHJKL
as well when I'm highlighting things, since I can use my right hand for the arrows and the left hand for holdingCL
and shift, control, etc.
CL+Z
andCL+X
for volume control, andCL+ERT
for media play, previous and forward. I fiddle with media controls constantly.
- Remap
Alt+C
toCTRL+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+Q
andAlt+H
to quit and hide app, respectively.
Cmd+Esc
toCmd+~
for Mac intra-app window switching- Remap
Fn+Letter
toCtrl+Letter
for the internal keyboard, since I'm used toCtrl
being the bottom left key.
Shift+Esc
to~
since the keyboard has no tilde key.CL+Space
for forward delete, easier than reaching for delete key.CL+C
toCtrl+C
, since I hit this binding all the time in Vim