Fix arrows

This commit is contained in:
2024-10-15 14:40:12 +02:00
parent 14eb58a33b
commit be5320cc44
3 changed files with 44 additions and 43 deletions

View File

@@ -55,28 +55,28 @@
#binding-cells = <0>;
bindings = <&kp LSHFT>, <&kp LEFT>;
mods = <(MOD_LSFT|MOD_RSFT)>;
keep-mods = <(MOD_RSFT)>;
keep-mods = <(MOD_LSFT)>;
};
right_space: right_space_morph {
compatible = "zmk,behavior-mod-morph";
#binding-cells = <0>;
bindings = <&kp SPACE>, <&kp RIGHT>;
mods = <(MOD_LSFT|MOD_RSFT)>;
keep-mods = <(MOD_RSFT)>;
keep-mods = <(MOD_LSFT)>;
};
down_bspc: down_dspc_morph {
compatible = "zmk,behavior-mod-morph";
#binding-cells = <0>;
bindings = <&kp BSPC>, <&kp DOWN>;
mods = <(MOD_LSFT|MOD_RSFT)>;
keep-mods = <(MOD_LSFT)>;
keep-mods = <(MOD_RSFT)>;
};
up_del: up_del_morph {
compatible = "zmk,behavior-mod-morph";
#binding-cells = <0>;
bindings = <&kp DEL>, <&kp UP>;
mods = <(MOD_LSFT|MOD_RSFT)>;
keep-mods = <(MOD_LSFT)>;
keep-mods = <(MOD_RSFT)>;
};
lt_spc: layer_tap_spc {
@@ -104,7 +104,7 @@
compatible = "zmk,behavior-hold-tap";
flavor = "balanced";
#binding-cells = <2>;
bindings = <&kp>, <&caps_word>;
bindings = <&mo>, <&caps_word>;
tapping-term-ms = <TAPPING_TERM>;
quick-tap-ms = <QUICK_TAP>;
hold-trigger-key-positions = <KEYR>;
@@ -124,15 +124,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 LCTL H &hmr LSFT T &hmr LGUI N &hmr LALT 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 LSHIFT 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 &lt_caps OT 0 &lt_bspc SY 0 &up_del
// ╰─────────────┴─────────────┴─────────────╯ ╰───────────────┴──────────────┴─────────────╯
>;
};
@@ -141,7 +141,7 @@
// ╭───────────────┬────────────────┬────────────────┬─────────────╮ ╭─────────────┬─────────────┬─────────────┬─────────────╮
&kp EXCL &kp AT &kp HASH &kp BSLH &kp QMARK &kp N7 &kp N8 &kp N9
//╭─────────────────┼───────────────┼────────────────┼────────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┼─────────────┼────────────────╮
&hml LALT COLON &hml LGUI DLLR &hml LSFT PRCNT &hml LCTL CARET &kp FSLH &kp EQUAL &hmr LCTL N4 &hmr LSFT N5 &hmr LGUI N6 &hmr LALT PLUS
&hml LALT COLON &hml LGUI DLLR &hml LSFT PRCNT &hml LCTL CARET &kp FSLH &kp EQUAL &hmr RCTL N4 &hmr RSFT N5 &hmr RGUI N6 &hmr RALT PLUS
//├─────────────────┼───────────────┼────────────────┼────────────────┼─────────────╯ ╰─────────────┼─────────────┼─────────────┼─────────────┼────────────────┤
&kp GRAVE &kp AMPS &kp STAR &kp PIPE &kp N1 &kp N2 &kp N3 &kp TILDE
//╰─────────────────────────────────┼────────────────┼────────────────┼─────────────╮ ╭─────────────┼─────────────┼─────────────┼──────────────────────────────╯
@@ -301,16 +301,16 @@
};
combo_esc {
// pressing uh does esc
key-positions = <11 14>;
// pressing e & SPC does esc
key-positions = <10 27>;
bindings = <&kp ESC>;
timeout-ms = <20>;
require-prior-idle-ms = <COMBO_REQUIRE_DELAY>;
layers = <0>;
};
combo_enter {
// pressing te does enter
key-positions = <10 15>;
// pressing e & BSP does enter
key-positions = <15 30>;
bindings = <&kp ENTER>;
timeout-ms = <20>;
require-prior-idle-ms = <COMBO_REQUIRE_DELAY>;

View File

@@ -182,22 +182,22 @@ path.combo {
<g transform="translate(480, 84)" class="key keypos-14">
<rect rx="6" ry="6" x="-28" y="-26" width="56" height="52" class="key"/>
<text x="0" y="0" class="key tap">H</text>
<text x="0" y="24" class="key hold">LCTL</text>
<text x="0" y="24" class="key hold">RCTL</text>
</g>
<g transform="translate(540, 84)" class="key keypos-15">
<rect rx="6" ry="6" x="-28" y="-26" width="56" height="52" class="key"/>
<text x="0" y="0" class="key tap">T</text>
<text x="0" y="24" class="key hold">LSFT</text>
<text x="0" y="24" class="key hold">RSFT</text>
</g>
<g transform="translate(600, 84)" class="key keypos-16">
<rect rx="6" ry="6" x="-28" y="-26" width="56" height="52" class="key"/>
<text x="0" y="0" class="key tap">N</text>
<text x="0" y="24" class="key hold">LGUI</text>
<text x="0" y="24" class="key hold">RGUI</text>
</g>
<g transform="translate(660, 112)" class="key keypos-17">
<rect rx="6" ry="6" x="-28" y="-26" width="56" height="52" class="key"/>
<text x="0" y="0" class="key tap">S</text>
<text x="0" y="24" class="key hold">LALT</text>
<text x="0" y="24" class="key hold">RALT</text>
</g>
<g transform="translate(30, 168)" class="key keypos-18">
<rect rx="6" ry="6" x="-28" y="-26" width="56" height="52" class="key"/>
@@ -252,8 +252,9 @@ path.combo {
<g transform="translate(390, 196)" class="key keypos-29">
<rect rx="6" ry="6" x="-28" y="-26" width="56" height="52" class="key"/>
<text x="0" y="0" class="key tap"><tspan style="font-size: 70%">&amp;caps_word</tspan></text>
<text x="0" y="24" class="key hold">LSHIFT</text>
</g>
<a href="#others">
<text x="0" y="24" class="key hold layer-activator">others</text>
</a></g>
<g transform="translate(450, 196)" class="key keypos-30">
<rect rx="6" ry="6" x="-28" y="-26" width="56" height="52" class="key"/>
<text x="0" y="0" class="key tap">BSPC</text>
@@ -390,22 +391,22 @@ path.combo {
<g transform="translate(480, 84)" class="key keypos-14">
<rect rx="6" ry="6" x="-28" y="-26" width="56" height="52" class="key"/>
<text x="0" y="0" class="key tap">4</text>
<text x="0" y="24" class="key hold">LCTL</text>
<text x="0" y="24" class="key hold">RCTL</text>
</g>
<g transform="translate(540, 84)" class="key keypos-15">
<rect rx="6" ry="6" x="-28" y="-26" width="56" height="52" class="key"/>
<text x="0" y="0" class="key tap">5</text>
<text x="0" y="24" class="key hold">LSFT</text>
<text x="0" y="24" class="key hold">RSFT</text>
</g>
<g transform="translate(600, 84)" class="key keypos-16">
<rect rx="6" ry="6" x="-28" y="-26" width="56" height="52" class="key"/>
<text x="0" y="0" class="key tap">6</text>
<text x="0" y="24" class="key hold">LGUI</text>
<text x="0" y="24" class="key hold">RGUI</text>
</g>
<g transform="translate(660, 112)" class="key keypos-17">
<rect rx="6" ry="6" x="-28" y="-26" width="56" height="52" class="key"/>
<text x="0" y="0" class="key tap">+</text>
<text x="0" y="24" class="key hold">LALT</text>
<text x="0" y="24" class="key hold">RALT</text>
</g>
<g transform="translate(30, 168)" class="key keypos-18">
<rect rx="6" ry="6" x="-28" y="-26" width="56" height="52" class="key"/>
@@ -837,20 +838,20 @@ path.combo {
<g transform="translate(45, 100)" class="key keypos-10">
<rect rx="6" ry="6" x="-13" y="-12" width="26" height="24" class="key"/>
</g>
<g transform="translate(75, 100)" class="key keypos-11">
<rect rx="6" ry="6" x="-13" y="-12" width="26" height="24" class="key"/>
</g>
<g transform="translate(105, 100)" class="key held keypos-12">
<g transform="translate(75, 100)" class="key held keypos-11">
<rect rx="6" ry="6" x="-13" y="-12" width="26" height="24" class="key held"/>
</g>
<g transform="translate(105, 100)" class="key keypos-12">
<rect rx="6" ry="6" x="-13" y="-12" width="26" height="24" class="key"/>
</g>
<g transform="translate(135, 114)" class="key keypos-13">
<rect rx="6" ry="6" x="-13" y="-12" width="26" height="24" class="key"/>
</g>
<g transform="translate(210, 114)" class="key keypos-14">
<rect rx="6" ry="6" x="-13" y="-12" width="26" height="24" class="key"/>
</g>
<g transform="translate(240, 100)" class="key held keypos-15">
<rect rx="6" ry="6" x="-13" y="-12" width="26" height="24" class="key held"/>
<g transform="translate(240, 100)" class="key keypos-15">
<rect rx="6" ry="6" x="-13" y="-12" width="26" height="24" class="key"/>
</g>
<g transform="translate(270, 100)" class="key keypos-16">
<rect rx="6" ry="6" x="-13" y="-12" width="26" height="24" class="key"/>
@@ -888,8 +889,8 @@ path.combo {
<g transform="translate(90, 156)" class="key keypos-27">
<rect rx="6" ry="6" x="-13" y="-12" width="26" height="24" class="key"/>
</g>
<g transform="translate(120, 156)" class="key keypos-28">
<rect rx="6" ry="6" x="-13" y="-12" width="26" height="24" class="key"/>
<g transform="translate(120, 156)" class="key held keypos-28">
<rect rx="6" ry="6" x="-13" y="-12" width="26" height="24" class="key held"/>
</g>
<g transform="translate(150, 156)" class="key keypos-29">
<rect rx="6" ry="6" x="-13" y="-12" width="26" height="24" class="key"/>
@@ -941,8 +942,8 @@ path.combo {
<g transform="translate(45, 100)" class="key keypos-10">
<rect rx="6" ry="6" x="-13" y="-12" width="26" height="24" class="key"/>
</g>
<g transform="translate(75, 100)" class="key held keypos-11">
<rect rx="6" ry="6" x="-13" y="-12" width="26" height="24" class="key held"/>
<g transform="translate(75, 100)" class="key keypos-11">
<rect rx="6" ry="6" x="-13" y="-12" width="26" height="24" class="key"/>
</g>
<g transform="translate(105, 100)" class="key keypos-12">
<rect rx="6" ry="6" x="-13" y="-12" width="26" height="24" class="key"/>
@@ -1001,8 +1002,8 @@ path.combo {
<g transform="translate(195, 156)" class="key keypos-30">
<rect rx="6" ry="6" x="-13" y="-12" width="26" height="24" class="key"/>
</g>
<g transform="translate(225, 156)" class="key keypos-31">
<rect rx="6" ry="6" x="-13" y="-12" width="26" height="24" class="key"/>
<g transform="translate(225, 156)" class="key held keypos-31">
<rect rx="6" ry="6" x="-13" y="-12" width="26" height="24" class="key held"/>
</g>
<g transform="translate(255, 156)" class="key keypos-32">
<rect rx="6" ry="6" x="-13" y="-12" width="26" height="24" class="key"/>

Before

Width:  |  Height:  |  Size: 41 KiB

After

Width:  |  Height:  |  Size: 41 KiB

View File

@@ -9,11 +9,11 @@ combos:
k: END
draw_separate: true
l: [default]
- p: [11, 14]
- p: [10, 27]
k: ESC
draw_separate: true
l: [default]
- p: [10, 15]
- p: [15, 30]
k: ENTER
draw_separate: true
l: [default]