Skip to content

Commit

Permalink
2.49: add semicolon/quote tap-dance for semicolon
Browse files Browse the repository at this point in the history
  • Loading branch information
Seth Milliken committed Jan 8, 2024
1 parent 7db4070 commit d89039a
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 11 deletions.
6 changes: 3 additions & 3 deletions config/corne.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
default {
display-name = "araxia";
bindings = <
&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
&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 &hrsq RCTRL 0 &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
6 changes: 3 additions & 3 deletions config/corneish_zen.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@
default {
display-name = "araxia";
bindings = <
&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
&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 &hrsq RCTRL 0 &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 @@ -22,7 +22,7 @@
display-name = "araxia";
bindings = <
&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
&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 &hrsq RCTRL 0
&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
21 changes: 20 additions & 1 deletion config/shared.dtsi
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#define VER_PATCH N8
#define VER_PATCH N9
#define VER_MINOR N4
#define VER_MAJOR N2

Expand Down Expand Up @@ -558,6 +558,19 @@
<&kp>,
<&kp>;
};
hrsq: home_row_semi_quote {
compatible = "zmk,behavior-hold-tap";
#binding-cells = <2>;
tapping-term-ms = <200>;
quick-tap-ms = <150>;
flavor = "balanced";
require-prior-idle-ms = <125>;
//hold-trigger-key-positions = <list of all lhs keys>;
//hold-trigger-on-release; // delay positional check until key release
bindings =
<&kp>,
<&semicolon_single_quote>;
};
lttp: layer_tap_tap_preferred {
compatible = "zmk,behavior-hold-tap";
#binding-cells = <2>;
Expand Down Expand Up @@ -674,6 +687,12 @@
tapping-term-ms = <250>;
bindings = <&kp I>, <&cap_space I>;
};
sq: semicolon_single_quote {
compatible = "zmk,behavior-tap-dance";
#binding-cells = <0>;
tapping-term-ms = <250>;
bindings = <&kp SEMICOLON>, <&kp SINGLE_QUOTE>;
};

};
// }}}
Expand Down
6 changes: 3 additions & 3 deletions config/splitkb_aurora_corne.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@
default {
display-name = "araxia";
bindings = <
&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
&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 &hrsq RCTRL 0 &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
>;
sensor-bindings = <&inc_dec_kp C_VOL_DN C_VOL_UP &inc_dec_kp PG_UP PG_DN>;
Expand Down

0 comments on commit d89039a

Please sign in to comment.