Reverse dot-morph nesting
The old order would trigger the morph on Ctrl + Dot, which is used by some browsers to fill in fields. With the new order, the nested morph is only triggered if both Ctrl and Shift are pressed simultaneously.
This commit is contained in:
parent
5a5cf8e02b
commit
52238e514d
1 changed files with 12 additions and 12 deletions
|
@ -167,24 +167,24 @@ ZMK_BEHAVIOR(sls, sticky_key,
|
||||||
)
|
)
|
||||||
|
|
||||||
// tap: comma | shift + tap: semicolon | ctrl + shift + tap: <
|
// tap: comma | shift + tap: semicolon | ctrl + shift + tap: <
|
||||||
ZMK_BEHAVIOR(dot_inner_morph, mod_morph,
|
ZMK_BEHAVIOR(comma_inner_morph, mod_morph,
|
||||||
bindings = <&kp DOT>, <&kp COLON>;
|
bindings = <&kp SEMICOLON>, <&kp LESS_THAN>;
|
||||||
mods = <(MOD_LSFT|MOD_RSFT)>;
|
|
||||||
)
|
|
||||||
ZMK_BEHAVIOR(dot_morph, mod_morph,
|
|
||||||
bindings = <&dot_inner_morph>, <&kp DOT>;
|
|
||||||
mods = <(MOD_LCTL|MOD_RCTL)>;
|
mods = <(MOD_LCTL|MOD_RCTL)>;
|
||||||
)
|
)
|
||||||
|
ZMK_BEHAVIOR(comma_morph, mod_morph,
|
||||||
|
mods = <(MOD_LSFT|MOD_RSFT)>;
|
||||||
|
bindings = <&kp COMMA>, <&comma_inner_morph>;
|
||||||
|
)
|
||||||
|
|
||||||
// tap: dot | shift + tap: colon | ctrl + shift + tap: >
|
// tap: dot | shift + tap: colon | ctrl + shift + tap: >
|
||||||
ZMK_BEHAVIOR(comma_inner_morph, mod_morph,
|
ZMK_BEHAVIOR(dot_inner_morph, mod_morph,
|
||||||
bindings = <&kp COMMA>, <&kp SEMICOLON>;
|
bindings = <&kp COLON>, <&kp GREATER_THAN>;
|
||||||
mods = <(MOD_LSFT|MOD_RSFT)>;
|
|
||||||
)
|
|
||||||
ZMK_BEHAVIOR(comma_morph, mod_morph,
|
|
||||||
bindings = <&comma_inner_morph>, <&kp COMMA>;
|
|
||||||
mods = <(MOD_LCTL|MOD_RCTL)>;
|
mods = <(MOD_LCTL|MOD_RCTL)>;
|
||||||
)
|
)
|
||||||
|
ZMK_BEHAVIOR(dot_morph, mod_morph,
|
||||||
|
bindings = <&kp DOT>, <&dot_inner_morph>;
|
||||||
|
mods = <(MOD_LSFT|MOD_RSFT)>;
|
||||||
|
)
|
||||||
|
|
||||||
// Swapper
|
// Swapper
|
||||||
/ {
|
/ {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue