-
Notifications
You must be signed in to change notification settings - Fork 5
/
japanese.custom.yaml
39 lines (31 loc) · 1.11 KB
/
japanese.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
31
32
33
34
35
36
37
38
39
# https://github.com/gkovacs/rime-japanese
patch:
__include: reverse_lookup:/patch_emoji
__include: reverse_lookup:/patch_easy_en_japanese
__include: reverse_lookup:/patch_luna_pinyin2
# import punctuator and special symbols
punctuator/import_preset: symbols
punctuator/full_shape:
" ": { commit: " " }
punctuator/half_shape:
" ": { commit: " " }
# 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
# paging_with_minus_equal conflicts with long sounds in katakana
key_binder/bindings:
__patch:
- key_bindings:/emacs_editing
- key_bindings:/move_by_word_with_tab
- key_bindings:/paging_with_comma_period
- key_bindings:/numbered_mode_switch
# default 漢字
switches/@2/reset: 0