Skip to content

Commit

Permalink
Add homerow mods
Browse files Browse the repository at this point in the history
  • Loading branch information
zoriya committed Apr 10, 2024
1 parent 9d1d101 commit 4a4c4a0
Showing 1 changed file with 39 additions and 2 deletions.
41 changes: 39 additions & 2 deletions config/abyss.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,43 @@
#include <dt-bindings/zmk/bt.h>

/ {
behaviors {
hml: homerow_mods_left {
compatible = "zmk,behavior-hold-tap";
flavor = "balanced";
tapping-term-ms = <280>;
quick-tap-ms = <150>;
require-prior-idle-ms = <150>;
bindings = <&kp>, <&kp>;
#binding-cells = <2>;
// all keys on the right hands and thumbs
hold-trigger-key-positions = <
4 5 6 7
13 14 15 16 17
22 23 24 25
26 27 28 29 30 31
>;
hold-trgger-on-release;
};
hmr: homerow_mods_right {
compatible = "zmk,behavior-hold-tap";
flavor = "balanced";
tapping-term-ms = <280>;
quick-tap-ms = <150>;
require-prior-idle-ms = <150>;
bindings = <&kp>, <&kp>;
#binding-cells = <2>;
// all keys on the left hands and thumbs
hold-trigger-key-positions = <
0 1 2 3
8 9 10 11 12
18 19 20 21
26 27 28 29 30 31
>;
hold-trgger-on-release;
};
};

keymap {
compatible = "zmk,keymap";

Expand All @@ -11,9 +48,9 @@
// ╭─────────────┬─────────────┬─────────────┬─────────────╮ ╭─────────────┬─────────────┬─────────────┬─────────────╮
&kp COMMA &kp DOT &kp P &kp Y &kp F &kp G &kp C &kp R
//╭─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────╮
&kp A &kp O &kp E &kp U &kp I &kp D &kp H &kp T &kp N &kp S
&hml LALT A &hml LGUI O &hml LSFT E &hml LCTL U &kp I &kp D &hmr LCTL H &hmr LSFT T &hmr LGUI N &hmr LALT S
//├─────────────┼─────────────┼─────────────┼─────────────┼─────────────╯ ╰─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤
&kp SQT w&kp Q &kp J &kp K &kp M &kp W &kp V &kp L
&kp SQT &kp Q &kp J &kp K &kp M &kp W &kp V &kp L
//╰───────────────────────────┼─────────────┼─────────────┼─────────────╮ ╭─────────────┼─────────────┼─────────────┼───────────────────────────╯
&kp TAB &kp SPACE &kp ESC &kp RET &kp BSPC &kp DEL
// ╰─────────────┴─────────────┴─────────────╯ ╰─────────────┴─────────────┴─────────────╯
Expand Down

0 comments on commit 4a4c4a0

Please sign in to comment.