Hi all,
I got used to the Mod layer on my UHK, and every time I typed on my MacBook’s built-in keyboard I missed it. So I wrote KeyLayers, a small open-source keyboard remapper for macOS that adds layers to any Mac keyboard, including the built-in one.
It’s a very early alpha. There’s no mouse support yet, for example. But I use it every day for layers and simple macros, and it has been solid for that.
It works like the UHK: hold a key, and the layer it points to replaces the keys underneath until you let go. The starter keymap uses fn as the Mod key:
- arrows on H J K L
- Home, Page Down, Page Up and End on Y U I O
- the Mac’s media keys on F1 to F12
If remapping ever gets in your way, Left Control + Left Option + Left Command + Escape pauses it.
It needs macOS 26 or later and is MIT-licensed.
- Website and setup guide: KeyLayers | Layers for every Mac keyboard
- Source: GitHub - plu/KeyLayers: UHK-style layers for your Mac keyboard · GitHub
I’d love feedback from people who know layers well. In particular: which UHK behaviours would you miss most on a laptop keyboard?
Johannes