-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcangjie5.custom.yaml
35 lines (34 loc) · 1.61 KB
/
cangjie5.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
# cangjie5 for Rime custom settings
patch:
"switches/@0/reset": 1 #默認英文輸出
menu/page_size: 3 #每頁候選數為3
punctuator:
import_preset: default
recognizer:
import_preset: default
patterns:
email: "^[A-Za-z][-_.0-9A-Za-z]*@.*$"
punct: "^/([0-9]0?|[A-Za-z]+)$"
reverse_lookup: "^`[a-z]*'?$" #只能通過`引導鍵開啟全拼反查
uppercase: "[A-Z][-_+.'0-9A-Za-z]*$"
url: "^(www[.]|https?:|ftp[.:]|mailto:|file:).*$|^[a-z]+[.].+$"
abc_segmentor/extra_tags: {} #取消默認的倉頡全拼混輸功能
speller/auto_select: true #頂字上屏
speller/auto_select_unique_candidate: true #無重碼自動上屏
speller/delimiter: {} #單字輸入時無需分隔符
speller/max_code_length: 5 #最長5碼
translator/dictionary: cangjie5_plus
translator/comment_format:
- "xlit|abcdefghijklmnopqrstuvwxyz~|日月金木水火土竹戈十大中一弓人心手口尸廿山女田難卜片~|"
translator/enable_encoder: false #關閉自動造詞
translator/enable_sentence: false #關閉句子輸入
translator/enable_user_dict: false #關閉詞頻調整
translator/max_phrase_length: 1 #單個詞輸入
translator/sentence_over_completion: false #關閉自動補全式組句
translator/preedit_format:
- "xlit|abcdefghijklmnopqrstuvwxyz|日月金木水火土竹戈十大中一弓人心手口尸廿山女田難卜片|"
reverse_lookup/comment_format:
- "xlit|abcdefghijklmnopqrstuvwxyz|日月金木水火土竹戈十大中一弓人心手口尸廿山女田難卜片|"
reverse_lookup/dictionary: luna_pinyin
reverse_lookup/prism: luna_pinyin
f