2 # ==================================================================
4 # LyX, the High Level Word Processor
6 # Copyright (C) 1995-1997 The LyX Team
8 # ==================================================================
10 # Key bindings for menus, both invisible and visible.
13 # Visible Menu access menu
16 \bind "F10 f" "menu-open File"
17 \bind "F10 e" "menu-open Edit"
18 \bind "F10 l" "menu-open Layout"
19 \bind "F10 i" "menu-open Insert"
20 \bind "F10 m" "menu-open Math"
21 \bind "F10 o" "menu-open Options"
22 \bind "F10 d" "menu-open Documents"
23 \bind "F10 h" "menu-open Help"
30 \bind "M-f n" "buffer-new"
31 \bind "M-f t" "buffer-new-template"
32 \bind "M-f o" "buffer-open"
33 \bind "M-f c" "buffer-close"
34 \bind "M-f s" "buffer-write"
35 \bind "M-f a" "buffer-write-as"
36 \bind "M-f r" "buffer-reload"
37 \bind "M-f d" "buffer-view"
38 \bind "M-f w" "buffer-view-ps"
39 \bind "M-f v" "buffer-typeset"
40 \bind "M-f u" "buffer-typeset-ps"
41 \bind "M-f p" "buffer-print"
42 \bind "M-f f" "buffer-fax"
43 \bind "M-f i l" "buffer-import latex"
44 \bind "M-f i a" "buffer-import ascii"
45 \bind "M-f i p" "buffer-import asciiparagraph"
46 \bind "M-f i n" "buffer-import noweb"
47 \bind "M-f e l" "buffer-export latex"
48 \bind "M-f e p" "buffer-export postscript"
49 \bind "M-f e d" "buffer-export linuxdoc"
50 \bind "M-f e t" "buffer-export ascii"
51 \bind "M-f e h" "buffer-export html"
52 \bind "M-f e m" "buffer-export custom"
53 \bind "M-f x" "lyx-quit"
54 \bind "M-f space" "menu-open File"
55 #bind "M-f l" "file-last" # Not yet implemented.
61 #bind "M-e b" "table" # Not yet implemented!
63 \bind "M-e e" "error-next"
64 \bind "M-e f" "find-replace"
65 \bind "M-e k" "line-delete-forward"
66 \bind "M-e m" "mark-on"
67 \bind "M-e S-M" "mark-off"
68 \bind "M-e n" "note-next"
72 \bind "M-e s" "spellchecker"
73 \bind "M-e h" "buffer-chktex"
74 \bind "M-e t" "toc-view"
76 \bind "M-e w" "latex-view-log"
77 \bind "M-e space" "menu-open Edit"
83 \bind "M-l c" "layout-character"
84 \bind "M-l p" "layout-paragraph"
85 \bind "M-l d" "layout-document"
86 \bind "M-l a" "layout-paper"
87 \bind "M-l e" "layout-table"
88 \bind "M-l q" "layout-quotes"
89 \bind "M-l m" "font-emph"
90 \bind "M-l n" "font-noun"
91 \bind "M-l b" "font-bold"
92 \bind "M-l t" "tex-mode"
93 \bind "M-l v" "depth-next"
94 \bind "M-l l" "layout-preamble"
95 \bind "M-l s" "layout-save-default"
96 \bind "M-l space" "menu-open Layout"
97 \bind "M-l i" "buffer-itemize-bullets-select"
104 \bind "M-i g" "figure-insert"
105 \bind "M-i b" "table-insert"
106 \bind "M-i c" "buffer-child-insert"
107 \bind "M-i a l" "file-insert-ascii line"
108 \bind "M-i a p" "file-insert-ascii paragraph"
109 \bind "M-i x" "file-insert"
110 \bind "M-i f" "footnote-insert"
111 \bind "M-i m" "marginpar-insert"
114 \bind "M-i o g" "buffer-float-insert figure"
115 \bind "M-i o t" "buffer-float-insert table"
116 \bind "M-i o w" "buffer-float-insert wide-fig"
117 \bind "M-i o d" "buffer-float-insert wide-tab"
118 \bind "M-i o a" "buffer-float-insert algorithm"
120 \bind "M-i t c" "toc-insert"
121 \bind "M-i t f" "lof-insert"
122 \bind "M-i t t" "lot-insert"
123 \bind "M-i t i" "index-print"
124 \bind "M-i t b" "bibtex-insert"
125 \bind "M-i t a" "loa-insert"
127 \bind "M-i minus" "hyphenation-point-insert"
128 \bind "M-i p" "dots-insert"
129 \bind "M-i e" "end-of-sentence-period-insert"
130 \bind "M-i q" "quote-insert"
131 \bind "M-i apostrophe" "quote-insert"
132 \bind "M-i S-quotedbl" "quote-insert"
133 \bind "M-i s h" "hfill-insert"
134 # NOT IN MENU. (HIDDEN TO LEARNER)
135 \bind "M-i s minus" "hyphenation-point-insert"
136 \bind "M-i s b" "protected-space-insert"
137 \bind "M-i s l" "break-line"
138 \bind "M-i s i" "dots-insert"
139 \bind "M-i s e" "end-of-sentence-period-insert"
140 \bind "M-i s q" "quote-insert"
141 \bind "M-i s m" "menu-separator-insert"
142 \bind "M-i n" "note-insert"
143 \bind "M-i l" "label-insert"
144 \bind "M-i r" "reference-insert"
145 \bind "M-i i" "citation-insert"
146 \bind "M-i d" "index-insert"
147 \bind "M-i w" "index-insert-last"
148 \bind "M-i u" "url-insert"
149 \bind "M-i space" "menu-open Insert"
157 \bind "M-m space" "menu-open Math"
163 #bind "M-o f" "screen-font-options" # Not yet implemented!
164 #bind "M-o s" "spellcheck-options" # Not yet implemented!
165 #bind "M-o k" "keyboard-options" # Not yet implemented!
166 #bind "M-o l" "latex-options" # Not yet implemented!
167 \bind "M-o space" "menu-open Options"
173 # These are now defined in cua or emacs bind files so their "standard"
174 # bindings are available. (eg M-d "word-delete-forward" in emacs) ARRae
175 #\bind "M-d p" "buffer-previous"
176 #\bind "M-d space" "menu-open Documents"
183 #bind "M-h i" "help-introduction" # Not yet implemented!
184 #bind "M-h t" "help-tutorial" # Not yet implemented!
185 #bind "M-h u" "help-user-guide" # Not yet implemented!
186 #bind "M-h r" "help-reference-guide" # Not yet implemented!
187 #bind "M-h h" "help-how-do-i-" # Not yet implemented!
188 #bind "M-h c" "help-customization" # Not yet implemented!
189 #bind "M-h s" "help-special-tools" # Not yet implemented!
190 #bind "M-h k" "help-known-bugs" # Not yet implemented!
191 #bind "M-h a" "help-latex-config" # Not yet implemented!
192 #bind "M-h o" "help-copyright" # Not yet implemented!
193 #bind "M-h e" "help-credits" # Not yet implemented!
194 #bind "M-h v" "help-version" # Not yet implemented!
195 \bind "M-h space" "menu-open Help"
202 \bind "M-s t" "font-size tiny"
203 \bind "M-s S-S" "font-size smaller"
204 \bind "M-s s" "font-size small"
205 \bind "M-s n" "font-size normal"
206 \bind "M-s l" "font-size large"
207 \bind "M-s S-L" "font-size larger"
208 \bind "M-s h" "font-size huge"
209 \bind "M-s S-H" "font-size huger"
211 \bind "M-s 1" "font-size tiny"
212 \bind "M-s 2" "font-size smallest"
213 \bind "M-s 3" "font-size smaller"
214 \bind "M-s 4" "font-size small"
215 \bind "M-s 5" "font-size normal"
216 \bind "M-s 6" "font-size large"
217 \bind "M-s 7" "font-size larger"
218 \bind "M-s 8" "font-size largest"
219 \bind "M-s 9" "font-size huge"
220 \bind "M-s 0" "font-size huger"
222 \bind "M-s plus" "font-size increase"
223 \bind "M-s minus" "font-size decrease"
230 #bind "M-a l" "para-align left" # Not yet implemented!
231 #bind "M-a r" "para-align right" # Not yet implemented!
232 #bind "M-a c" "para-align center" # Not yet implemented!
233 #bind "M-a b" "para-align block" # Not yet implemented!
234 #bind "M-a f" "para-align block" # Not yet implemented!
235 #bind "M-a d" "para-align default" # Not yet implemented!
239 # Paragraph style menu
242 \bind "M-p 1" "layout Chapter"
243 \bind "M-p 2" "layout Section"
244 \bind "M-p 3" "layout Subsection"
245 \bind "M-p 4" "layout Subsubsection"
246 \bind "M-p 5" "layout Paragraph"
247 \bind "M-p 6" "layout Subparagraph"
248 \bind "M-p a" "layout Abstract"
249 \bind "M-p S-A" "layout Author"
250 \bind "M-p M-a" "layout Address"
251 \bind "M-p C-a" "layout RightAddress"
252 \bind "M-p b" "layout Itemize" # bulleted list
253 \bind "M-p S-B" "layout Bibliography"
254 \bind "M-p c" "layout LyX-Code"
255 \bind "M-p S-C" "layout Comment"
256 \bind "M-p M-c" "layout Caption"
257 \bind "M-p d" "layout Description"
258 \bind "M-p S-D" "layout Date"
259 \bind "M-p e" "layout Enumerate" # numbered list
260 \bind "M-p f" "layout ShortFoilhead" # Foils!!
261 \bind "M-p S-F" "layout Foilhead" # Foils!!
262 \bind "M-p i" "layout Itemize" # bulleted list
263 \bind "M-p l" "layout List"
264 \bind "M-p S-L" "layout LaTeX"
265 \bind "M-p n" "layout Enumerate" # numbered list
266 \bind "M-p q" "layout Quote"
267 \bind "M-p S-Q" "layout Quotation"
268 \bind "M-p r" "layout ShortRotatefoilhead" # Foils!!
269 \bind "M-p S-R" "layout Rotatefoilhead" # Foils!!
270 \bind "M-p s" "layout Standard"
271 \bind "M-p t" "layout Title"
272 \bind "M-p x" "layout LaTeX"
273 \bind "M-p space" "drop-layouts-choice"
274 \bind "M-p S-at" "layout Section*" # M-p S-2
275 \bind "M-p S-dollar" "layout Subsubsection*" # M-p S-4
276 \bind "M-p S-numbersign" "layout Subsection*" # M-p S-3
277 \bind "M-p v" "layout Verse"
279 \bind "M-p Left" "depth-decrement"
280 \bind "M-p Right" "depth-increment"
284 # Character style menu
287 \bind "M-c b" "font-bold"
288 \bind "M-c c" "font-noun"
289 \bind "M-c e" "font-emph"
290 \bind "M-c m" "math-mode"
291 \bind "M-c p" "font-code"
292 \bind "M-c r" "font-roman"
293 \bind "M-c s" "font-sans"
294 \bind "M-c t" "tex-mode"
295 \bind "M-c u" "font-underline"
297 \bind "M-c Down" "word-lowcase"
298 \bind "M-c Up" "word-upcase"
299 \bind "M-c Right" "word-capitalize"
301 \bind "M-c space" "font-default"
308 \bind "M-k 1" "keymap-primary"
309 \bind "M-k 2" "keymap-secondary"
310 \bind "M-k o" "keymap-off"
311 \bind "M-k t" "keymap-toggle"
312 \bind "M-k x" "keymap-off"