-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdefault.custom.yaml
134 lines (120 loc) · 4.36 KB
/
default.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
# Rime default custom settings
# encoding: utf-8
#
# 用来放置一些方案共享的配置,注意 -
# 并不是所有的配置项都可以在这里生效,
# 这里只会覆盖程序文件夹中 default.yaml 中包含的配置项
customization:
distribution_code_name: Weasel
distribution_version: 0.16.0
generator: "Rime::SwitcherSettings"
modified_time: "Tue Jun 4 16:17:26 2024"
rime_version: 1.11.2
patch:
schema_list:
- {schema: jk_ascii}
# - {schema: jk_ascii_bj}
- {schema: jk_pinyin}
# - {schema: jk_pinyin_bj}
- {schema: jk_wubi}
# - {schema: jk_wubi_bj}
# === 候选相关 ===
switcher/+:
caption: 〔方案选单〕
# hotkeys/+:
# - Control+i
hotkeys:
- Control+m
option_list_separator: ' | '
menu/page_size: 4
# === 标点符号控制 ===
# 下设 full_shape: 和 half_shape: 分别控制全角、半角模式下的符号
punctuator/+:
half_shape/+:
# '~' : ['~']
# "@":
# - "@"
# - "[email protected]"
# - "[email protected]"
# - "[email protected]"
# - "@163.com"
# - "@outlook.com"
# - "@gmail.com"
# - "[email protected]"
# '#' : '#'
# '$' : '$'
# '%' : '%'
# '*' : '*'
# '_' : '_'
# # 在中文状态下输出一些常用的半角英文标点
# '<' : [ '<',《 , « , ‹ ]
# '>' : [ '>', 》, » , › ]
# '[' : [ '[',「 ,【 , 〔 ]
# ']' : [ ']', 」, 】, 〕 ]
# '{' : [ '{',『, 〖, { ]
# '}' : [ '{', 』, 〗, } ]
# "\\": "、"
# '/' : '/'
',' : { commit: , }
'.' : { commit: 。 }
'<' : [ 《, '<' ]
'>' : [ 》, '>' ]
'/' : '/'
'?' : { commit: ? }
';' : { commit: ; }
':' : { commit: : }
'''' : { pair: [ '‘', '’' ] }
'"' : { pair: [ '“', '”' ] }
'\' : [ 、, '\' ]
'|' : [ ·, '|', |, '¦' ]
'`' : '`'
'~' : ['~']
'!' : { commit: ! }
'@' : '@'
'#' : '#'
'%' : '%'
'$' : [ '¥', '$' ]
'^' : { commit: …… }
'&' : '&'
'*' : '*'
'(' : (
')' : )
'-' : '-'
'_' : '_'
'+' : '+'
'=' : '='
'[' : [ 「 , '[',〔 ,【 ]
']' : [ 」,']' , 〕, 】 ]
'{' : [ 『 ,'{' ,{ , 〖 ]
'}' : [ 』 , '}', }, 〗 ]
# === 键位绑定 ===
key_binder/+:
bindings/+:
# --- 自定义键位 ---
- { when: always, accept: "Control+backslash", toggle: chaifen } # C-\ 切换拆隐折显
- { when: always, accept: "Control+period", toggle: zh2en } # C-. 切换中英翻译
# - { when: always, accept: Control+comma, toggle: ascii_mode } # C-, 切换中英状态
- { when: always, accept: Control+comma, select: .next } # C-, 切换下一方案
- { when: has_menu, accept: semicolon, send: 2 } # ; 2 候选
- { when: has_menu, accept: apostrophe, send: 3 } # ' 3 候选
- { when: has_menu, accept: slash, send: 4 } # / 4 候选
- { when: paging, accept: comma, send: Page_Up } # , 向上翻页
- { when: has_menu, accept: period, send: Page_Down } # . 向下翻页
- { when: composing, accept: Control+k, send: Up } # C-k 向上移动选词
- { when: composing, accept: Control+j, send: Down } # C-j 向下移动选词
# - { when: composing, accept: Control+semicolon, send: Return }
- { when: composing, accept: Control+u, send: Return }
- { when: composing, accept: Control+i, send: Return }
- { when: composing, accept: Control+l, send: Return }
- { when: always, accept: Control+u, send: '_' }
- { when: always, accept: Control+i, send: '-' }
- { when: always, accept: Control+o, send: '=' }
- { when: always, accept: Control+p, send: '`' }
# - { when: always, accept: Control+h, send: '#' }
# - { when: always, accept: Control+j, send: '+' }
# - { when: always, accept: Control+k, send: '(' }
# - { when: always, accept: Control+l, send: '*' }
# - { when: always, accept: Control+b, send: '!' }
# - { when: always, accept: Control+n, send: '?' }
- { when: always, accept: Control+apostrophe, send: '~' }
# - { when: always, accept: Control+m, send: '~' }