Cleanup / overhaul portions of 7skb keymap to be less 'in the way' and more appropriate for daily needs

This commit is contained in:
KemoNine 2021-04-28 23:44:04 +00:00
parent 9c29603de8
commit c8bd9fc61d

View file

@ -11,8 +11,10 @@
#include <dt-bindings/zmk/ext_power.h>
#define LAYER_ID_DEFAULT 0
#define LAYER_ID_FUNC 1
#define LAYER_ID_ALT 2
#define LAYER_ID_NAV 1
#define LAYER_ID_FUNC 2
#define LAYER_ID_ALT 3
#define LAYER_ID_MISC 4
/ {
behaviors {
@ -27,14 +29,22 @@
combos {
compatible = "zmk,combos";
combo_layer_navigation {
combo_layer_navigation_left {
key-positions = <31 18 33>;
bindings = <&tog LAYER_ID_FUNC>;
bindings = <&tog LAYER_ID_NAV>;
};
combo_shift_lock {
combo_layer_navigation_right {
key-positions = <36 23 38>;
bindings = <&tog LAYER_ID_NAV>;
};
combo_shift_lock_left {
key-positions = <18 32>;
bindings = <&kt LSHFT>;
};
combo_shift_lock_right {
key-positions = <23 37>;
bindings = <&kt RSHFT>;
};
};
keymap {
@ -46,8 +56,20 @@
&tildeesc &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &kp MINUS &kp EQUAL &kp BSPC &kp BSPC
&kp TAB &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &kp LBKT &kp RBKT &kp BSLH
&mo LAYER_ID_ALT &kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &kp SEMI &kp SQT &kp ENTER
&kp LSHFT &kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp COMMA &kp DOT &kp SLASH &kp RSHFT &none
&kp LCTRL &kp LGUI &kp LALT &tog LAYER_ID_FUNC &kp SPACE &mo LAYER_ID_FUNC &kp RCTRL &kp RALT
&kp LSHFT &kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp COMMA &kp DOT &kp SLASH &kp RSHFT &mo LAYER_ID_MISC
&kp LCTRL &kp LGUI &kp LALT &kp SPACE &kp SPACE &mo LAYER_ID_FUNC &kp RCTRL &kp RALT
>;
};
nav_layer {
label = "Nav";
bindings = <
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &kp BSPC &kp DEL
&kp CAPS &kp PG_UP &kp HOME &kp UP &kp END &trans &trans &kp HOME &kp UP &kp END &kp PG_UP &trans &trans &trans
&trans &kp PG_DN &kp LEFT &kp DOWN &kp RIGHT &trans &trans &kp LEFT &kp DOWN &kp RIGHT &kp PG_DN &trans &trans
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
&trans &trans &trans &trans &trans &trans &trans &trans
>;
};
@ -55,11 +77,11 @@
label = "Function";
bindings = <
&kp GRAVE &kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &kp F6 &kp F7 &kp F8 &kp F9 &kp F10 &kp F11 &kp F12 &kp DEL &kp DEL
&kp CAPS &kp PG_UP &kp HOME &kp UP &kp END &trans &trans &trans &trans &trans &trans &trans &trans &kp INS
&trans &kp PG_DN &kp LEFT &kp DOWN &kp RIGHT &trans &trans &trans &trans &trans &trans &trans &kp PSCRN
&bt BT_CLR &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_SEL 4 &trans &trans &trans &trans &bootloader &reset &kp C_PLAY_PAUSE
&trans &trans &trans &trans &trans &kp C_VOL_UP &kp C_VOL_DN &kp C_MUTE
&kp GRAVE &kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &kp F6 &kp F7 &kp F8 &kp F9 &kp F10 &kp F11 &kp F12 &kp BSPC &kp DEL
&kp CAPS &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &kp INS
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &kp PSCRN
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &kp C_PLAY_PAUSE
&trans &trans &trans &trans &kp C_VOL_UP &trans &kp C_VOL_DN &kp C_MUTE
>;
};
@ -71,6 +93,18 @@
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &none
&trans &trans &trans &trans &trans &trans &trans &trans
>;
};
misc_layer {
label = "Misc";
bindings = <
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
&bt BT_CLR &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_SEL 4 &trans &trans &trans &trans &trans &trans &trans
&rgb_ug RGB_HUI &rgb_ug RGB_HUD &rgb_ug RGB_BRI &rgb_ug RGB_BRD &ext_power EP_TOG &trans &trans &trans
>;
};