Skip to content

Commit

Permalink
Keymap: Make base layout qwerty
Browse files Browse the repository at this point in the history
  • Loading branch information
infused-kim committed Aug 24, 2024
1 parent 8872bbe commit 74f5ba8
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
20 changes: 20 additions & 0 deletions config/base.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,25 @@
keymap {
compatible = "zmk,keymap";

#ifdef BASE_LAYOUT_QWERTY
Base_layer {
display-name = "Base Q";
bindings = <
// ╭────────────────────────┬────────────────────────┬────────────────────────┬────────────────────────┬────────────────────────┬────────────────────────╮ ╭────────────────────────┬────────────────────────┬────────────────────────┬───────────────────────┬────────────────────────┬────────────────────────╮
&mm_grescm_gui &kp Q &kp W &hm_l MY_HYPER E &kp R &kp T &kp Y &kp U &hm_r MY_HYPER I &kp O &kp P &kp GRAVE
// ├────────────────────────┼────────────────────────┼────────────────────────┼────────────────────────┼────────────────────────┼────────────────────────┤ ├────────────────────────┼────────────────────────┼────────────────────────┼───────────────────────┼────────────────────────┼────────────────────────┤
&kp_sk LSHFT LSHFT &hm_l LCTRL A &hm_l LALT S &hm_l LGUI D &hm_shift_l LSHFT F &kp G &kp H &hm_shift_r RSHFT J &hm_r RGUI K &hm_r RALT L &hm_r RCTRL SEMICOLON &kp_sk RSHFT RSHFT
// ├────────────────────────┼────────────────────────┼────────────────────────┼────────────────────────┼────────────────────────┼────────────────────────┤ ├────────────────────────┼────────────────────────┼────────────────────────┼───────────────────────┼────────────────────────┼────────────────────────┤
&none &kp Z &kp X &hm_l MY_MEH C &kp V &kp B &kp N &kp M &mm_comma_semi_meh &mm_dot_colon &kp SLASH &none
// ╰────────────────────────┴────────────────────────┴────────────────────────┴────────────────────────┼────────────────────────┼────────────────────────┤ ├────────────────────────┼────────────────────────┼────────────────────────┼───────────────────────┼────────────────────────┼────────────────────────╯
&mm_grescm_gui &lt_l SYM SPACE &lt ADJUST TAB &mm_bspc_del_layer &lt NAV RETURN &lt_num_word NUM NUM
// ╰────────────────────────┴────────────────────────┴────────────────────────╯ ╰────────────────────────┴────────────────────────┴────────────────────────╯

>;
// sensor-bindings = <&inc_dec_kp C_VOL_DN C_VOL_UP &inc_dec_kp C_PREV C_NEXT>;
};

#else
Base_layer {
display-name = "Base";
bindings = <
Expand All @@ -74,6 +93,7 @@
>;
// sensor-bindings = <&inc_dec_kp C_VOL_DN C_VOL_UP &inc_dec_kp C_PREV C_NEXT>;
};
#endif

Base_Qwerty_layer {
display-name = "QWERTY";
Expand Down
2 changes: 2 additions & 0 deletions config/corne.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,7 @@
// #define HAS_MOUSE_TP
// #define HAS_CAPSLOCK

#define BASE_LAYOUT_QWERTY

/* source the main keymap */
#include "base.keymap"

0 comments on commit 74f5ba8

Please sign in to comment.