-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathwubi86.custom.yaml
30 lines (25 loc) · 984 Bytes
/
wubi86.custom.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# https://github.com/rime/rime-wubi
patch:
__include: reverse_lookup:/patch_emoji
__include: reverse_lookup:/patch_easy_en
__include: reverse_lookup:/patch_luna_pinyin2
# import punctuator and special symbols
punctuator/import_preset: symbols
# recognize symbols
recognizer/patterns/punct: "^/([0-9]0?|[A-Za-z]+)$"
# recognize number.lua
recognizer/patterns/number: "^/[0-9]+$"
# lua
engine/translators/@90: lua_translator@thousand
engine/translators/@91: lua_translator@number
engine/translators/@92: lua_translator@time
engine/translators/@93: lua_translator@lunar
engine/translators/@94: lua_translator@jieqi
engine/translators/@95: lua_translator@ganzhi
# 五笔回车清屏和分号、引号上屏幕二三候选词
key_binder:
import_preset: default
bindings:
- { when: composing, accept: Return, send: Escape }
- { when: has_menu, accept: semicolon, send: 2 }
- { when: has_menu, accept: apostrophe, send: 3 }