Dot-space-shift morph
This commit is contained in:
parent
00b4fe948b
commit
04b3f77bbf
2 changed files with 19 additions and 1 deletions
|
@ -109,6 +109,23 @@ ZMK_BEHAVIOR(bs_del_num, mod_morph,
|
||||||
masked-mods = <MOD_LSFT>; // requires PR #1412
|
masked-mods = <MOD_LSFT>; // requires PR #1412
|
||||||
)
|
)
|
||||||
|
|
||||||
|
// tap: space | space + tap: dot -> space -> sticky shift | hold: activate layer
|
||||||
|
ZMK_BEHAVIOR(dot_spc, macro,
|
||||||
|
wait-ms = <0>;
|
||||||
|
tap-ms = <5>;
|
||||||
|
bindings = <&kp DOT &kp SPACE &sk LSHFT>;
|
||||||
|
)
|
||||||
|
ZMK_BEHAVIOR(spc_morph, mod_morph,
|
||||||
|
bindings = <&kp SPACE>, <&dot_spc>;
|
||||||
|
mods = <(MOD_LSFT|MOD_RSFT)>;
|
||||||
|
)
|
||||||
|
ZMK_BEHAVIOR(lt_spc, hold_tap,
|
||||||
|
flavor = "balanced";
|
||||||
|
tapping-term-ms = <200>;
|
||||||
|
quick-tap-ms = <QUICK_TAP_MS>;
|
||||||
|
bindings = <&mo>, <&spc_morph>;
|
||||||
|
)
|
||||||
|
|
||||||
// Windows sleep key
|
// Windows sleep key
|
||||||
ZMK_BEHAVIOR(win_sleep, macro,
|
ZMK_BEHAVIOR(win_sleep, macro,
|
||||||
wait-ms = <100>;
|
wait-ms = <100>;
|
||||||
|
@ -140,7 +157,7 @@ ZMK_LAYER(default_layer,
|
||||||
// ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ ├─────────────┤ ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤
|
// ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ ├─────────────┤ ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤
|
||||||
&kp Z &kp X &kp C &kp D &kp V EXTRA_MID &kp K &kp H &kp COMMA &kp DOT &kp SEMI
|
&kp Z &kp X &kp C &kp D &kp V EXTRA_MID &kp K &kp H &kp COMMA &kp DOT &kp SEMI
|
||||||
// ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ ├─────────────┤ ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤
|
// ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ ├─────────────┤ ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤
|
||||||
EXTRA_BOT_L < SYS ESC < NAV SPACE < UC TAB EXTRA_MID < FN RET &ss_cw &bs_del_num EXTRA_BOT_R
|
EXTRA_BOT_L < SYS ESC <_spc NAV 0 < UC TAB EXTRA_MID < FN RET &ss_cw &bs_del_num EXTRA_BOT_R
|
||||||
// ╰─────────────╯ ╰─────────────┴─────────────┴─────────────╯ ╰─────────────╯ ╰─────────────┴─────────────┴─────────────╯ ╰─────────────╯
|
// ╰─────────────╯ ╰─────────────┴─────────────┴─────────────╯ ╰─────────────╯ ╰─────────────┴─────────────┴─────────────╯ ╰─────────────╯
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -13,6 +13,7 @@ It is ported from my QMK configuration, which in turn is heavily inspired by Man
|
||||||
sticky mods on other layers
|
sticky mods on other layers
|
||||||
- combos replacing the symbol layer
|
- combos replacing the symbol layer
|
||||||
- sticky shift on right thumb, double-tap activates caps-word
|
- sticky shift on right thumb, double-tap activates caps-word
|
||||||
|
- shift + space morphs into dot + space + sticky-shift
|
||||||
- shift + backspace morphs into delete
|
- shift + backspace morphs into delete
|
||||||
- "Greek" layer for mathematical typesetting
|
- "Greek" layer for mathematical typesetting
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue