From 01bb3615f09ac30ef5c0fd26150ed0d9348057f8 Mon Sep 17 00:00:00 2001 From: ldebritto Date: Sun, 1 Dec 2024 11:24:21 -0300 Subject: [PATCH] Cleanup --- config/cradio.keymap | 89 ++++---------------------------------------- 1 file changed, 8 insertions(+), 81 deletions(-) diff --git a/config/cradio.keymap b/config/cradio.keymap index 53dbe2c..43ee8e9 100644 --- a/config/cradio.keymap +++ b/config/cradio.keymap @@ -2,24 +2,21 @@ #include #include #include // requires auto-layer module (https://github.com/urob/zmk-auto-layer) -#include // Assigning suitable kscan and matrix transforms for ZMK Studio +#include &cuddlykeyboards_ferris_layout { transform = <&default_transform>; kscan = <&kscan0>; }; #define DEF 0 -#define TMK 1 // TARMAK (https://forum.colemak.com/topic/1858-learn-colemak-in-steps-with-the-tarmak-layouts/) -#define NMT 2 // No-mod-taps for if I regret setting mod-taps and can't access my code or can't update my firmware on the keyboard -#define NUM 3 -#define NAV 4 -#define SYM 5 -#define FUN 6 -#define AOE 7 // AOE 2 layers with easier access for default shortcuts on main layer -#define AGS 8 -#define ABS 9 +#define NMT 1 // No-mod-taps for if I regret setting mod-taps and can't access my code or can't update my firmware on the keyboard +#define NUM 2 +#define NAV 3 +#define SYM 4 +#define FUN 5 + #define HYPER LG(LS(LC(LALT))) &sk { @@ -109,13 +106,6 @@ require-prior-idle-ms = <200>; }; - toggle_aoe { - key-positions = <20 21 22>; - bindings = <&tog AOE>; - layers = ; - require-prior-idle-ms = <200>; - }; - sys_bootloader { key-positions = <20 21>; bindings = <&bootloader>; @@ -148,7 +138,7 @@ }; // sys_zmk_studio_unlock { - // key-positions = <16 17 18>; + // key-positions = <26 27 28>; // bindings = <&studio_unlock>; // layers = ; // }; @@ -230,33 +220,6 @@ require-prior-idle-ms = <175>; }; - ltl: ltl { // Layer-tap variants for urob's balanced hrm with a &lc instead of a regular &mo on hold - compatible = "zmk,behavior-hold-tap"; - label = "LC_TAP_L"; - bindings = <&lc>, <&kp>; - - #binding-cells = <2>; - hold-trigger-key-positions = <5 6 7 8 9 15 16 17 18 19 25 26 27 28 29 30 31 32 33>; // right-side + thumbs - flavor = "balanced"; - tapping-term-ms = <280>; - hold-trigger-on-release; - quick-tap-ms = <175>; - require-prior-idle-ms = <175>; - }; - - ltr: ltr { // Layer-tap variants for urob's balanced hrm with a &lc instead of a regular &mo on hold - compatible = "zmk,behavior-hold-tap"; - label = "LC_TAP_R"; - bindings = <&lc>, <&kp>; - - #binding-cells = <2>; - flavor = "balanced"; - tapping-term-ms = <280>; - hold-trigger-key-positions = <0 1 2 3 4 10 11 12 13 14 20 21 22 23 24 30 31 32 33>; // left-side + thumbs - hold-trigger-on-release; - quick-tap-ms = <175>; - require-prior-idle-ms = <175>; - }; }; macros { @@ -299,15 +262,6 @@ >; }; - TMK { - bindings = < - &kp Q &kp W &kp J &kp R &kp T &kp Y &kp U &kp I &kp O &kp P - &hrml LCTRL A &hrml LALT S &hrml LSHFT D &hrml LGUI F &hrml HYPER G &hrmr HYPER H &hrmr RGUI N &hrmr LSHFT E &hrmr RALT L &hrmr RCTRL SQT - &hrml GLOBE Z &kp X &kp C &kp V &kp B &kp K &kp M &kp COMMA &kp DOT &kp SEMI - &lc NAV &hp RSHFT SPACE &kp SPACE &lc SYM - >; - }; - NMT { bindings = < &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P @@ -353,31 +307,4 @@ >; }; - AOE { - bindings = < - &kp Q &kp W &kp E &kp R &kp T &trans &trans &trans &trans &trans - &mt LCTRL A &mt LALT S &mt LSHFT D &mt LCTRL F &kp G &trans &trans &trans &trans &trans - < 2 Z &kp X &kp C &kp V &kp B &trans &trans &trans &trans &trans - < AGS H < ABS DOT &trans &trans - >; - }; - - AGS { - bindings = < - &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &trans &trans &trans &trans &kp BSPC - &mt LCTRL N6 &mt LALT N7 &mt LSHFT N8 &mt LCTRL N9 &kp N0 &trans &trans &trans &trans &kp ENTER - &kp COMMA &kp BSPC &kp SPACE &kp DOT &kp H &trans &trans &trans &trans &kp F3 - &trans &kp DEL &trans &trans - >; - }; - - ABS { - bindings = < - &kp LC(LS(M)) &kp LC(LS(S)) &kp LC(LS(U)) &kp LC(LS(Y)) &kp LS(COMMA) &trans &trans &trans &trans &trans - &kp LC(LS(A)) &kp LC(LS(L)) &kp LC(LS(B)) &kp LC(LS(K)) &kp LS(LC(D)) &trans &trans &trans &trans &trans - &kp LC(LS(Z)) &kp LC(LS(I)) &kp LC(LS(G)) &kp LC(LS(V)) &kp LC(LS(H)) &trans &trans &trans &trans &trans - &trans &trans &trans &trans - >; - }; - }; };