QMK does have this, unless I’ve misunderstood your use case. My QMK keyboard has CAPS mapped to ESC when tapped, CTRL when pressed with other keys. In my keymap.c file, I’ve put my caps key as just:
MT(MOD_LCTL, KC_ESC)
3 karma · joined September 18, 2022
MT(MOD_LCTL, KC_ESC)
I spent ages trying to get Wezterm font rendering to match iTerm2. After spending far too long in the font section of configuration, it turns out this was the solution.