nixos/pkgs/rime-yuhaostar/key_binder.patch

48 lines
1.5 KiB
Diff

diff --git a/yuhao_pinyin.schema.yaml b/yuhao_pinyin.schema.yaml
index 7b5f1cb..d82945d 100644
--- a/yuhao_pinyin.schema.yaml
+++ b/yuhao_pinyin.schema.yaml
@@ -75,6 +75,7 @@ punctuator:
"|": "|"
key_binder:
+ import_preset: default
bindings:
- { when: always, accept: "Control+period", toggle: ascii_punct }
- { when: always, accept: "Control+Shift+period", toggle: ascii_punct }
diff --git a/yustar.schema.yaml b/yustar.schema.yaml
index e4b432c..d7a2d64 100644
--- a/yustar.schema.yaml
+++ b/yustar.schema.yaml
@@ -307,6 +307,7 @@ punctuator:
"|": "|"
key_binder:
+ import_preset: default
bindings:
- { when: always, accept: "Control+period", toggle: ascii_punct }
- { when: always, accept: "Control+Shift+period", toggle: ascii_punct }
diff --git a/yustar_sc.schema.yaml b/yustar_sc.schema.yaml
index 806f636..ca8e2aa 100644
--- a/yustar_sc.schema.yaml
+++ b/yustar_sc.schema.yaml
@@ -301,6 +301,7 @@ punctuator:
"|": "|"
key_binder:
+ import_preset: default
bindings:
- { when: always, accept: "Control+period", toggle: ascii_punct }
- { when: always, accept: "Control+Shift+period", toggle: ascii_punct }
diff --git a/yustar_tw.schema.yaml b/yustar_tw.schema.yaml
index 93943fe..7054eae 100644
--- a/yustar_tw.schema.yaml
+++ b/yustar_tw.schema.yaml
@@ -300,6 +300,7 @@ punctuator:
"|": "|"
key_binder:
+ import_preset: default
bindings:
- { when: always, accept: "Control+period", toggle: ascii_punct }
- { when: always, accept: "Control+Shift+period", toggle: ascii_punct }