This is my personal zmk-config for my ergo keyboards. It consists of a common keymap with Aptmak as alpha layer and is optimized for 26 keys by heavily relying on combos for the missing alpha and symbol keys.
The configuration of the split boards includes the definition of a dongle that can optionally be used to extend the battery life of the left half (both sides will be peripherals). As a nice side effect, the keyboard can also be used wirelessly in the BIOS or if no Bluetooth adapter is available.
Additional features are provided by the following modules:
- zmk-antecedent-morph to change the behavior of a key based on the previously pressed key. This is used to type
<=
,>=
,!=
,=>
,->
,|>
,./
and#include
more comfortably. - zmk-dongle-display to show the peripheral battery percentage (and more!) on the display of my dongle.
- zmk-locales to provide key codes for non-US keyboard locales.
- zmk-rgbled-widgets to show the connection and battery status with the built-in LEDs of the Xiao BLE controller. Based on this, the module was adapted in led_indicator to be used with the single LED of the nice!nano.
- zmk-tri-state to define a custom swapper and a select-word behavior.