-
Notifications
You must be signed in to change notification settings - Fork 0
/
default.custom.yaml
130 lines (121 loc) · 4.73 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
# default.custom.yaml
# encoding: utf-8
patch:
switcher:
caption: 〔方案选单〕
hotkeys:
- Control+grave
# 候选词 5 个
menu:
page_size: 5
schema_list:
- schema: wubi86 # 五笔86
#- schema: double_pinyin_flypy # 小鶴雙拼
#- schema: wubi_pinyin # 五笔拼音混合輸入
ascii_composer:
good_old_caps_lock: true
switch_key:
Shift_L: commit_code
Shift_R: commit_code
Control_L: noop
Control_R: noop
Caps_Lock: noop
Eisu_toggle: clear
# 默认标点符号
# (如果不灵,则 把 luna_pinyin_simp.custom.yaml 里的 punctuator 部分注释掉 )
punctuator:
half_shape:
# 列出和 英文标点 不同的 标点 (即打中文时需要 "特别改" 的标点)
# 常用标点: 冒号 分号 顿号 名字分词号 逗号 句号 问号 感叹号 钱号 破折号 省略号
# 成对标点: 双引号 单引号 书名号 括号
# 常用标点
':' : ':'
';' : ';'
'\' : '、'
'/' : '/'
'|' : '·'
',' : ','
'.' : '。'
'?' : '?'
'!' : '!'
'$' : '¥'
'_' : '——'
'^' : '……'
# 成对标点
'''' : { pair: [ '‘', '’' ] }
'"' : { pair: [ '“', '”' ] }
'<' : '《'
'>' : '》'
'[' : '【'
']' : '】'
#'(' : '('
#')' : ')'
# 其他标点样式参考。用它们替换上面的配置即可
# 更多参见 ori_default.yaml
# '<' : [ 《, 〈, «, ‹ ]
# '>' : [ 》, 〉, », › ]
# '''' : { pair: [ '‘', '’' ] }
# '"' : { pair: [ '“', '”' ] }
# '/': ['/', '÷']
# '\' : [ 、, '\', \ ]
# '|' : [ ·, '|', |, '§', '¦' ]
# '~' : [ '~', ~ ]
# '%' : [ '%', %, '°', '℃' ]
# '$' : [ ¥, '$', '€', '£', '¥', '¢', '¤' ]
# '*' : [ '*', *, ·, ・, ×, ※, ❂ ]
# '[' : [ 「, 【, 〔, [ ]
# ']' : [ 」, 】, 〕, ] ]
# '{' : [ 『, 〖, { ]
# '}' : [ 』, 〗, } ]
key_binder:
bindings:
#
# 快捷键,更多参见 ori_default.yaml
#
# - { when: always, accept: Shift+space, toggle: full_shape } # Shift+space 切换全角/半角
- { when: has_menu, accept: comma, send: Page_Up }
- { when: has_menu, accept: period, send: Page_Down }
- { when: has_menu, accept: semicolon, send: 2 }
#
# paging
#
# - { when: has_menu, accept: comma, send: Page_Up }
# - { when: has_menu, accept: period, send: Page_Down }
#
# more technical binding
#
# Emacs style
# - { when: composing, accept: Control+p, send: Up }
# - { when: composing, accept: Control+n, send: Down }
# - { when: composing, accept: Control+b, send: Left }
# - { when: composing, accept: Control+f, send: Right }
# - { when: composing, accept: Control+a, send: Home }
# - { when: composing, accept: Control+e, send: End }
# - { when: composing, accept: Control+d, send: Delete }
# - { when: composing, accept: Control+k, send: Shift+Delete }
# - { when: composing, accept: Control+h, send: BackSpace }
# - { when: composing, accept: Control+g, send: Escape }
# - { when: composing, accept: Control+bracketleft, send: Escape }
# - { when: composing, accept: Alt+v, send: Page_Up }
# - { when: composing, accept: Control+v, send: Page_Down }
# paging keys
# - { when: composing, accept: ISO_Left_Tab, send: Page_Up }
# - { when: composing, accept: Shift+Tab, send: Page_Up }
# - { when: composing, accept: Tab, send: Page_Down }
# - { when: has_menu, accept: minus, send: Page_Up }
# - { when: has_menu, accept: equal, send: Page_Down }
# - { when: paging, accept: comma, send: Page_Up }
# - { when: has_menu, accept: period, send: Page_Down }
# hotkey switch
# - { when: always, accept: Control+Shift+1, select: .next }
# - { when: always, accept: Control+Shift+2, toggle: ascii_mode }
# - { when: always, accept: Control+Shift+3, toggle: full_shape }
# - { when: always, accept: Control+Shift+4, toggle: simplification }
# - { when: always, accept: Control+Shift+5, toggle: extended_charset }
# - { when: always, accept: Control+Shift+exclam, select: .next }
# - { when: always, accept: Control+Shift+at, toggle: ascii_mode }
# - { when: always, accept: Control+Shift+numbersign, toggle: full_shape }
# - { when: always, accept: Control+Shift+dollar, toggle: simplification }
# - { when: always, accept: Control+Shift+percent, toggle: extended_charset }
# - { when: always, accept: Shift+space, toggle: full_shape }
# - { when: always, accept: Control+period, toggle: ascii_punct }