1 # This file is part of LyX
3 # This is the Aqua bind file, which replaces key bindings that
4 # are grabbed by the Qt/MacOSX library.
5 # NB. These bindings use Option-Shift
7 # An attempt to imitate Linux's ability to access the menus from
8 # the keyboard (albeit without the menus dropping down).
10 # DO NOT CHANGE THIS DEFAULT BINDING FILE! It will be replaced
11 # with every new install of LyX and your changes will be lost.
12 # Instead, customize a copy of this file placed in
13 # ~/.lyx/bind/aqua.bind
18 \bind "M-~S-i c" "citation-insert"
19 \bind "M-~S-i f" "footnote-insert"
20 \bind "M-~S-i u" "url-insert"
21 \bind "M-~S-i m" "marginalnote-insert"
22 \bind "M-~S-i x" "external-insert"
23 \bind "M-~S-i r" "reference-insert"
24 \bind "M-~S-i n" "note-insert"
25 \bind "M-~S-i l" "label-insert"
26 \bind "M-~S-i i" "index-insert"
28 \bind "M-~S-i s s" "command-sequence math-mode ; math-superscript ; font-free; "
29 \bind "M-~S-i s u" "command-sequence math-mode ; math-subscript ; font-free; "
30 \bind "M-~S-i s h" "space-insert hfill"
31 \bind "M-~S-i s p" "specialchar-insert hyphenation"
32 \bind "C-M-minus" "specialchar-insert nobreakdash"
33 \bind "M-~S-i s k" "specialchar-insert ligature-break"
34 \bind "M-~S-i s b" "space-insert protected"
35 \bind "nobreakspace" "space-insert protected"
36 \bind "C-~S-slash" "specialchar-insert slash"
37 \bind "M-~S-i s l" "newline-insert newline"
38 \bind "M-~S-i s r" "newline-insert linebreak"
39 \bind "M-~S-i s i" "specialchar-insert dots"
40 \bind "M-~S-i s e" "specialchar-insert end-of-sentence"
41 \bind "M-~S-i s q" "self-insert \""
42 # FIXME: find a binding for single quotes
43 # \bind "M-~S-i s q" "quote-insert inner"
44 \bind "M-~S-i s m" "specialchar-insert menu-separator"
46 \bind "M-~S-i h i" "math-mode"
47 \bind "M-~S-i h d" "math-display"
48 \bind "M-~S-i h e" "command-sequence math-mode; math-mutate eqnarray;"
49 \bind "M-~S-i h a" "command-sequence math-mode; math-mutate align;"
50 \bind "M-~S-i h t" "command-sequence math-mode; math-mutate alignat;"
51 \bind "M-~S-i h f" "command-sequence math-mode; math-mutate flalign;"
52 \bind "M-~S-i h y" "math-matrix 2 2"
53 \bind "M-~S-i h c" "math-insert \cases"
55 \bind "M-~S-i o c" "inset-insert toc"
56 \bind "M-~S-i o i" "index-print"
57 \bind "M-~S-i o b" "bibtex-insert"
59 \bind "M-~S-i e x" "file-insert"
60 \bind "M-~S-i e l" "file-insert-plaintext"
61 \bind "M-~S-i e p" "file-insert-plaintext-para"
63 \bind "M-~S-f n" "buffer-new"
64 \bind "M-~S-f t" "dialog-show lyxfiles templates"
65 \bind "M-~S-f o" "file-open"
66 \bind "M-~S-f c" "buffer-close"
67 \bind "M-~S-f s" "buffer-write"
68 \bind "M-~S-f a" "buffer-write-as"
69 \bind "M-~S-f r" "buffer-reload"
70 \bind "M-~S-f x" "lyx-quit"
72 \bind "M-~S-l c" "layout-character"
73 \bind "M-~S-l p" "layout-paragraph"
74 \bind "M-~S-l d" "layout-document"
75 \bind "M-~S-l e" "font-emph"
76 \bind "M-~S-l n" "font-noun"
77 \bind "M-~S-l b" "font-bold"
79 \bind "M-~S-e u" "undo"
80 \bind "M-~S-e d" "redo"
81 \bind "M-~S-e c" "cut"
82 \bind "M-~S-e a" "paste"
83 \bind "M-~S-e f" "find-replace"
84 \bind "M-~S-e s" "spellchecker"
85 \bind "M-~S-e h" "buffer-chktex"
86 \bind "M-~S-e e" "error-remove-all"
87 \bind "M-~S-e l" "inset-toggle"
88 \bind "M-~S-e p" "dialog-preferences"
89 \bind "M-~S-e r" "reconfigure"
91 \bind "M-~S-e x l" "primary-selection-paste"
92 \bind "M-~S-e x p" "primary-selection-paste paragraph"
94 \bind "M-~S-e t m" "tabular-feature multicolumn"
95 \bind "M-~S-e t t" "tabular-feature toggle-line-top"
96 \bind "M-~S-e t b" "tabular-feature toggle-line-bottom"
97 \bind "M-~S-e t l" "tabular-feature toggle-line-left"
98 \bind "M-~S-e t r" "tabular-feature toggle-line-right"
99 \bind "M-~S-e t e" "tabular-feature align-left"
100 \bind "M-~S-e t c" "tabular-feature align-center"
101 \bind "M-~S-e t i" "tabular-feature align-right"
102 \bind "M-~S-e t o" "tabular-feature valign-top"
103 \bind "M-~S-e t n" "tabular-feature valign-center"
104 \bind "M-~S-e t v" "tabular-feature valign-bottom"
105 \bind "M-~S-e t a" "tabular-feature append-row"
106 \bind "M-~S-e t w" "tabular-feature delete-row"
107 \bind "M-~S-e t u" "tabular-feature append-column"
108 \bind "M-~S-e t d" "tabular-feature delete-column"
110 \bind "M-~S-e m n" "math-number-toggle"
111 \bind "M-~S-e m u" "math-number-line-toggle"
112 \bind "M-~S-e m r" "tabular-feature append-row"
113 \bind "M-~S-e m d" "tabular-feature delete-row"
114 \bind "M-~S-e m c" "tabular-feature append-column"
115 \bind "M-~S-e m e" "tabular-feature delete-column"
117 \bind "M-~S-e m l t" "math-limits empty"
118 \bind "M-~S-e m l d" "math-limits limits"
119 \bind "M-~S-e m l i" "math-limits nolimits"
121 \bind "M-~S-e m f i" "math-mutate simple"
122 \bind "M-~S-e m f d" "math-mutate equation"
123 \bind "M-~S-e m f q" "math-mutate eqnarray"
124 \bind "M-~S-e m f a" "math-mutate align"
125 \bind "M-~S-e m f f" "math-mutate flalign"
127 \bind "M-~S-e m a l" "tabular-feature align-left"
128 \bind "M-~S-e m a c" "tabular-feature align-center"
129 \bind "M-~S-e m a r" "tabular-feature align-right"
130 \bind "M-~S-e m a t" "tabular-feature valign-top"
131 \bind "M-~S-e m a e" "tabular-feature valign-center"
132 \bind "M-~S-e m a b" "tabular-feature valign-bottom"
134 \bind "M-~S-v l" "latex-view-log"
135 \bind "M-~S-v t" "toc-view"
136 \bind "M-~S-v x" "help-Texinfo"
138 \bind "M-~S-n n" "note-next"
139 \bind "M-~S-n r" "label-goto"
140 \bind "M-~S-n S-B 1" "bookmark-save 1"
141 \bind "M-~S-n S-B 2" "bookmark-save 2"
142 \bind "M-~S-n S-B 3" "bookmark-save 3"
143 \bind "M-~S-n S-B 4" "bookmark-save 4"
144 \bind "M-~S-n S-B 5" "bookmark-save 5"
145 \bind "M-~S-n S-B 6" "bookmark-save 6"
146 \bind "M-~S-n S-B 7" "bookmark-save 7"
147 \bind "M-~S-n S-B 8" "bookmark-save 8"
148 \bind "M-~S-n S-B 9" "bookmark-save 9"
149 \bind "M-~S-n b 1" "bookmark-goto 1"
150 \bind "M-~S-n b 2" "bookmark-goto 2"
151 \bind "M-~S-n b 3" "bookmark-goto 3"
152 \bind "M-~S-n b 4" "bookmark-goto 4"
153 \bind "M-~S-n b 5" "bookmark-goto 5"
154 \bind "M-~S-n b 6" "bookmark-goto 6"
155 \bind "M-~S-n b 7" "bookmark-goto 7"
156 \bind "M-~S-n b 8" "bookmark-goto 8"
157 \bind "M-~S-n b 9" "bookmark-goto 9"
159 \bind "M-~S-h i" "help-open Intro"
160 \bind "M-~S-h t" "help-open Tutorial"
161 \bind "M-~S-h u" "help-open UserGuide"
162 \bind "M-~S-h e" "help-open Additional"
163 \bind "M-~S-h c" "help-open Customization"
164 \bind "M-~S-h f" "help-open FAQ"
165 \bind "M-~S-h a" "help-open TOC"
166 \bind "M-~S-h l" "help-open LaTeXConfig"
167 \bind "M-~S-h x" "help-aboutlyx"