Skip to content

Commit

Permalink
2.45: add tap-dance for "i" and "I "
Browse files Browse the repository at this point in the history
  • Loading branch information
Seth Milliken committed Jan 7, 2024
1 parent fb83fb8 commit dcef66c
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 5 deletions.
2 changes: 1 addition & 1 deletion config/corne.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
default {
display-name = "araxia";
bindings = <
&lthp 5 TAB &lttp 5 Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &lttp 6 P &lthp 6 BACKSPACE
&lthp 5 TAB &lttp 5 Q &kp W &kp E &kp R &kp T &kp Y &kp U &iI &kp O &lttp 6 P &lthp 6 BACKSPACE
&none &hrml LCTRL A &hrml LGUI S &hrml LALT D &hrml LSHIFT F &hrml GLOBE G &h_bs &hrmr RSHIFT J &hrmr RALT K &hrmr RGUI L &hrmr RCTRL SEMICOLON &point_tog
&none &kp Z &kp X &kp C &kp V &kp B &kp N &m_cr &kp COMMA &kp DOT &kp FSLH &dis_tog
&mthp LGUI RETURN &lthp 2 LC(W) &lthp 1 ESC &lthp 4 ESC &lttp 3 SPACE &mttp RGUI COLON
Expand Down
2 changes: 1 addition & 1 deletion config/corneish_zen.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
default {
display-name = "araxia";
bindings = <
&lthp 5 TAB &lttp 5 Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &lttp 6 P &lthp 6 BACKSPACE
&lthp 5 TAB &lttp 5 Q &kp W &kp E &kp R &kp T &kp Y &kp U &iI &kp O &lttp 6 P &lthp 6 BACKSPACE
&none &hrml LCTRL A &hrml LGUI S &hrml LALT D &hrml LSHIFT F &hrml GLOBE G &h_bs &hrmr RSHIFT J &hrmr RALT K &hrmr RGUI L &hrmr RCTRL SEMICOLON &point_tog
&none &kp Z &kp X &kp C &kp V &kp B &kp N &m_cr &kp COMMA &kp DOT &kp FSLH &dis_tog
&mthp LGUI RETURN &lthp 2 LC(W) &lthp 1 ESC &lthp 4 ESC &lttp 3 SPACE &mttp RGUI COLON
Expand Down
2 changes: 1 addition & 1 deletion config/planck_rev6.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
default {
display-name = "araxia";
bindings = <
&lttp 5 Q &kp W &kp E &kp R &kp T &kp F1 &kp F2 &kp Y &kp U &kp I &kp O &lttp 6 P
&lttp 5 Q &kp W &kp E &kp R &kp T &kp F1 &kp F2 &kp Y &kp U &iI &kp O &lttp 6 P
&hrml LCTRL A &hrml LGUI S &hrml LALT D &hrml LSHIFT F &hrml GLOBE G &kp F3 &kp F4 &h_bs &hrmr RSHIFT J &hrmr RALT K &hrmr RGUI L &hrmr RCTRL SEMICOLON
&kp Z &kp X &kp C &kp V &kp B &kp F5 &kp F6 &kp N &m_cr &kp COMMA &kp DOT &kp FSLH
&kp F7 &kp F8 &mthp LGUI RETURN &lthp 2 LC(W) &lthp 1 ESC &kp F9 &kp F10 &lthp 4 ESC &lttp 3 SPACE &mttp RGUI COLON &point_tog &dis_tog
Expand Down
19 changes: 18 additions & 1 deletion config/shared.dtsi
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#define VER_PATCH N4
#define VER_PATCH N5
#define VER_MINOR N4
#define VER_MAJOR N2

Expand Down Expand Up @@ -346,6 +346,17 @@
#binding-cells = <0>;
bindings = <&kp LG(LA(LS(N4)))>;
};
cap_space: cap_space {
compatible = "zmk,behavior-macro-one-param";
#binding-cells = <1>;
bindings
= <&macro_press &kp LSHFT>
, <&macro_param_1to1>
, <&macro_tap &kp MACRO_PLACEHOLDER>
, <&macro_release &kp LSHFT>
, <&macro_tap &kp SPACE>
;
};

};
// }}}
Expand Down Expand Up @@ -657,6 +668,12 @@
time-to-max-speed-ms = <50>;
acceleration-exponent = <1>;
};
iI: i_cap_i {
compatible = "zmk,behavior-tap-dance";
#binding-cells = <0>;
tap-term-ms = <150>;
bindings = <&kp I>, <&cap_space I>;
};

};
// }}}
Expand Down
2 changes: 1 addition & 1 deletion config/splitkb_aurora_corne.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
default {
display-name = "araxia";
bindings = <
&lthp 5 TAB &lttp 5 Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &lttp 6 P &lthp 6 BACKSPACE
&lthp 5 TAB &lttp 5 Q &kp W &kp E &kp R &kp T &kp Y &kp U &iI &kp O &lttp 6 P &lthp 6 BACKSPACE
&none &hrml LCTRL A &hrml LGUI S &hrml LALT D &hrml LSHIFT F &hrml GLOBE G &h_bs &hrmr RSHIFT J &hrmr RALT K &hrmr RGUI L &hrmr RCTRL SEMICOLON &point_tog
&none &kp Z &kp X &kp C &kp V &kp B &kp N &m_cr &kp COMMA &kp DOT &kp FSLH &dis_tog
&mthp LGUI RETURN &lthp 2 LC(W) &lthp 1 ESC &lthp 4 ESC &lttp 3 SPACE &mttp RGUI COLON
Expand Down

0 comments on commit dcef66c

Please sign in to comment.