diff --git a/config/lintilla.keymap b/config/lintilla.keymap index ee6576e..af0b899 100644 --- a/config/lintilla.keymap +++ b/config/lintilla.keymap @@ -15,6 +15,53 @@ #define _KBD 7 / { + combos { + compatible = "zmk,combos"; +// ┏━━━━┓ ┏━━━━┓ +// ┃ 0 ┃ ┃ 1 ┃ +// ┏━━━━╋━━━━╋━━━━┳━━━━┳━━━━┳━━━━┓ ┏━━━━┳━━━━┳━━━━┳━━━━╋━━━━╋━━━━┓ +// ┃ 2 ┃ 3 ┃ 4 ┃ 5 ┃ 6 ┃ 7 ┃ ┃ 8 ┃ 9 ┃ 10 ┃ 11 ┃ 12 ┃ 13 ┃ +// ┣━━━━╋━━━━╋━━━━╋━━━━╋━━━━╋━━━━┫ ┣━━━━╋━━━━╋━━━━╋━━━━╋━━━━╋━━━━┫ +// ┃ 14 ┃ 15 ┃ 16 ┃ 17 ┃<18>┃ 19 ┃ ┃ 20 ┃<21>┃ 22 ┃ 23 ┃ 24 ┃ 25 ┃ +// ┗━━━━╋━━━━╋━━━━╋━━━━╋━━━━╋━━━━┫ ┣━━━━╋━━━━╋━━━━╋━━━━╋━━━━╋━━━━┛ +// ┃ 26 ┃ 27 ┃ 28 ┃ 29 ┃ 30 ┃ ┃ 31 ┃ 32 ┃ 33 ┃ 34 ┃ 35 ┃ +// ┗━━━━┻━━━━┻━━━━┻┳━━━┻┳━━━┻┳━━━━┓ ┏━━━━┳┻━━━┳┻━━━┳┻━━━━┻━━━━┻━━━━┛ +// ┃ 36 ┃<37>┃ 38 ┃ ┃ 39 ┃<40>┃ 41 ┃ +// ┗━━━━┻━━━━┻━━━━┛ ┗━━━━┻━━━━┻━━━━┛ + combo_lpar { + key-positions = <16 17>; + bindings = <&kp LPAR>; + }; + combo_rpar { + key-positions = <22 23>; + bindings = <&kp RPAR>; + }; + combo_lbrc { + key-positions = <17 18>; + bindings = <&kp LBRC>; + }; + combo_rbrc { + key-positions = <21 22>; + bindings = <&kp RBRC>; + }; + combo_lbkt { + key-positions = <28 29>; + bindings = <&kp LBKT>; + }; + combo_rbkt { + key-positions = <32 33>; + bindings = <&kp RBKT>; + }; + combo_lt { + key-positions = <27 28>; + bindings = <&kp LT>; + }; + combo_gt { + key-positions = <33 34>; + bindings = <&kp GT>; + }; + }; + conditional_layers { compatible = "zmk,conditional-layers"; func_layer {