forked from loveminimal/rime-jk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdefault.custom.yaml
71 lines (62 loc) · 2.32 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
# 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: rime_jk}
- {schema: tiger_rime_jk}
# === 候选相关 ===
switcher/+:
caption: 〔方案选单〕
# hotkeys/+:
# - Control+i
option_list_separator: ' | '
menu/page_size: 4
# === 标点符号控制 ===
# 下设 full_shape: 和 half_shape: 分别控制全角、半角模式下的符号
punctuator/+:
half_shape/+:
"@":
- "@"
- "@163.com"
- "@outlook.com"
- "@gmail.com"
"#":
- "#"
- "loveminimal"
- "aituyaa"
- "Jack Liu"
# 在中文状态下输出一些常用的半角英文标点
'<' : [ '<',《 ,〈 , « , ‹ ]
'>' : [ '>', 》, 〉, » , › ]
'[' : [ '[',「, 【, 〔 , [ ]
']' : [ ']', 」, 】, 〕, ] ]
'{' : ['{', 『, 〖, { ]
'}' : ['{', 』, 〗, } ]
# === 键位绑定 ===
key_binder/+:
bindings/+:
# --- 自定义键位 ---
- { when: composing, accept: "Control+u", toggle: chaifen } # C-u 开关拆分滤镜
- { when: always, accept: Control+i, toggle: ascii_mode } # C-i 切换中英状态
- { when: always, accept: Control+o, select: .next } # C-o 切换下一方案
- { 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 向下移动选词