Skip to content

Commit

Permalink
Swap capsword w/ sticky lshift
Browse files Browse the repository at this point in the history
  • Loading branch information
zoriya committed Dec 6, 2024
1 parent db26b28 commit eea497c
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 25 deletions.
24 changes: 12 additions & 12 deletions config/abyss.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
left_shift: left_shift_morph {
compatible = "zmk,behavior-mod-morph";
#binding-cells = <0>;
bindings = <&kp LSHFT>, <&kp LEFT>;
bindings = <&caps_word>, <&kp LEFT>;
mods = <(MOD_LSFT|MOD_RSFT)>;
keep-mods = <(MOD_LSFT)>;
};
Expand Down Expand Up @@ -103,11 +103,11 @@
hold-trigger-on-release;
};

lt_caps: layer_tap_cap {
ltsk: layer_tap_cap {
compatible = "zmk,behavior-hold-tap";
flavor = "balanced";
#binding-cells = <2>;
bindings = <&mo>, <&caps_word>;
bindings = <&mo>, <&sk>;
tapping-term-ms = <TAPPING_TERM>;
quick-tap-ms = <QUICK_TAP>;
hold-trigger-key-positions = <KEYR>;
Expand All @@ -127,15 +127,15 @@

default_layer {
bindings = <
// ╭─────────────┬─────────────┬─────────────┬─────────────╮ ╭─────────────────────────────┬─────────────┬─────────────╮
&kp COMMA &kp DOT &kp P &kp Y &kp F &kp G &kp C &kp R
//╭─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ ├─────────────────────────────┼─────────────┼─────────────┼─────────────╮
&hml LALT A &hml LGUI O &hml LSFT E &hml LCTL U &kp I &kp D &hmr RCTL H &hmr RSFT T &hmr RGUI N &hmr RALT S
//├─────────────┼─────────────┼─────────────┼─────────────┼─────────────╯ ╰─────────────────────────────┼─────────────┼─────────────┼─────────────┤
&kp SQT &kp Q &kp J &kp K &kp M &kp W &kp V &kp L
//╰───────────────────────────┼─────────────┼─────────────┼─────────────╮ ╭─────────────────────────────┼─────────────┼───────────────────────────╯
&left_shift &lt_spc SY 0 &lt OT TAB &lt_caps OT 0 &lt_bspc SY 0 &up_del
// ╰─────────────┴─────────────┴─────────────╯ ╰─────────────────────────────┴─────────────╯
// ╭─────────────┬─────────────┬─────────────┬─────────────╮ ╭─────────────────┬───────────────┬─────────────┬─────────────╮
&kp COMMA &kp DOT &kp P &kp Y &kp F &kp G &kp C &kp R
//╭─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ ├─────────────────┼───────────────┼─────────────┼─────────────┼─────────────╮
&hml LALT A &hml LGUI O &hml LSFT E &hml LCTL U &kp I &kp D &hmr RCTL H &hmr RSFT T &hmr RGUI N &hmr RALT S
//├─────────────┼─────────────┼─────────────┼─────────────┼─────────────╯ ╰─────────────────┼───────────────┼─────────────┼─────────────┼─────────────┤
&kp SQT &kp Q &kp J &kp K &kp M &kp W &kp V &kp L
//╰───────────────────────────┼─────────────┼─────────────┼─────────────╮ ╭─────────────────┼───────────────┼─────────────┼───────────────────────────╯
&left_shift &lt_spc SY 0 &lt OT TAB &ltsk OT LSHIFT &lt_bspc SY 0 &up_del
// ╰─────────────┴─────────────┴─────────────╯ ╰─────────────────┴───────────────┴─────────────╯
>;
};

Expand Down
22 changes: 9 additions & 13 deletions draw/keymap.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit eea497c

Please sign in to comment.