Skip to content

Commit

Permalink
Update base.keymap
Browse files Browse the repository at this point in the history
  • Loading branch information
Patches-weaver committed Dec 20, 2023
1 parent 45e0250 commit 2237fee
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions config/base.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ ZMK_BEHAVIOR(win_sleep, macro,
bindings = <&kp LG(X) &kp U &kp S>;
)

// Misc aliases
// misc aliases
#define CANCEL &kp K_CANCEL // cancel caps-word, num-word and smart-mouse
#define DSK_PREV &hmr RSHFT LG(LC(LEFT)) // previous desktop
#define DSK_NEXT &hmr LALT LG(LC(RIGHT)) // next desktop
Expand All @@ -226,17 +226,21 @@ ZMK_CONDITIONAL_LAYER(FN NUM, SYS) // FN + NUM --> SYS
ZMK_LAYER(base,
// ╭─────────────┬─────────────┬─────────────┬─────────────┬─────────────╮ ╭─────────────┬─────────────┬─────────────┬─────────────┬─────────────╮
&kp C &kp B &kp H &kp G &kp K &comma_morph &dot_morph &kp SQT &kp J &kp K
// ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤
&hml LGUI P &hml LALT S &hml LCTRL N &hml LSHFT T &kp V &kp MINUS &hmr RSHFT A &hmr LCTRL E &hmr LALT I &hmr LGUI W
// ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤
&kp F &kp L &kp D &kp U &kp O &kp Y
// ╰─────────────┼─────────────┴─────────────┼─────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┴─────────────┴─────────────╯
&lt NAV 0 &lt_spc RET SMART_NUM &smart_shft FN
&lt FN NAV 0 &lt_spc RET SMART_NUM &smart_shft
// ╰─────────────┴─────────────╯ ╰─────────────┴─────────────╯
)

ZMK_LAYER(nav,
// ╭─────────────┬─────────────┬─────────────┬─────────────┬─────────────╮ ╭─────────────┬─────────────┬─────────────┬─────────────┬─────────────╮
___ ___ &kp LS(TAB) &swapper ___ &kp PG_UP NAV_BSPC NAV_UP NAV_DEL ___
// ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤
&sk LGUI &sk LALT &sk LCTRL &sk LSHFT ___ &kp PG_DN NAV_LEFT NAV_DOWN NAV_RIGHT &kp RET
// ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤
___ ___ ___ &kp TAB &kp LT &kp GT
// ╰─────────────┼─────────────┴─────────────┼─────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┴─────────────┴─────────────╯
___ ___ ___ CANCEL
Expand All @@ -246,7 +250,9 @@ ZMK_LAYER(nav,
ZMK_LAYER(fn,
// ╭─────────────┬─────────────┬─────────────┬─────────────┬─────────────╮ ╭─────────────┬─────────────┬─────────────┬─────────────┬─────────────╮
&kp F12 &kp F7 &kp F8 &kp F9 ___ ___ &kp C_PREV &kp C_VOL_UP &kp C_NEXT &win_sleep
// ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤
&hml LGUI F11 &hml LALT F4 &hml LCTRL F5 &hml LSHFT F6 ___ ___ DSK_PREV VOL_DOWN DSK_NEXT ___
// ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤
&kp F1 &kp F2 &kp F3 PIN_APP PIN_WIN DSK_MGR
// ╰─────────────┼─────────────┴─────────────┼─────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┴─────────────┴─────────────╯
___ ___ &kp C_MUTE &kp C_PP
Expand All @@ -256,7 +262,9 @@ ZMK_LAYER(fn,
ZMK_LAYER(num,
// ╭─────────────┬─────────────┬─────────────┬─────────────┬─────────────╮ ╭─────────────┬─────────────┬─────────────┬─────────────┬─────────────╮
___ &kp N7 &kp N8 &kp N9 ___ ___ ___ ___ ___ ___
// ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤
&hml LGUI N0 &hml LALT N4 &hml LCTRL N5 &hml LSHFT N6 ___ ___ ___ ___ ___ ___
// ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤
&kp N1 &kp N2 &kp N3 ___ ___ ___ ___
// ╰─────────────┼─────────────┴─────────────┼─────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┴─────────────┴─────────────╯
___ ___ ___ ___
Expand All @@ -266,7 +274,9 @@ ZMK_LAYER(num,
ZMK_LAYER(sys,
// ╭─────────────┬─────────────┬─────────────┬─────────────┬─────────────╮ ╭─────────────┬─────────────┬─────────────┬─────────────┬─────────────╮
_BT_SEL_KEYS_ ___ ___ ___ ___ ___
// ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤
___ ___ ___ ___ &bootloader &bootloader ___ ___ ___ ___
// ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤
___ ___ &sys_reset &sys_reset ___ ___
// ╰─────────────┼─────────────┴─────────────┼─────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┴─────────────┴─────────────╯
___ ___ ___ ___
Expand All @@ -276,7 +286,9 @@ ZMK_LAYER(sys,
ZMK_LAYER(mouse,
// ╭─────────────┬─────────────┬─────────────┬─────────────┬─────────────╮ ╭─────────────┬─────────────┬─────────────┬─────────────┬─────────────╮
___ ___ ___ ___ ___ ___ U_WH_D U_MS_U U_WH_U ___
// ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤
___ ___ ___ ___ ___ ___ U_MS_L U_MS_D U_MS_R ___
// ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤
___ ___ ___ ___ ___ ___
// ╰─────────────┼─────────────┴─────────────┼─────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┴─────────────┴─────────────╯
___ ___ U_BTN2 U_BTN1
Expand Down

0 comments on commit 2237fee

Please sign in to comment.