-
Notifications
You must be signed in to change notification settings - Fork 237
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
仓颉五怎么设置简入繁出? #388
Labels
Comments
# cangjie5.custom.yaml
patch:
switches:
- name: ascii_mode
reset: 0
states: [ 中文, 西文 ]
- name: full_shape
states: [ 半角, 全角 ]
- name: simplification
states: [ 漢字, 汉字 ]
# 增设一个开关来控制简入繁出
- name: traditionalization
# 初始状态,0 = 禁用,1 = 启用
reset: 0
# 首字分别用简体的「简」和繁体的「簡」,便于在方案选单中区分
states: [ 简体保持, 簡入繁出 ]
- name: extended_charset
states: [ 常用, 增廣 ]
- name: ascii_punct
states: [ 。,, ., ]
engine/filters:
- simplifier@simplify # 保留原有的「简化」即「繁入简出」功能
- simplifier@traditionalize # 简入繁出
- single_char_filter
- uniquifier
simplify:
option_name: simplification
tips: all
traditionalize:
opencc_config: s2t.json
option_name: traditionalization
tips: all
# 增设一个快捷键来开关简入繁出过滤器(可选)
key_binder/bindings:
- {accept: "Control+Shift+F", toggle: traditionalization, when: always} |
Thanks a lot. |
@Ace-Who 太感谢了! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
请教,谢谢。
The text was updated successfully, but these errors were encountered: