diff --git a/config/corne.keymap b/config/corne.keymap index 7f69fea..79186a6 100644 --- a/config/corne.keymap +++ b/config/corne.keymap @@ -115,40 +115,19 @@ nav_space_prev: nav_space_prev { compatible = "zmk,behavior-macro"; #binding-cells = <0>; - bindings = - <¯o_press>, - <&kp LCTRL &kp LGUI>, - <¯o_tap>, - <&kp LEFT>, - <¯o_release>, - <&kp LGUI &kp LCTRL>; - + bindings = <&sk LCTRL &sk LGUI &kp LEFT>; label = "NAV_SPACE_PREV"; }; nav_win_next: nav_win_next { compatible = "zmk,behavior-macro"; #binding-cells = <0>; - bindings = - <¯o_press>, - <&kp LALT>, - <¯o_tap>, - <&kp TAB>, - <¯o_release>, - <&kp LALT>; - + bindings = <&sk LALT &kp TAB>; label = "NAV_WIN_NEXT"; }; nav_win_prev: nav_win_prev { compatible = "zmk,behavior-macro"; #binding-cells = <0>; - bindings = - <¯o_press>, - <&kp LALT &kp LSHFT>, - <¯o_tap>, - <&kp TAB>, - <¯o_release>, - <&kp LSHFT &kp LALT>; - + bindings = <&sk LALT &sk LSHIFT &kp TAB>; label = "NAV_WIN_PREV"; }; nav_desktop: nav_desktop { @@ -157,6 +136,25 @@ bindings = <&sk LGUI &kp D>; label = "NAV_DESKTOP"; }; + shift_trans: shift_trans { + compatible = "zmk,behavior-macro"; + #binding-cells = <0>; + bindings = + <¯o_press>, + <&kp LSHIFT>, + <¯o_tap>, + <&trans>, + <¯o_release>, + <&kp LSHIFT>; + + label = "SHIFT_TRANS"; + }; + sym_deg: sym_deg { + compatible = "zmk,behavior-macro"; + #binding-cells = <0>; + bindings = <&kp RALT &kp O &kp O>; + label = "SYM_DEG"; + }; }; keymap { @@ -170,10 +168,10 @@ // | CTRL| GUI | SPC | | ENT | RSE | ALT | bindings = < -&mt ESC TAB &de_ue &mt SEMICOLON COMMA &mt COLON DOT &kp P &kp Y &kp F &kp G &kp C &kp T &kp Z &kp BACKSPACE -&kp CARET &kp A &kp O &kp E &kp I &kp U &kp H &kp D &kp R &mt LEFT_PARENTHESIS N &mt RIGHT_PARENTHESIS S &mt ENTER L -&de_ae &de_oe &kp Q &kp J &kp K &kp X &kp B &kp M &kp W &kp V &mt APOS HASH &kp MINUS - &kp LCTRL &kp LEFT_GUI &kp SPACE &to 1 &kp RSHIFT &mo 4 +&kp TAB &de_ue &kp COMMA &kp PERIOD &kp P &kp Y &kp F &kp G &kp C &kp T &kp Z &kp BACKSPACE +&kp ESCAPE &kp A &kp O &kp E &kp I &kp U &kp H &kp D &kp R &kp N &kp S &kp L +&de_ae &de_oe &kp Q &kp J &kp K &kp X &kp B &kp M &kp W &kp V &kp HASH &kp MINUS + &kp LCTRL &kp LEFT_GUI &kp SPACE &to 1 &mo 5 &mo 4 >; }; @@ -224,5 +222,14 @@ &trans &trans &trans &trans &trans &trans >; }; + + shift { + bindings = < +&trans &shift_trans &kp SEMI &kp LS(SEMI) &shift_trans &shift_trans &shift_trans &shift_trans &shift_trans &shift_trans &shift_trans &shift_trans +&trans &shift_trans &shift_trans &shift_trans &shift_trans &shift_trans &shift_trans &shift_trans &shift_trans &shift_trans &shift_trans &shift_trans +&shift_trans &shift_trans &shift_trans &shift_trans &shift_trans &shift_trans &shift_trans &shift_trans &shift_trans &shift_trans &kp SQT &shift_trans + &trans &trans &trans &trans &trans &trans + >; + }; }; };