]> git.lyx.org Git - lyx.git/blob - lib/bind/menus.bind
Fixed disabled Table-Menu entries, renamed table-insert to dialog-tabular-insert
[lyx.git] / lib / bind / menus.bind
1 # This file is part of
2 # ==================================================================
3 #
4 #                  LyX, the High Level Word Processor
5
6 #                 Copyright (C) 1995-1997 The LyX Team
7 #
8 # ==================================================================
9
10 # Key bindings for menus, both invisible and visible.
11
12 #
13 # Visible Menu access menu
14 #
15
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"
24
25
26 #
27 # File menu
28 #
29
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.
56
57 #
58 # Edit menu
59 #
60
61 #bind "M-e b"                   "table"                 # Not yet implemented!
62 \bind "M-e c"                   "cut"
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"
69 \bind "M-e o"                   "copy"
70 \bind "M-e p"                   "paste"
71 \bind "M-e r"                   "redo"
72 \bind "M-e s"                   "spellchecker"
73 \bind "M-e h"                   "buffer-chktex"
74 \bind "M-e t"                   "toc-view"
75 \bind "M-e u"                   "undo"
76 \bind "M-e w"                   "latex-view-log"
77 \bind "M-e space"               "menu-open Edit" 
78
79 #
80 # TOC menu
81 #
82
83 \bind "M-t"                     "menu-open TOC" 
84
85 #
86 # Refs menu
87 #
88
89 \bind "M-r"                     "menu-open Refs" 
90
91
92 #
93 # Layout menu
94 #
95
96 \bind "M-l c"                   "layout-character"
97 \bind "M-l p"                   "layout-paragraph"
98 \bind "M-l d"                   "layout-document"
99 \bind "M-l a"                   "layout-paper"
100 \bind "M-l e"                   "layout-table"
101 \bind "M-l q"                   "layout-quotes" 
102 \bind "M-l m"                   "font-emph" 
103 \bind "M-l n"                   "font-noun" 
104 \bind "M-l b"                   "font-bold" 
105 \bind "M-l t"                   "tex-mode" 
106 \bind "M-l v"                   "depth-next"
107 \bind "M-l l"                   "layout-preamble"
108 \bind "M-l s"                   "layout-save-default"
109 \bind "M-l space"               "menu-open Layout"  
110 \bind "M-l i"                   "buffer-itemize-bullets-select"
111 \bind "M-l x"                   "appendix"
112
113 #
114 # Insert menu
115 #
116
117 \bind "M-i g"                   "figure-insert"
118 \bind "M-i b"                   "dialog-tabular-insert"
119 \bind "M-i c"                   "buffer-child-insert"
120 \bind "M-i a l"                 "file-insert-ascii line"         
121 \bind "M-i a p"                 "file-insert-ascii paragraph"
122 \bind "M-i x"                   "file-insert"
123 \bind "M-i f"                   "footnote-insert"
124 \bind "M-i m"                   "marginpar-insert"
125
126 # PREVIOUS PATCH
127 \bind "M-i o g"                 "buffer-float-insert figure" 
128 \bind "M-i o t"                 "buffer-float-insert table"
129 \bind "M-i o w"                 "buffer-float-insert wide-fig"
130 \bind "M-i o d"                 "buffer-float-insert wide-tab"
131 \bind "M-i o a"                 "buffer-float-insert algorithm"
132
133 \bind "M-i t c"                 "toc-insert"
134 \bind "M-i t f"                 "lof-insert"
135 \bind "M-i t t"                 "lot-insert"
136 \bind "M-i t i"                 "index-print"
137 \bind "M-i t b"                 "bibtex-insert"
138 \bind "M-i t a"                 "loa-insert"
139
140 \bind "M-i minus"               "hyphenation-point-insert"
141 \bind "M-i p"                   "dots-insert"
142 \bind "M-i e"                   "end-of-sentence-period-insert"
143 \bind "M-i q"                   "quote-insert"
144 \bind "M-i apostrophe"          "quote-insert"
145 \bind "M-i S-quotedbl"          "quote-insert"
146 \bind "M-i s h"                 "hfill-insert"
147 # NOT IN MENU. (HIDDEN TO LEARNER)
148 \bind "M-i s minus"             "hyphenation-point-insert"
149 \bind "M-i s b"                 "protected-space-insert"
150 \bind "M-i s l"                 "break-line"
151 \bind "M-i s i"                 "dots-insert"
152 \bind "M-i s e"                 "end-of-sentence-period-insert"
153 \bind "M-i s q"                 "quote-insert"
154 \bind "M-i s m"                 "menu-separator-insert"
155 \bind "M-i n"                   "note-insert"
156 \bind "M-i l"                   "label-insert"
157 \bind "M-i r"                   "reference-insert"
158 \bind "M-i i"                   "citation-insert"
159 \bind "M-i d"                   "index-insert"
160 \bind "M-i w"                   "index-insert-last"
161 \bind "M-i u"                   "url-insert"
162 \bind "M-i space"               "menu-open Insert"  
163
164
165
166 #
167 # Math menu
168 #
169
170 \bind "M-m space"               "menu-open Math" 
171
172 #
173 # Options menu
174 #
175
176 #bind "M-o f"                   "screen-font-options"   # Not yet implemented!
177 #bind "M-o s"                   "spellcheck-options"    # Not yet implemented!
178 #bind "M-o k"                   "keyboard-options"      # Not yet implemented!
179 #bind "M-o l"                   "latex-options"         # Not yet implemented!
180 \bind "M-o space"               "menu-open Options"  
181
182
183 #
184 # Documents menu
185 #
186 # These are now defined in cua or emacs bind files so their "standard"
187 # bindings are available. (eg M-d "word-delete-forward" in emacs) ARRae
188 #\bind "M-d p"                  "buffer-previous"
189 #\bind "M-d space"              "menu-open Documents"
190
191
192 #
193 # Help menu
194 #
195
196 #bind "M-h i"                   "help-introduction"     # Not yet implemented!
197 #bind "M-h t"                   "help-tutorial"         # Not yet implemented!
198 #bind "M-h u"                   "help-user-guide"       # Not yet implemented!
199 #bind "M-h r"                   "help-reference-guide"  # Not yet implemented!
200 #bind "M-h h"                   "help-how-do-i-"        # Not yet implemented!
201 #bind "M-h c"                   "help-customization"    # Not yet implemented!
202 #bind "M-h s"                   "help-special-tools"    # Not yet implemented!
203 #bind "M-h k"                   "help-known-bugs"       # Not yet implemented!
204 #bind "M-h a"                   "help-latex-config"     # Not yet implemented!
205 #bind "M-h o"                   "help-copyright"        # Not yet implemented!
206 #bind "M-h e"                   "help-credits"          # Not yet implemented!
207 #bind "M-h v"                   "help-version"          # Not yet implemented!
208 \bind "M-h space"               "menu-open Help" 
209
210
211 #
212 # Font size menu
213 #
214
215 \bind "M-s t"                   "font-size tiny"
216 \bind "M-s S-S"                 "font-size smaller"
217 \bind "M-s s"                   "font-size small"
218 \bind "M-s n"                   "font-size normal"
219 \bind "M-s l"                   "font-size large"
220 \bind "M-s S-L"                 "font-size larger"
221 \bind "M-s h"                   "font-size huge"
222 \bind "M-s S-H"                 "font-size huger"
223
224 \bind "M-s 1"                   "font-size tiny"
225 \bind "M-s 2"                   "font-size smallest"
226 \bind "M-s 3"                   "font-size smaller"
227 \bind "M-s 4"                   "font-size small"
228 \bind "M-s 5"                   "font-size normal"
229 \bind "M-s 6"                   "font-size large"
230 \bind "M-s 7"                   "font-size larger"
231 \bind "M-s 8"                   "font-size largest"
232 \bind "M-s 9"                   "font-size huge"
233 \bind "M-s 0"                   "font-size huger"
234
235 \bind "M-s plus"                "font-size increase"
236 \bind "M-s minus"               "font-size decrease"
237
238
239 #
240 # Alignment menu
241 #
242
243 #bind "M-a l"                   "para-align left"       # Not yet implemented!
244 #bind "M-a r"                   "para-align right"      # Not yet implemented!
245 #bind "M-a c"                   "para-align center"     # Not yet implemented!
246 #bind "M-a b"                   "para-align block"      # Not yet implemented!
247 #bind "M-a f"                   "para-align block"      # Not yet implemented!
248 #bind "M-a d"                   "para-align default"    # Not yet implemented!
249
250
251 #
252 # Paragraph style menu
253 #
254
255 \bind "M-p 1"                   "layout Chapter" 
256 \bind "M-p 2"                   "layout Section" 
257 \bind "M-p 3"                   "layout Subsection"  
258 \bind "M-p 4"                   "layout Subsubsection"    
259 \bind "M-p 5"                   "layout Paragraph"        
260 \bind "M-p 6"                   "layout Subparagraph"
261 \bind "M-p a"                   "layout Abstract"
262 \bind "M-p S-A"                 "layout Author"
263 \bind "M-p M-a"                 "layout Address"
264 \bind "M-p C-a"                 "layout RightAddress"
265 \bind "M-p b"                   "layout Itemize"        # bulleted list
266 \bind "M-p S-B"                 "layout Bibliography"
267 \bind "M-p c"                   "layout LyX-Code"
268 \bind "M-p S-C"                 "layout Comment"
269 \bind "M-p M-c"                 "layout Caption"
270 \bind "M-p d"                   "layout Description"
271 \bind "M-p S-D"                 "layout Date"
272 \bind "M-p e"                   "layout Enumerate"      # numbered list
273 \bind "M-p f"                   "layout ShortFoilhead"  # Foils!!
274 \bind "M-p S-F"                 "layout Foilhead"       # Foils!!
275 \bind "M-p i"                   "layout Itemize"        # bulleted list
276 \bind "M-p l"                   "layout List"
277 \bind "M-p S-L"                 "layout LaTeX"
278 \bind "M-p n"                   "layout Enumerate"      # numbered list
279 \bind "M-p q"                   "layout Quote"
280 \bind "M-p S-Q"                 "layout Quotation"
281 \bind "M-p r"                   "layout ShortRotatefoilhead"    # Foils!!
282 \bind "M-p S-R"                 "layout Rotatefoilhead" # Foils!!
283 \bind "M-p s"                   "layout Standard"
284 \bind "M-p t"                   "layout Title"
285 \bind "M-p x"                   "layout LaTeX"
286 \bind "M-p space"               "drop-layouts-choice"
287 \bind "M-p S-at"                "layout Section*"       # M-p S-2
288 \bind "M-p S-dollar"            "layout Subsubsection*" # M-p S-4
289 \bind "M-p S-numbersign"        "layout Subsection*"    # M-p S-3
290 \bind "M-p v"                   "layout Verse"
291
292 \bind "M-p Left"                "depth-decrement"
293 \bind "M-p Right"               "depth-increment"
294
295
296 #
297 # Character style menu
298
299
300 \bind "M-c b"                   "font-bold"
301 \bind "M-c c"                   "font-noun"
302 \bind "M-c e"                   "font-emph"
303 \bind "M-c m"                   "math-mode"
304 \bind "M-c p"                   "font-code"
305 \bind "M-c r"                   "font-roman"
306 \bind "M-c s"                   "font-sans"
307 \bind "M-c t"                   "tex-mode"
308 \bind "M-c u"                   "font-underline"
309
310 \bind "M-c Down"                "word-lowcase"
311 \bind "M-c Up"                  "word-upcase"
312 \bind "M-c Right"               "word-capitalize"
313
314 \bind "M-c space"               "font-default"                  
315
316
317 #
318 # Keyboard menu
319 #
320
321 \bind "M-k 1"                   "keymap-primary"
322 \bind "M-k 2"                   "keymap-secondary"
323 \bind "M-k o"                   "keymap-off"
324 \bind "M-k t"                   "keymap-toggle"
325 \bind "M-k x"                   "keymap-off"