trying out key repeat!
This commit is contained in:
parent
38960cf959
commit
8c0f132869
1 changed files with 44 additions and 30 deletions
|
@ -17,11 +17,11 @@
|
||||||
continue-list = <UNDERSCORE MINUS BSPC>;
|
continue-list = <UNDERSCORE MINUS BSPC>;
|
||||||
};
|
};
|
||||||
|
|
||||||
#define RSTHD 0
|
#define RSTHD_L 0
|
||||||
#define NUM 1
|
#define NUM_L 1
|
||||||
#define SYM 2
|
#define SYM_L 2
|
||||||
#define NAV 3
|
#define NAV_L 3
|
||||||
#define FUN 4
|
#define FUN_L 4
|
||||||
|
|
||||||
#define MY_PSCRN LS(LC(PSCRN))
|
#define MY_PSCRN LS(LC(PSCRN))
|
||||||
#define MY_COPY LC(INSERT)
|
#define MY_COPY LC(INSERT)
|
||||||
|
@ -53,12 +53,17 @@
|
||||||
|
|
||||||
COMBO(caps_word_right, &caps_word, 26 27, 60)
|
COMBO(caps_word_right, &caps_word, 26 27, 60)
|
||||||
COMBO(caps_word_left, &caps_word, 22 23, 60)
|
COMBO(caps_word_left, &caps_word, 22 23, 60)
|
||||||
COMBO(colon, &kp COLON, 7 8, 60)
|
|
||||||
COMBO(semicolon, &kp SEMI, 1 2, 60)
|
COMBO(colon, &kp COLON, 6 7, 60)
|
||||||
|
COMBO(semicolon, &kp SEMI, 7 8, 60)
|
||||||
|
|
||||||
|
COMBO(slash, &kp FSLH, 1 2, 60)
|
||||||
|
|
||||||
COMBO(underscore, &kp UNDER, 31 32, 100)
|
COMBO(underscore, &kp UNDER, 31 32, 100)
|
||||||
COMBO(minus, &kp MINUS, 33 34, 100)
|
COMBO(minus, &kp MINUS, 33 34, 100)
|
||||||
|
|
||||||
COMBO(equal, &kp EQUAL, 17 26, 60)
|
COMBO(equal, &kp EQUAL, 17 26, 60)
|
||||||
COMBO(slash, &kp SLASH, 12 23, 60)
|
COMBO(enter, &kp ENTER, 12 23, 60)
|
||||||
};
|
};
|
||||||
|
|
||||||
behaviors {
|
behaviors {
|
||||||
|
@ -79,7 +84,7 @@
|
||||||
#binding-cells = <2>;
|
#binding-cells = <2>;
|
||||||
flavor = "tap-preferred";
|
flavor = "tap-preferred";
|
||||||
tapping-term-ms = <200>;
|
tapping-term-ms = <200>;
|
||||||
quick-tap-ms = <200>;
|
quick-tap-ms = <300>;
|
||||||
bindings = <&kp>, <&kp>;
|
bindings = <&kp>, <&kp>;
|
||||||
// hold-trigger-key-positions = <0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17>;
|
// hold-trigger-key-positions = <0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17>;
|
||||||
};
|
};
|
||||||
|
@ -90,19 +95,19 @@
|
||||||
#binding-cells = <2>;
|
#binding-cells = <2>;
|
||||||
flavor = "tap-preferred";
|
flavor = "tap-preferred";
|
||||||
tapping-term-ms = <200>;
|
tapping-term-ms = <200>;
|
||||||
quick-tap-ms = <200>;
|
quick-tap-ms = <300>;
|
||||||
bindings = <&mo>, <&kp>;
|
bindings = <&mo>, <&kp>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
hold_lt: layer_hold_tap {
|
rpt_lt: repeat_hold_tap {
|
||||||
compatible = "zmk,behavior-hold-tap";
|
compatible = "zmk,behavior-hold-tap";
|
||||||
label = "LAYER_HOLD_TAP";
|
label = "LAYER_HOLD_TAP";
|
||||||
#binding-cells = <2>;
|
#binding-cells = <2>;
|
||||||
flavor = "hold-preferred";
|
flavor = "tap-preferred";
|
||||||
tapping-term-ms = <200>;
|
tapping-term-ms = <200>;
|
||||||
quick-tap-ms = <200>;
|
quick-tap-ms = <300>;
|
||||||
bindings = <&mo>, <&kp>;
|
bindings = <&mo>, <&key_repeat>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -115,7 +120,7 @@
|
||||||
&kp Z &kp C &kp Y &kp F &kp P &kp X &kp M &kp APOS &kp U &kp Q
|
&kp Z &kp C &kp Y &kp F &kp P &kp X &kp M &kp APOS &kp U &kp Q
|
||||||
&lhm LALT R &lhm LSHFT S &lhm LCTRL T &lhm LGUI H &kp D &kp L &rhm LGUI N &rhm LCTRL A &rhm LSHFT I &rhm LALT O
|
&lhm LALT R &lhm LSHFT S &lhm LCTRL T &lhm LGUI H &kp D &kp L &rhm LGUI N &rhm LCTRL A &rhm LSHFT I &rhm LALT O
|
||||||
&sk LSHIFT &kp V &kp G &kp K &kp B &kp W &kp J &kp COMMA &kp DOT &sk LSHIFT
|
&sk LSHIFT &kp V &kp G &kp K &kp B &kp W &kp J &kp COMMA &kp DOT &sk LSHIFT
|
||||||
/*& &*/ &kp ESC &base_lt NAV SPC &hold_lt SYM ENTER &base_lt SYM BSPC &base_lt NUM E &kp TAB /* & &*/
|
/*& &*/ &kp ESC &base_lt NAV_L SPC &rpt_lt SYM_L 0 &base_lt SYM_L BSPC &base_lt NUM_L E &base_lt FUN_L TAB /* & &*/
|
||||||
>;
|
>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -145,5 +150,14 @@
|
||||||
/*& &*/ &trans &trans &trans &bt BT_PRV &bt BT_NXT &bt BT_CLR /* & &*/
|
/*& &*/ &trans &trans &trans &bt BT_PRV &bt BT_NXT &bt BT_CLR /* & &*/
|
||||||
>;
|
>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
function_layer {
|
||||||
|
bindings = <
|
||||||
|
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
|
||||||
|
&kp F3 &kp F2 &kp F1 &kp F0 &kp F4 &kp F5 &kp F6 &kp F7 &kp F8 &kp F9
|
||||||
|
&trans &kp F12 &kp F11 &kp F10 &trans &trans &trans &trans &trans &trans
|
||||||
|
/*& &*/ &trans &trans &trans &trans &trans &trans /* & &*/
|
||||||
|
>;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue