Skip to content

Commit

Permalink
Home row mods 2
Browse files Browse the repository at this point in the history
  • Loading branch information
SofusA committed Oct 31, 2024
1 parent cdc5960 commit cdd3ee9
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions config/boards/shields/sweeple/sweeple.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
#include <dt-bindings/zmk/bt.h>
#include <dt-bindings/zmk/mouse.h>

#define HRML(k1,k2,k3) &htl LSHFT k1 &htl LGUI k2 &htl LCTRL k3
#define HRMR(k1,k2,k3) &htl RCTRL k1 &htl RGUI k2 &htl RSHFT k3
#define HRML(k1,k2,k3) &ht LSHFT k1 &ht LCTRL k2 &ht LGUI k3
#define HRMR(k1,k2,k3) &ht RGUI k1 &ht RCTRL k2 &ht RSHFT k3

/ {
input_configs {
Expand All @@ -17,6 +17,16 @@
};

behaviors {
ht: hold_tap {
compatible = "zmk,behavior-hold-tap";
#binding-cells = <2>;
flavor = "tap-preferred";
tapping-term-ms = <220>;
quick-tap-ms = <150>;
require-prior-idle-ms = <100>;
bindings = <&kp>, <&kp>;
};

htl: hold_tap_leader {
label = "leader_hold_tap";
compatible = "zmk,behavior-hold-tap";
Expand Down Expand Up @@ -111,7 +121,7 @@
//╭──────────┬──────────┬──────────┬──────────┬──────────╮ ╭──────────┬──────────┬──────────┬──────────┬──────────╮
&trans &kp W &kp F &kp P &trans &trans &kp L &kp U &kp Y &trans
//├──────────┼──────────┼──────────┼──────────┼──────────┤ ├──────────┼──────────┼──────────┼──────────┼──────────┤
&kp A HRML(R, S, T) &kp G &kp M MRMR(N, E, I) &kp O
&kp A HRML(R, S, T) &kp G &kp M HRMR(N, E, I) &kp O
//├──────────┼──────────┼──────────┼──────────┼──────────┤ ├──────────┼──────────┼──────────┼──────────┼──────────┤
&kp Z &kp V &kp C &kp D &trans &trans &kp H &kp K &kp B &kp J
//╰──────────┴──────────┴──────────┼──────────┼──────────┤ ├──────────┼──────────┼──────────┴──────────┴──────────╯
Expand Down

0 comments on commit cdd3ee9

Please sign in to comment.