diff options
author | jack <[email protected]> | 2023-04-01 01:08:25 -0600 |
---|---|---|
committer | jack <[email protected]> | 2023-04-01 01:08:25 -0600 |
commit | 851fa7d321bac65fc0712da669bcf913e81096a8 (patch) | |
tree | 8f7d78a338b775d80a114ee5885033a58a5746c0 | |
parent | b15789ad97328db1f7a6e4fb1898a7501c9c72d7 (diff) | |
download | zmk_build-851fa7d321bac65fc0712da669bcf913e81096a8.tar.gz zmk_build-851fa7d321bac65fc0712da669bcf913e81096a8.zip |
add em dash macro
-rw-r--r-- | config/splitkb_aurora_sweep.keymap | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/config/splitkb_aurora_sweep.keymap b/config/splitkb_aurora_sweep.keymap index 3a2f27e..12828f9 100644 --- a/config/splitkb_aurora_sweep.keymap +++ b/config/splitkb_aurora_sweep.keymap @@ -38,6 +38,16 @@ >; }; }; + macros { + emdash: emdash { + label = "EM_DASH"; + compatible = "zmk,behavior-macro"; + #binding-cells = <0>; + bindings = <¯o_press &kp LSHFT &kp LCTRL>, + <¯o_tap &kp U &kp N2 &kp N0 &kp N1 &kp N4>, + <¯o_release &kp LSHFT &kp LCTRL>; + }; + }; behaviors { hm: homerow_mods { compatible = "zmk,behavior-hold-tap"; @@ -59,6 +69,7 @@ TAP_DANCE(quot_dquo, &kp SQT, &kp DQT) TAP_DANCE(cbrkt, &kp LBRC, &kp RBRC) TAP_DANCE(brkt, &kp LBKT, &kp RBKT) + TAP_DANCE(min_dash, &kp MINUS, &emdash) }; combos { compatible = "zmk,combos"; @@ -72,7 +83,7 @@ COMBO(ui_brkt, &td_brkt, 6 7) COMBO(ccom_plus, &kp PLUS, 22 27) COMBO(ei_bsls, &td_bsls_pipe, 2 7) - COMBO(vm_mins, &kp MINUS, 23 26) + COMBO(vm_mins, &td_min_dash, 23 26) COMBO(fj_capw, &caps_word, 13 16) }; }; |