aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dot_config/ibus/rime/build/stroke.schema.yaml')
-rw-r--r--dot_config/ibus/rime/build/stroke.schema.yaml206
1 files changed, 206 insertions, 0 deletions
diff --git a/dot_config/ibus/rime/build/stroke.schema.yaml b/dot_config/ibus/rime/build/stroke.schema.yaml
new file mode 100644
index 0000000..5dedd00
--- /dev/null
+++ b/dot_config/ibus/rime/build/stroke.schema.yaml
@@ -0,0 +1,206 @@
1__build_info:
2 rime_version: 1.8.2
3 timestamps:
4 default: 1654509031
5 default.custom: 1666508230
6 key_bindings: 1654509031
7 key_bindings.custom: 0
8 punctuation: 1654509031
9 punctuation.custom: 0
10 stroke.custom: 0
11 stroke.schema: 1675995540
12abc_segmentor:
13 extra_tags:
14 - reverse_lookup
15engine:
16 processors:
17 - ascii_composer
18 - recognizer
19 - key_binder
20 - speller
21 - punctuator
22 - selector
23 - navigator
24 - express_editor
25 segmentors:
26 - ascii_segmentor
27 - matcher
28 - abc_segmentor
29 - punct_segmentor
30 - fallback_segmentor
31 translators:
32 - punct_translator
33 - reverse_lookup_translator
34 - table_translator
35key_binder:
36 bindings:
37 - {accept: "Control+p", send: Up, when: composing}
38 - {accept: "Control+n", send: Down, when: composing}
39 - {accept: "Control+b", send: Left, when: composing}
40 - {accept: "Control+f", send: Right, when: composing}
41 - {accept: "Control+a", send: Home, when: composing}
42 - {accept: "Control+e", send: End, when: composing}
43 - {accept: "Control+d", send: Delete, when: composing}
44 - {accept: "Control+k", send: "Shift+Delete", when: composing}
45 - {accept: "Control+h", send: BackSpace, when: composing}
46 - {accept: "Control+g", send: Escape, when: composing}
47 - {accept: "Control+bracketleft", send: Escape, when: composing}
48 - {accept: "Control+y", send: Page_Up, when: composing}
49 - {accept: "Alt+v", send: Page_Up, when: composing}
50 - {accept: "Control+v", send: Page_Down, when: composing}
51 - {accept: ISO_Left_Tab, send: "Shift+Left", when: composing}
52 - {accept: "Shift+Tab", send: "Shift+Left", when: composing}
53 - {accept: Tab, send: "Shift+Right", when: composing}
54 - {accept: minus, send: Page_Up, when: has_menu}
55 - {accept: equal, send: Page_Down, when: has_menu}
56 - {accept: comma, send: Page_Up, when: paging}
57 - {accept: period, send: Page_Down, when: has_menu}
58 - {accept: "Control+Shift+1", select: .next, when: always}
59 - {accept: "Control+Shift+2", toggle: ascii_mode, when: always}
60 - {accept: "Control+Shift+3", toggle: full_shape, when: always}
61 - {accept: "Control+Shift+4", toggle: simplification, when: always}
62 - {accept: "Control+Shift+5", toggle: extended_charset, when: always}
63 - {accept: "Control+Shift+exclam", select: .next, when: always}
64 - {accept: "Control+Shift+at", toggle: ascii_mode, when: always}
65 - {accept: "Control+Shift+numbersign", toggle: full_shape, when: always}
66 - {accept: "Control+Shift+dollar", toggle: simplification, when: always}
67 - {accept: "Control+Shift+percent", toggle: extended_charset, when: always}
68 - {accept: d, send: n, when: always}
69 - {accept: t, send: h, when: always}
70 - {accept: j, send: h, when: always}
71 - {accept: k, send: s, when: always}
72 - {accept: l, send: p, when: always}
73 - {accept: u, send: n, when: always}
74 - {accept: i, send: z, when: always}
75 - {accept: KP_1, send: h, when: always}
76 - {accept: KP_2, send: s, when: always}
77 - {accept: KP_3, send: p, when: always}
78 - {accept: KP_4, send: n, when: always}
79 - {accept: KP_5, send: z, when: always}
80 - {accept: KP_6, send: Select, when: has_menu}
81 - {accept: KP_7, send: Select, when: has_menu}
82 - {accept: KP_8, send: Select, when: has_menu}
83 - {accept: KP_9, send: Select, when: has_menu}
84 - {accept: KP_0, send: Select, when: has_menu}
85 import_preset: default
86menu:
87 page_size: 9
88punctuator:
89 full_shape:
90 " ": {commit: " "}
91 "!": {commit: "!"}
92 "\"": {pair: ["“", "”"]}
93 "#": ["#", "⌘"]
94 "$": ["¥", "$", "€", "£", "¥", "¢", "¤"]
95 "%": ["%", "°", "℃"]
96 "&": "&"
97 "'": {pair: ["‘", "’"]}
98 "(": "("
99 ")": ")"
100 "*": ["*", "·", "・", "×", "※", "❂"]
101 "+": "+"
102 ",": {commit: ","}
103 "-": "-"
104 .: {commit: "。"}
105 "/": ["/", "÷"]
106 ":": {commit: ":"}
107 ";": {commit: ";"}
108 "<": ["《", "〈", "«", "‹"]
109 "=": "="
110 ">": ["》", "〉", "»", "›"]
111 "?": {commit: "?"}
112 "@": ["@", "☯"]
113 "[": ["「", "【", "〔", "["]
114 "\\": ["、", "\"]
115 "]": ["」", "】", "〕", "]"]
116 "^": {commit: "……"}
117 _: "——"
118 "`": "`"
119 "{": ["『", "〖", "{"]
120 "|": ["·", "|", "§", "¦"]
121 "}": ["』", "〗", "}"]
122 "~": "~"
123 half_shape:
124 "!": {commit: "!"}
125 "\"": {pair: ["“", "”"]}
126 "#": "#"
127 "$": ["¥", "$", "€", "£", "¥", "¢", "¤"]
128 "%": ["%", "%", "°", "℃"]
129 "&": "&"
130 "'": {pair: ["‘", "’"]}
131 "(": "("
132 ")": ")"
133 "*": ["*", "*", "·", "・", "×", "※", "❂"]
134 "+": "+"
135 ",": {commit: ","}
136 "-": "-"
137 .: {commit: "。"}
138 "/": ["、", "/", "/", "÷"]
139 ":": {commit: ":"}
140 ";": {commit: ";"}
141 "<": ["《", "〈", "«", "‹"]
142 "=": "="
143 ">": ["》", "〉", "»", "›"]
144 "?": {commit: "?"}
145 "@": "@"
146 "[": ["「", "【", "〔", "["]
147 "\\": ["、", "\\", "\"]
148 "]": ["」", "】", "〕", "]"]
149 "^": {commit: "……"}
150 _: "——"
151 "`": "`"
152 "{": ["『", "〖", "{"]
153 "|": ["·", "|", "|", "§", "¦"]
154 "}": ["』", "〗", "}"]
155 "~": ["~", "~"]
156 import_preset: default
157recognizer:
158 import_preset: default
159 patterns:
160 email: "^[A-Za-z][-_.0-9A-Za-z]*@.*$"
161 reverse_lookup: "`[a-z]*'?$"
162 uppercase: "[A-Z][-_+.'0-9A-Za-z]*$"
163 url: "^(www[.]|https?:|ftp[.:]|mailto:|file:).*$|^[a-z]+[.].+$"
164reverse_lookup:
165 comment_format:
166 - "xlit/hspnz/⼀⼁⼃⼂⼄/"
167 dictionary: luna_pinyin
168 preedit_format:
169 - "xform/([nl])v/$1ü/"
170 - "xform/([nl])ue/$1üe/"
171 - "xform/([jqxy])v/$1u/"
172 prefix: "`"
173 suffix: "'"
174 tips: "〔拼音〕"
175schema:
176 author:
177 - "四季的風"
178 - "雪齋"
179 - "Kunki Chou"
180 dependencies:
181 - luna_pinyin
182 description: |
183 五筆畫
184 h,s,p,n,z 代表橫、豎、撇、捺、折
185
186 name: "五筆畫"
187 schema_id: stroke
188 version: 0.5
189speller:
190 alphabet: abcdefghijklmnopqrstuvwxyz
191 delimiter: " '"
192switches:
193 - name: ascii_mode
194 reset: 0
195 states: ["中文", "西文"]
196 - name: full_shape
197 states: ["半角", "全角"]
198 - name: ascii_punct
199 states: ["。,", ".,"]
200translator:
201 comment_format:
202 - "xform/~//"
203 - "xlit/hspnz/⼀⼁⼃⼂⼄/"
204 dictionary: stroke
205 preedit_format:
206 - "xlit/hspnz/⼀⼁⼃⼂⼄/" \ No newline at end of file
Powered by cgit v1.2.3 (git 2.41.0)