-
Notifications
You must be signed in to change notification settings - Fork 17
/
default.custom.yaml
101 lines (99 loc) · 2.84 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
# default.custom.yaml
patch:
schema_list:
#- schema: luna_pinyin
- schema: double_pinyin
#- schema: luna_pinyin_fluency
# - schema: combo_pinyin
# - schema: wubi86
# - schema: flypy_simple
- schema: stroke
ascii_composer:
good_old_caps_lock: true
switch_key:
Caps_Lock: noop
Control_L: commit_code # ergodox is using control l
Control_R: commit_code # caps lock mapping to control r
Eisu_toggle: noop
Shift_L: noop
Shift_R: noop
recognizer/patterns:
email: ^[A-Za-z][-_.0-9A-Za-z]*@.*$
uppercase: '[A-Z][-_+.''0-9A-Za-z]*$'
url: ^(www[.]|https?:|ftp[.:]|mailto:|file:).*$|^[a-z]+[.].+$
switcher/caption: 〔切换〕
style/font_face: Heiti SC Light
menu/page_size: 5
key_binder/bindings:
- 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, 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: composing
- accept: minus
send: Page_Up
when: has_menu
- accept: equal
send: Page_Down
when: has_menu
- accept: comma
send: Page_Up
when: paging
- accept: period
send: Page_Down
when: has_menu
#- {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, when: always}