Skip to content

Commit

Permalink
space or momentary special layer
Browse files Browse the repository at this point in the history
  • Loading branch information
NikodemMarek authored Apr 27, 2024
1 parent 7eeecab commit 58fa946
Showing 1 changed file with 18 additions and 8 deletions.
26 changes: 18 additions & 8 deletions config/cradio.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -149,17 +149,27 @@
tapping-term-ms = <100>;
quick-tap-ms = <50>;
};

special_space: special_space {
compatible = "zmk,behavior-hold-tap";
label = "SPECIAL_SPACE";
bindings = <&mo>, <&kp>;

#binding-cells = <2>;
tapping-term-ms = <200>;
quick-tap-ms = <100>;
};
};

keymap {
compatible = "zmk,keymap";

dvorak {
bindings = <
&kp ENTER &kp TAB &kp BACKSPACE &kp P &kp Y &kp F &kp G &kp C &kp R &kp L
&kp A &kp O &kp E &kp U &kp I &kp D &kp H &kp T &kp N &kp S
&key_repeat &kp Q &kp J &kp K &kp X &kp B &kp M &kp W &kp V &kp Z
&mod_hold 1 1 &lt 2 ESCAPE &kp SPACE &mod_hold 3 3
&kp ENTER &kp TAB &kp BACKSPACE &kp P &kp Y &kp F &kp G &kp C &kp R &kp L
&kp A &kp O &kp E &kp U &kp I &kp D &kp H &kp T &kp N &kp S
&key_repeat &kp Q &kp J &kp K &kp X &kp B &kp M &kp W &kp V &kp Z
&mod_hold 1 1 &lt 2 ESCAPE &special_space 3 SPACE &mod_hold 3 3
>;

label = "dvorak";
Expand Down Expand Up @@ -222,10 +232,10 @@

qwerty {
bindings = <
&kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P
&kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &key_repeat
&kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp BACKSPACE &kp TAB &kp ENTER
&mod_hold 1 1 &kp ESCAPE &kp SPACE &sl 3
&kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P
&kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &key_repeat
&kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp BACKSPACE &kp TAB &kp ENTER
&mod_hold 1 1 &kp ESCAPE &special_space 3 SPACE &sl 3
>;
};

Expand Down

0 comments on commit 58fa946

Please sign in to comment.