-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.bind
619 lines (486 loc) · 20.8 KB
/
main.bind
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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
# -*- text -*-
Format 1
# 这些快捷键主要按照不同的类别而归入相应的引导区中; 各自在引导区中的位置则主要按重要性与命令的首字母来确定.
# 实际设计时, 先把好位置让给最重要的命令, 然后再按照命令的特点归类并在相应的引导区中实现.
# 所谓 Ctrl 引导区与 Alt 引导区, 主要是为了保留某些十分常用的命令, 以及避免误按输入控制字符.
# Alt + a 引导区 : 目前用于输入命令或环境的参数.
# Alt + i 引导区 : 数字区插入 inset, 字母区用于常用命令.
# Alt + m 引导区 : 主要用于输入一些常用的特殊字体的字母.
# Alt + n 引导区 : 数字区与功能键均用于插入 layout, 字母区用于数学模式中与环境密切相关的命令.
# Alt + o 引导区 : 字母区主要用于输入希腊字母, 余者用于输入别的字母或比较像字母的特殊符号.
# Alt + d 引导区 : 数学宏.
# Alt + x 引导区 : 用于应付特定领域的需求, 并未收入本文档中.
# Alt + 逗号 引导区 : 主要用于输入花体字母.
# Alt + 句号 引导区 : 用于输入函数.
# 4 引导区, 5 引导区 : 中文标点符号, 杂项.
# 6 引导区 : 用于正文的修饰手段, 例如字体
# 7 引导区 : 用于数学字母的修饰手段, 例如字体与重音符号.
# 8 引导区 : 字母区用于具有明显方向感的符号.
# 9 引导区 : 数字区用于成对的符号. 字母区主要用于集合相关的符号.
# 菜单
\bind "F1" "menu-open file"
\bind "F2" "menu-open edit"
\bind "F3" "menu-open view"
\bind "F4" "menu-open insert"
\bind "F5" "menu-open navigate"
\bind "F6" "menu-open document"
\bind "F7" "menu-open tools"
\bind "F8" "menu-open help"
# F9 已被 shortcuts.py 占用
#\bind "F10" "ui-toggle fullscreen"
# F13 在后面已经有绑定的命令
# Ctrl 引导区
# 这里的 math-insert 纯粹是为了避免误按的时候输入控制字符, 因为有时候在 LyX 编辑界面看不见控制字符.
\bind "C-a" "command-sequence buffer-begin ; buffer-end-select" # select all
\bind "C-b" "font-bold"
\bind "C-c" "copy"
\bind "C-d" "math-insert d"
\bind "C-e" "font-emph"
\bind "C-f" "math-insert f"
\bind "C-g" "math-insert g"
\bind "C-h" "math-insert h"
\bind "C-i" "math-insert i"
\bind "C-j" "math-insert j"
\bind "C-k" "math-insert k"
\bind "C-l" "ert-insert" # 'l' for LaTeX
\bind "C-m" "math-display"
\bind "C-n" "math-insert n"
\bind "C-o" "math-insert o"
\bind "C-p" "paste latex" # 特殊粘贴: 从 LaTeX 粘贴
\bind "C-q" "math-insert q"
\bind "C-r" "math-insert r"
\bind "C-s" "buffer-write"
\bind "C-t" "math-insert t"
\bind "C-u" "font-underline"
\bind "C-v" "paste"
\bind "C-w" "math-insert w"
\bind "C-x" "cut"
\bind "C-y" "math-insert y"
\bind "C-z" "math-insert z"
\bind "C-1" "math-insert 1"
\bind "C-2" "math-insert 2"
\bind "C-3" "math-insert 3"
\bind "C-4" "math-insert 4"
\bind "C-5" "math-insert 5"
\bind "C-6" "math-insert 6"
#\bind "C-6" "buffer-switch ~/.ipe/lyx2ipe.lyx" # 本来是配合 shortcuts.py 用 LyX 协助 Ipe 编辑文本的, 但现在不这么做了
\bind "C-7" "math-insert 7"
\bind "C-8" "math-insert 8"
\bind "C-9" "math-insert 9"
\bind "C-0" "math-insert 0"
\bind "C-bracketleft" "math-insert ["
\bind "C-bracketright" "math-insert ]"
\bind "C-slash" "math-insert /"
\bind "C-minus" "specialchar-insert hyphenation"
# Alt 引导区
\bind "F13" "math-mode" # 需要配合 lyx.ahk 使用, 效果是用 Alt+空格 切换数学环境.
\bind "M-space" "math-mode" # 切换数学环境
\bind "M-u" "undo"
\bind "M-r" "redo"
\bind "M-p" "math-insert ="
\bind "M-semicolon" "math-insert +"
\bind "M-slash" "command-sequence self-insert -"
\bind "M-f" "command-sequence self-insert \\" # 反斜杠
\bind "M-s" "char-left-select"
\bind "M-g" "char-right-select"
\bind "M-h" "char-left"
\bind "M-l" "char-right"
\bind "M-j" "command-sequence self-insert _" # 下标
\bind "M-k" "command-sequence self-insert ^" # 上标
\bind "Escape" "escape"
\bind "dollar" "line-end"
\bind "M-equal" "buffer-export pdf2" # 用 pdflatex 编译出 pdf
\bind "M-BackSpace" "buffer-export pdf4" # 用 xelatex 编译出 pdf
\bind "M-backslash" "buffer-view"
\bind "M-1" "self-insert 1"
\bind "M-2" "self-insert 2"
\bind "M-3" "self-insert 3"
\bind "M-4" "self-insert 4"
\bind "M-5" "self-insert 5"
\bind "M-6" "self-insert 6"
\bind "M-7" "self-insert 7"
\bind "M-8" "self-insert 8"
\bind "M-9" "self-insert 9"
\bind "M-0" "self-insert 0"
# Alt + a 引导区
\bind "M-a 1" "argument-insert 1"
\bind "M-a 2" "argument-insert 2"
\bind "M-a 3" "argument-insert 3"
\bind "M-a 4" "argument-insert 4"
\bind "M-a 5" "argument-insert 5"
# Alt + d 引导区
\bind "M-d a" "math-insert \mathistOperatorArg"
\bind "M-d e" "math-insert \mathistOperatorRes"
\bind "M-d g" "math-insert \mathistOperatorgrad"
\bind "M-d i" "math-insert \mathistOperatorIm"
\bind "M-d S-I" "math-insert \mathistOperatoressinf"
\bind "M-d l" "math-insert \mathistOperatorLn"
\bind "M-d r" "math-insert \mathistOperatorRe"
\bind "M-d s" "math-insert \mathistOperatorsupp"
\bind "M-d S-S" "math-insert \mathistOperatoresssup"
\bind "M-d t" "math-insert \mathistOperatortr"
\bind "M-d S-T" "math-insert \mathistOperatorarctanh"
\bind "M-d y" "math-insert \mathistOperatorarccosh"
\bind "M-d z" "math-insert \mathistOperatorarcsinh"
# Alt + i 引导区
\bind "M-i s" "math-insert \ar[l]"
\bind "M-i d" "math-insert \ar[u]"
\bind "M-i f" "math-insert \ar[d]"
\bind "M-i g" "math-insert \ar[r]"
\bind "M-i 2" "note-insert Comment"
\bind "M-i 3" "footnote-insert"
\bind "M-i 4" "marginalnote-insert"
\bind "M-i 7" "box-insert Boxed"
\bind "M-i 8" "label-insert" # 插入标签项
\bind "M-i 9" "index-insert" # 插入索引项
\bind "M-i 0" "nomencl-insert" # 插入符号项
\bind "M-i semicolon" "dialog-show-new-inset ref" # 交叉引用
\bind "M-i apostrophe" "dialog-show-new-inset citation" # 文献引用
\bind "M-i r" "dialog-show-new-inset ref"
\bind "M-i u" "flex-insert URL"
\bind "M-i i" "index-insert"
\bind "M-i l" "label-insert"
\bind "M-i c" "dialog-show-new-inset citation"
# Alt + m 引导区
\bind "M-m c" "math-insert \mathbb{C}"
\bind "M-m d" "math-insert \mathistOperatord" # 微分算子 d
\bind "M-m e" "math-insert \mathbf{E}"
\bind "M-m f" "math-insert \mathbf{F}"
\bind "M-m g" "math-insert \mathbf{G}"
\bind "M-m h" "math-insert \mathbb{H}"
\bind "M-m k" "math-insert \mathbb{K}"
\bind "M-m m" "math-insert \mathbf{M}"
\bind "M-m n" "math-insert \mathbb{N}"
\bind "M-m p" "math-insert \mathbb{P}"
\bind "M-m q" "math-insert \mathbb{Q}"
\bind "M-m r" "math-insert \mathbb{R}"
\bind "M-m s" "math-insert \mathscr{S}"
\bind "M-m t" "math-insert \mathfrak{T}"
\bind "M-m z" "math-insert \mathbb{Z}"
# Alt + n 引导区
\bind "M-n M-n" "layout Standard"
\bind "M-n n" "layout Standard"
\bind "M-n 1" "layout Conjecture"
\bind "M-n 2" "layout Lemma"
\bind "M-n 3" "layout Theorem"
\bind "M-n 4" "layout Proposition"
\bind "M-n 5" "layout Corollary"
\bind "M-n 6" "layout Problem"
\bind "M-n 7" "layout Example"
\bind "M-n 8" "layout Definition"
\bind "M-n 9" "layout Remark"
\bind "M-n 0" "layout Exercise"
\bind "M-n minus" "layout Claim"
\bind "M-n c" "flex-insert CheckedAsInset"
\bind "M-n space" "flex-insert ProofAsInset"
\bind "M-n comma" "flex-insert HINTAsInset"
#\bind "M-n space" "layout Proof"
#\bind "M-n comma" "layout HINT"
\bind "M-n M-m" "flex-insert Abstract_mathist"
\bind "M-n F1" "layout Conjecture*"
\bind "M-n F2" "layout Lemma*"
\bind "M-n F3" "layout Theorem*"
\bind "M-n F4" "layout Proposition*"
\bind "M-n F5" "layout Corollary*"
\bind "M-n F6" "layout Problem*"
\bind "M-n F7" "layout Example*"
\bind "M-n F8" "layout Definition*"
\bind "M-n F9" "layout Remark*"
\bind "M-n F10" "layout Exercise*"
\bind "M-n F11" "layout Claim*"
\bind "M-n period" "environment-split" # 分割环境
\bind "M-n x" "command-sequence math-display; math-insert \xymatrix"
\bind "M-n f" "inset-modify tabular append-row"
\bind "M-n d" "inset-modify tabular delete-row"
\bind "M-n g" "inset-modify tabular append-column"
\bind "M-n s" "inset-modify tabular delete-column"
\bind "M-n m" "math-display" # 行间公式
\bind "M-n a" "math-mutate align"
\bind "M-n z" "math-mutate multline"
# Alt + o 引导区
\bind "M-o a" "math-insert \alpha"
\bind "M-o b" "math-insert \beta"
\bind "M-o c" "math-insert \chi"
\bind "M-o d" "math-insert \delta"
\bind "M-o e" "math-insert \varepsilon"
\bind "M-o f" "math-insert \varphi"
\bind "M-o g" "math-insert \gamma"
\bind "M-o h" "math-insert \eta"
\bind "M-o i" "math-insert \iota"
\bind "M-o j" "math-insert \psi"
\bind "M-o k" "math-insert \kappa"
\bind "M-o l" "math-insert \lambda"
#\bind "M-o m" "math-insert "
\bind "M-o n" "math-insert \nabla"
\bind "M-o o" "math-insert \omega"
\bind "M-o M-o" "math-insert \omega"
\bind "M-o p" "math-insert \pi"
\bind "M-o q" "math-insert \phi"
\bind "M-o r" "math-insert \rho"
\bind "M-o s" "math-insert \sigma"
\bind "M-o t" "math-insert \tau"
\bind "M-o u" "math-insert \mu"
\bind "M-o v" "math-insert \nu"
\bind "M-o w" "math-insert \theta"
\bind "M-o x" "math-insert \xi"
#\bind "M-o y" "math-insert "
\bind "M-o z" "math-insert \zeta"
\bind "M-o S-A" "math-insert \aleph"
#\bind "M-o S-B" "math-insert "
#\bind "M-o S-C" "math-insert "
\bind "M-o S-D" "math-insert \Delta"
\bind "M-o S-E" "math-insert \epsilon"
\bind "M-o S-F" "math-insert \Phi"
\bind "M-o S-G" "math-insert \Gamma"
#\bind "M-o S-H" "math-insert "
#\bind "M-o S-I" "math-insert "
\bind "M-o S-J" "math-insert \Psi"
#\bind "M-o S-K" "math-insert "
\bind "M-o S-L" "math-insert \Lambda"
#\bind "M-o S-M" "math-insert "
#\bind "M-o S-N" "math-insert "
\bind "M-o S-O" "math-insert \Omega"
\bind "M-o S-P" "math-insert \Pi"
#\bind "M-o S-Q" "math-insert "
\bind "M-o S-R" "math-insert \varrho"
\bind "M-o S-S" "math-insert \Sigma"
#\bind "M-o S-T" "math-insert "
\bind "M-o S-U" "math-insert \Upsilon"
#\bind "M-o S-V" "math-insert "
\bind "M-o S-W" "math-insert \Theta"
\bind "M-o S-X" "math-insert \Xi"
#\bind "M-o S-Y" "math-insert "
#\bind "M-o S-Z" "math-insert "
\bind "M-o 8" "math-insert \times"
# Alt + 逗号 引导区
\bind "M-comma a" "math-insert \mathcal{A}"
\bind "M-comma b" "math-insert \mathcal{B}"
\bind "M-comma c" "math-insert \mathcal{C}"
\bind "M-comma d" "math-insert \mathcal{D}"
\bind "M-comma e" "math-insert \mathcal{E}"
\bind "M-comma f" "math-insert \mathcal{F}"
\bind "M-comma g" "math-insert \mathcal{G}"
\bind "M-comma h" "math-insert \mathcal{H}"
\bind "M-comma i" "math-insert \mathcal{I}"
\bind "M-comma j" "math-insert \mathcal{J}"
\bind "M-comma k" "math-insert \mathcal{K}"
\bind "M-comma l" "math-insert \mathcal{L}"
\bind "M-comma m" "math-insert \mathcal{M}"
\bind "M-comma n" "math-insert \mathcal{N}"
\bind "M-comma o" "math-insert \mathcal{O}"
\bind "M-comma p" "math-insert \mathcal{P}"
\bind "M-comma q" "math-insert \mathcal{Q}"
\bind "M-comma r" "math-insert \mathcal{R}"
\bind "M-comma s" "math-insert \mathcal{S}"
\bind "M-comma t" "math-insert \mathcal{T}"
\bind "M-comma u" "math-insert \mathcal{U}"
\bind "M-comma v" "math-insert \mathcal{V}"
\bind "M-comma w" "math-insert \mathcal{W}"
\bind "M-comma x" "math-insert \mathcal{X}"
\bind "M-comma y" "math-insert \mathcal{Y}"
\bind "M-comma z" "math-insert \mathcal{Z}"
# Alt + 句号 引导区
\bind "M-period w" "math-insert \dim"
\bind "M-period e" "math-insert \exp"
\bind "M-period t" "math-insert \tan"
\bind "M-period S-T" "math-insert \tanh"
\bind "M-period y" "math-insert \cos"
\bind "M-period S-Y" "math-insert \cosh"
\bind "M-period i" "math-insert \inf"
\bind "M-period a" "math-insert \arg"
\bind "M-period s" "math-insert \sup"
\bind "M-period d" "math-insert \det"
\bind "M-period g" "math-insert \deg"
\bind "M-period k" "math-insert \ker"
\bind "M-period o" "math-insert \limsup"
\bind "M-period p" "math-insert \varlimsup"
\bind "M-period l" "math-insert \lim"
\bind "M-period period" "math-insert \liminf"
\bind "M-period slash" "math-insert \varliminf"
\bind "M-period z" "math-insert \sin"
\bind "M-period S-Z" "math-insert \sinh"
\bind "M-period c" "math-insert \mathscr{C}"
\bind "M-period m" "math-insert \min"
\bind "M-period S-M" "math-insert \max"
\bind "M-period n" "math-insert \ln"
\bind "M-period S-N" "math-insert \mathistOperatorLn"
# 主键盘 4 引导区
\bind "4 2" "math-insert \sqrt"
\bind "4 4" "command-sequence math-insert \mathistOperator; char-left"
\bind "4 5" "math-insert {}"
\bind "4 9" "math-insert \pm"
\bind "4 0" "math-insert \mathring"
\bind "4 minus" "math-insert \underset"
\bind "4 q" "math-insert \measuredangle"
\bind "4 t" "math-insert \triangle"
\bind "4 y" "command-sequence ert-insert; self-insert \checkmark; char-right" # 打勾
\bind "4 u" "math-insert \cdot"
\bind "4 i" "command-sequence math-insert ^; self-insert -1; char-right"
\bind "4 o" "math-insert \circ"
\bind "4 S-O" "math-insert \varnothing"
\bind "4 p" "math-insert \simeq"
\bind "4 a" "math-insert \angle"
\bind "4 s" "math-insert \substack"
\bind "4 h" "math-insert \eqqcolon"
\bind "4 j" "math-insert \frac"
\bind "4 k" "math-insert \partial"
\bind "4 l" "math-insert \coloneqq"
\bind "4 c" "math-insert \cases"
\bind "4 S-C" "command-sequence math-delim . }; math-matrix 1 2" # 反向 cases
\bind "4 b" "math-insert \binom"
\bind "4 n" "command-sequence self-insert ×" # 打叉
\bind "4 m" "math-ams-matrix 2 2 pmatrix"
\bind "4 semicolon" "math-insert \qquad"
\bind "4 apostrophe" "math-insert \quad"
\bind "4 comma" "math-insert \leqslant"
\bind "4 period" "math-insert \geqslant"
\bind "4 slash" "math-insert \cancel"
\bind "4 equal" "math-insert \asymp"
\bind "4 space" "phantom-insert"
# 主键盘 5 引导区
# 中文标点符号, 仅适合输入法使用英文标点的时候使用
\bind "5 grave" "unicode-insert 0xB7" # 间隔号
\bind "5 1" "unicode-insert 0xFF01" # 叹号
\bind "5 6" "unicode-insert 0x2026 0x2026" # 省略号
\bind "5 7" "command-sequence unicode-insert 0x300C 0x300D; char-left" # 「」
\bind "5 8" "command-sequence unicode-insert 0x300E 0x300F; char-left" # 『』
\bind "5 9" "command-sequence unicode-insert 0xFF08 0xFF09; char-left" # 一对 小括号
\bind "5 minus" "unicode-insert 0x2014 0x2014" # 破折号
\bind "5 bracketleft" "command-sequence unicode-insert 0x3010 0x3011; char-left" # 【】
\bind "5 bracketright" "command-sequence unicode-insert 0x3014 0x3015; char-left" # 〔〕
\bind "5 backslash" "unicode-insert 0x3001" # 顿号
#\bind "5 colon" "unicode-insert 0xFF1A" # 冒号 - 无效!
#\bind "5 colon" "self-insert :" # 冒号 - 无效!
\bind "5 semicolon" "unicode-insert 0xFF1B" # 分号
\bind "5 S-quotedbl" "command-sequence unicode-insert 0x201C 0X201D; char-left" # 一对 双引号“”
\bind "5 apostrophe" "command-sequence unicode-insert 0x2018 0x2019; char-left" # 一对 单引号‘’
\bind "5 S-less" "command-sequence unicode-insert 0x300A 0x300B; char-left" # 一对书名号《》
\bind "5 S-greater" "command-sequence unicode-insert 0x3008 0x3009; char-left" # 一对书名号〈〉
\bind "5 comma" "unicode-insert 0xFF0C" # 逗号
\bind "5 period" "unicode-insert 0x3002" # 句号
\bind "5 slash" "unicode-insert 0xFF1F" # 问号
\bind "5 2" "command-sequence self-insert ☆"
\bind "5 3" "command-sequence self-insert ★"
\bind "5 5" "math-insert \,"
\bind "5 o" "command-sequence math-insert \operatorname{}; char-left"
\bind "5 p" "math-insert \approx"
\bind "5 f" "math-insert \pitchfork"
\bind "5 h" "math-insert \apprge"
\bind "5 l" "math-insert \apprle"
\bind "5 j" "command-sequence math-insert ^; math-insert \top; char-right"
\bind "5 k" "command-sequence math-insert ^; math-insert \bot; char-right"
\bind "5 m" "math-insert \pmod"
# 主键盘 6 引导区
## 这些 textstyle-update 的参数可以在 LyX 的消息栏中显示“debug”调试信息之后看到
\bind "6 w" "textstyle-update uwave 1" # 波浪线
\bind "6 s" "textstyle-update uuline 1" # 双下划线
\bind "6 x" "textstyle-update underbar 1" # 单下划线
\bind "6 e" "textstyle-update xout 1" # 斜删除线
\bind "6 d" "textstyle-update strikeout 1" # 删除线
## 下面这些修改颜色的命令即可用于修改普通文字的颜色, 也可用于修改数学符号的颜色
\bind "6 r" "textstyle-update color 16" # 红色字体
\bind "6 g" "textstyle-update color 17" # 暗青色字体
\bind "6 b" "textstyle-update color 3" # 蓝色字体
\bind "6 n" "textstyle-update shape 3" # 小型大写字母 \textsc
# 主键盘 7 引导区
\bind "7 1" "math-insert \mathfrak"
\bind "7 2" "math-insert \mathrm"
\bind "7 3" "math-insert \mathbb"
\bind "7 4" "math-insert \boldsymbol"
\bind "7 5" "math-insert \mathsf"
\bind "7 6" "math-insert \mathbf"
\bind "7 7" "font-bold"
\bind "7 0" "math-insert \mathscr"
\bind "7 a" "math-insert \mathcal"
\bind "7 u" "font-emph"
\bind "7 o" "command-sequence math-insert ^; math-insert \circ; char-right"
\bind "7 8" "command-sequence math-insert ^; self-insert *; char-right"
\bind "7 9" "command-sequence math-insert _; self-insert *; char-right"
\bind "7 semicolon" "command-sequence math-insert ^; self-insert +; char-right"
\bind "7 w" "math-insert \overline"
\bind "7 e" "math-insert \acute"
\bind "7 r" "math-insert \check"
\bind "7 t" "math-insert \grave"
\bind "7 s" "math-insert \dot"
\bind "7 d" "math-insert \ddot"
\bind "7 f" "math-insert \tilde"
\bind "7 S-F" "math-insert \widetilde"
\bind "7 g" "math-insert \overrightarrow"
\bind "7 S-G" "math-insert \overleftarrow"
\bind "7 h" "math-insert \underleftarrow"
\bind "7 l" "math-insert \underrightarrow"
\bind "7 x" "math-insert \underline"
\bind "7 v" "math-insert \widehat"
\bind "7 b" "math-insert \overbrace"
\bind "7 equal" "math-insert \equiv"
\bind "7 p" "math-insert \equiv"
# 主键盘 8 引导区
\bind "8 8" "math-insert \infty"
\bind "8 s" "math-insert \leftarrow"
\bind "8 d" "math-insert \uparrow"
\bind "8 f" "math-insert \downarrow"
\bind "8 g" "math-insert \rightarrow"
\bind "8 S-G" "math-insert \rightrightarrows"
\bind "8 x" "math-insert \xrightarrow"
\bind "8 S-H" "math-insert \Longleftarrow"
\bind "8 h" "math-insert \Leftarrow"
\bind "8 j" "math-insert \top"
\bind "8 k" "math-insert \bot"
\bind "8 l" "math-insert \Rightarrow"
\bind "8 S-L" "math-insert \Longrightarrow"
\bind "8 c" "math-insert \wedge"
\bind "8 v" "math-insert \vee"
\bind "8 S-C" "math-insert \bigwedge"
\bind "8 S-V" "math-insert \bigvee"
\bind "8 r" "math-insert \rightharpoonup"
\bind "8 t" "math-insert \mapsto"
\bind "8 b" "math-insert \hookrightarrow"
\bind "8 i" "math-insert \cdots"
\bind "8 equal" "math-insert \Longleftrightarrow"
\bind "8 p" "math-insert \Leftrightarrow"
\bind "8 comma" "math-insert \prec"
\bind "8 period" "math-insert \succ"
# 主键盘 8 9 引导区
\bind "8 9 s" "math-insert \nsupseteq"
\bind "8 9 g" "math-insert \nsubseteq"
# 主键盘 9 引导区
\bind "9 s" "math-insert \supset"
\bind "9 d" "math-insert \cup"
\bind "9 f" "math-insert \cap"
\bind "9 g" "math-insert \subset"
\bind "9 S-D" "math-insert \bigcup"
\bind "9 S-F" "math-insert \bigcap"
\bind "9 e" "math-insert \sum"
\bind "9 w" "math-insert \int"
\bind "9 r" "math-insert \prod"
\bind "9 x" "math-insert \otimes"
\bind "9 c" "math-insert \oplus"
\bind "9 S-X" "math-insert \bigotimes"
\bind "9 S-C" "math-insert \bigoplus"
\bind "9 i" "math-insert \in"
\bind "9 o" "math-insert \notin"
\bind "9 u" "math-insert \ni"
\bind "9 l" "math-insert \neq"
\bind "9 j" "math-insert \forall"
\bind "9 k" "math-insert \exists"
\bind "9 h" "math-insert \vartriangleleft"
\bind "9 equal" "math-insert \cong"
\bind "9 p" "math-insert \cong"
\bind "9 comma" "math-insert \ltimes"
\bind "9 period" "math-insert \rtimes"
# These do pairs of: () {} [] <> ||
\bind "9 S-parenleft" "math-delim ( )"
\bind "9 S-asterisk" "math-delim [ ]"
\bind "9 S-ampersand" "math-delim | ."
\bind "9 S-percent" "math-delim { }"
\bind "9 S-dollar" "math-delim langle rangle" # produces < >
\bind "9 S-numbersign" "math-delim Vert Vert"
\bind "9 S-at" "math-delim | |"
\bind "9 9" "command-sequence math-insert (); char-left"
\bind "9 8" "command-sequence math-insert []; char-left"
\bind "9 7" "math-delim . |"
\bind "9 5" "command-sequence math-insert \{\}; char-left"
\bind "9 4" "command-sequence math-insert \langle\rangle; char-left"
\bind "9 3" "command-sequence math-insert \Vert\Vert; char-left"
\bind "9 2" "command-sequence math-insert ||; char-left"
\bind "9 1" "command-sequence math-insert \lfloor\rfloor; char-left"